зеркало из https://github.com/microsoft/cppwinrt.git
use app manifest (#882)
This commit is contained in:
Родитель
2baf519ac4
Коммит
0cd75f40d3
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
|
||||
<ws2:longPathAware>true</ws2:longPathAware>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
</assembly>
|
|
@ -111,6 +111,9 @@
|
|||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Manifest Include="app.manifest" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{D613FB39-5035-4043-91E2-BAB323908AF4}</ProjectGuid>
|
||||
|
@ -265,6 +268,9 @@
|
|||
<Command>
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
<Manifest>
|
||||
<AdditionalManifestFiles>app.manifest;%(AdditionalManifestFiles)</AdditionalManifestFiles>
|
||||
</Manifest>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
|
|
|
@ -175,4 +175,7 @@
|
|||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Manifest Include="app.manifest" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -8,7 +8,6 @@
|
|||
#include "component_writers.h"
|
||||
#include "file_writers.h"
|
||||
#include "type_writers.h"
|
||||
#include <winternl.h>
|
||||
|
||||
namespace cppwinrt
|
||||
{
|
||||
|
@ -375,7 +374,5 @@ Where <spec> is one or more of:
|
|||
|
||||
int main(int const argc, char** argv)
|
||||
{
|
||||
// Dynamically enable long path support
|
||||
((unsigned char*)(NtCurrentTeb()->ProcessEnvironmentBlock))[3] |= 0x80;
|
||||
return cppwinrt::run(argc, argv);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче