Merge pull request #87 from oddMLan/Manifest_generation_fix

Fix manifest file not being embedded into the Project64 executable
This commit is contained in:
zilmar 2015-02-16 17:24:09 +11:00
commit 849de141fb
3 changed files with 370 additions and 346 deletions

View File

@ -1,22 +1,28 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<assemblyIdentity <trustInfo xmlns='urn:schemas-microsoft-com:asm.v3'>
version="1.0.0.0" <security>
processorArchitecture="x86" <requestedPrivileges>
name="Project64.XP" <requestedExecutionLevel level='asInvoker' uiAccess='false' />
type="win32" </requestedPrivileges>
/> </security>
<description>Project64</description> </trustInfo>
<dependency> <assemblyIdentity
<dependentAssembly> version='2.1.0.1'
<assemblyIdentity processorArchitecture='x86'
type="win32" name='Project64'
name="Microsoft.Windows.Common-Controls" type='win32'
version="6.0.0.0" />
processorArchitecture="X86" <dependency>
publicKeyToken="6595b64144ccf1df" <dependentAssembly>
language="*" <assemblyIdentity
/> type='win32'
</dependentAssembly> name='Microsoft.Windows.Common-Controls'
</dependency> version='6.0.0.0'
processorArchitecture='X86'
publicKeyToken='6595b64144ccf1df'
language='*'
/>
</dependentAssembly>
</dependency>
</assembly> </assembly>

View File

@ -34,12 +34,28 @@
<PropertyGroup> <PropertyGroup>
<_ProjectFileVersion>12.0.21005.1</_ProjectFileVersion> <_ProjectFileVersion>12.0.21005.1</_ProjectFileVersion>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<GenerateManifest>false</GenerateManifest>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<GenerateManifest>false</GenerateManifest>
</PropertyGroup>
<ItemDefinitionGroup> <ItemDefinitionGroup>
<Link> <Link>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers> <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
<DataExecutionPrevention>false</DataExecutionPrevention> <DataExecutionPrevention>false</DataExecutionPrevention>
<MinimumRequiredVersion Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> <MinimumRequiredVersion Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<SubSystem Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Windows</SubSystem> <SubSystem Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Windows</SubSystem>
<ManifestFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<AllowIsolation Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<EnableUAC Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<UACExecutionLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<UACUIAccess Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<ManifestFile Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<AllowIsolation Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<EnableUAC Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<UACExecutionLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<UACUIAccess Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
</Link> </Link>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup> <ItemGroup>

View File

@ -17,6 +17,8 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources // English (U.S.) resources
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "..\Project64.exe.manifest"
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32 #ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US