中の技術日誌ブログ

C#とC++/CLIと
VBと.NETとWindowsで戯れる
 

目次

Blog 利用状況

ニュース

自己紹介

東京でソフトウェアエンジニアをやっています。
お仕事大募集中です。
記事執筆や、講師依頼とかでも何でもどうぞ(*^_^*)
似顔絵 MSMVPロゴ
MSMVP Visual C# Since 2004/04-2013/03

記事カテゴリ

書庫

日記カテゴリ

00-整理

01-MSMVP

2009年10月12日 #

app.manifest

Windows7向けのコードも足したmanifestのベースファイル

<?xml version="1.0" encoding="utf-8"?>
<assembly
    xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd"
    manifestVersion="1.0"
    xmlns:asmv1="urn:schemas-microsoft-com:asm.v1"
    xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"
    xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"
    xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
    xmlns="urn:schemas-microsoft-com:asm.v1"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <asmv3:trustInfo>
    <asmv3:security>
      <requestedPrivileges>
        <requestedExecutionLevel level="asinvoker" uiAccess="false"/>

      </requestedPrivileges>
    </asmv3:security>
  </asmv3:trustInfo>

  <assemblyIdentity name="xxxx.exe" type="win32" version="1.0.0.0" processorArchitecture="x86"  />
  <file name="xxxx.dll">
    <typelib tlbid="{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}" version="1.0" helpdir="" resourceid="0" flags="HASDISKIMAGE" />
    <comClass clsid="{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}" threadingModel="Apartment" progid="DirLibNIF.DirCheckNIF" tlbid="{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}" />
  </file>

  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
    <application>
      <!--The ID below indicates application support for Windows Vista -->
      <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
      <!--The ID below indicates application support for Windows 7 -->
      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
    </application>
  </compatibility>

</assembly>

サポートOSについては

http://msdn.microsoft.com/en-us/library/dd371711(VS.85).aspx

ちゃんとWindows 7ターゲットできているかどうかはリソースモニターでチェックする。詳細はkkamegawaさんのページ

http://d.hatena.ne.jp/kkamegawa/20090705/p1

posted @ 0:40 | Feedback (873)