@joebigelow / wix-1 / commits / 049a5c80

Enable long path support for heat, wix, and wixcop.

Sean Hall committed May 22, 2020 at 20:10 UTC 049a5c80b1af9612c8484db177323be4444e7c8a
9 files changed +96
src/heat/app.config new
+10
@@ -0,0 +1,10 @@
1 +<?xml version="1.0" encoding="utf-8" ?>
2 +<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3 +
4 +
5 +<configuration>
6 + <runtime>
7 + <loadFromRemoteSources enabled="true"/>
8 + <AppContextSwitchOverrides value="Switch.System.IO.UseLegacyPathHandling=false;Switch.System.IO.BlockLongPaths=false" />
9 + </runtime>
10 +</configuration>
src/heat/heat.csproj
+2
@@ -12,6 +12,8 @@
12 <!-- <PackAsTool>true</PackAsTool> -->
13 <RuntimeIdentifier Condition=" '$(RuntimeIdentifier)'=='' and '$(TargetFramework)'!='netcoreapp2.1' ">win-x86</RuntimeIdentifier>
14 <PlatformTarget>AnyCPU</PlatformTarget>
15 + <AppConfig>app.config</AppConfig>
16 + <ApplicationManifest>heat.exe.manifest</ApplicationManifest>
17 </PropertyGroup>
18
19 <PropertyGroup>
src/heat/heat.exe.manifest new
+20
@@ -0,0 +1,20 @@
1 +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 +<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3 +
4 +
5 +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
6 + <assemblyIdentity name="WixToolset.Tools.Heat" version="4.0.0.0" processorArchitecture="x86" type="win32"/>
7 + <description>WiX Toolset Harvester</description>
8 + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
9 + <security>
10 + <requestedPrivileges>
11 + <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
12 + </requestedPrivileges>
13 + </security>
14 + </trustInfo>
15 + <application xmlns="urn:schemas-microsoft-com:asm.v3">
16 + <windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
17 + <ws2:longPathAware>true</ws2:longPathAware>
18 + </windowsSettings>
19 + </application>
20 +</assembly>
src/wix/app.config new
+10
@@ -0,0 +1,10 @@
1 +<?xml version="1.0" encoding="utf-8" ?>
2 +<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3 +
4 +
5 +<configuration>
6 + <runtime>
7 + <loadFromRemoteSources enabled="true"/>
8 + <AppContextSwitchOverrides value="Switch.System.IO.UseLegacyPathHandling=false;Switch.System.IO.BlockLongPaths=false" />
9 + </runtime>
10 +</configuration>
src/wix/wix.csproj
+2
@@ -12,6 +12,8 @@
12 <!-- <PackAsTool>true</PackAsTool> -->
13 <RuntimeIdentifier Condition=" '$(RuntimeIdentifier)'=='' and '$(TargetFramework)'!='netcoreapp2.1' ">win-x86</RuntimeIdentifier>
14 <PlatformTarget>AnyCPU</PlatformTarget>
15 + <AppConfig>app.config</AppConfig>
16 + <ApplicationManifest>wix.exe.manifest</ApplicationManifest>
17 </PropertyGroup>
18
19 <PropertyGroup>
src/wix/wix.exe.manifest new
+20
@@ -0,0 +1,20 @@
1 +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 +<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3 +
4 +
5 +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
6 + <assemblyIdentity name="WixToolset.Tools.Wix" version="4.0.0.0" processorArchitecture="x86" type="win32"/>
7 + <description>WiX Toolset Compiler</description>
8 + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
9 + <security>
10 + <requestedPrivileges>
11 + <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
12 + </requestedPrivileges>
13 + </security>
14 + </trustInfo>
15 + <application xmlns="urn:schemas-microsoft-com:asm.v3">
16 + <windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
17 + <ws2:longPathAware>true</ws2:longPathAware>
18 + </windowsSettings>
19 + </application>
20 +</assembly>
src/wixcop/WixCop.csproj
+2
@@ -12,6 +12,8 @@
12 <!-- <PackAsTool>true</PackAsTool> -->
13 <RuntimeIdentifier Condition=" '$(RuntimeIdentifier)'=='' and '$(TargetFramework)'!='netcoreapp2.1' ">win-x86</RuntimeIdentifier>
14 <PlatformTarget>AnyCPU</PlatformTarget>
15 + <AppConfig>app.config</AppConfig>
16 + <ApplicationManifest>wixcop.exe.manifest</ApplicationManifest>
17 </PropertyGroup>
18
19 <PropertyGroup>
src/wixcop/app.config new
+10
@@ -0,0 +1,10 @@
1 +<?xml version="1.0" encoding="utf-8" ?>
2 +<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3 +
4 +
5 +<configuration>
6 + <runtime>
7 + <loadFromRemoteSources enabled="true"/>
8 + <AppContextSwitchOverrides value="Switch.System.IO.UseLegacyPathHandling=false;Switch.System.IO.BlockLongPaths=false" />
9 + </runtime>
10 +</configuration>
src/wixcop/wixcop.exe.manifest new
+20
@@ -0,0 +1,20 @@
1 +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 +<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3 +
4 +
5 +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
6 + <assemblyIdentity name="WixToolset.Tools.WixCop" version="4.0.0.0" processorArchitecture="x86" type="win32"/>
7 + <description>WiX Toolset Correction Tool</description>
8 + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
9 + <security>
10 + <requestedPrivileges>
11 + <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
12 + </requestedPrivileges>
13 + </security>
14 + </trustInfo>
15 + <application xmlns="urn:schemas-microsoft-com:asm.v3">
16 + <windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
17 + <ws2:longPathAware>true</ws2:longPathAware>
18 + </windowsSettings>
19 + </application>
20 +</assembly>