diff options
Diffstat (limited to 'src/ext/NetFx/netfx_t.proj')
-rw-r--r-- | src/ext/NetFx/netfx_t.proj | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ext/NetFx/netfx_t.proj b/src/ext/NetFx/netfx_t.proj new file mode 100644 index 00000000..3301dc8a --- /dev/null +++ b/src/ext/NetFx/netfx_t.proj | |||
@@ -0,0 +1,26 @@ | |||
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 | <Project Sdk="Microsoft.Build.Traversal"> | ||
5 | <ItemGroup> | ||
6 | <ProjectReference Include="wixlib\netfx.wixproj" /> | ||
7 | <ProjectReference Include="test\WixToolsetTest.Netfx\WixToolsetTest.Netfx.csproj" /> | ||
8 | <ProjectReference Include="wixext\WixToolset.Netfx.wixext.csproj" Targets="Pack" Properties="NoBuild=true" /> | ||
9 | </ItemGroup> | ||
10 | |||
11 | <Target Name="WixClean" BeforeTargets="Restore" Condition="'$(SuppressWixClean)' != 'true'"> | ||
12 | <!-- | ||
13 | This should work but at first glance, the .vcxproj doesn't get detected as a "package.config-style project." | ||
14 | Worth finding out if we could trigger it artificially. It would let us stop needing nuget.exe. | ||
15 | |||
16 | <ProjectReference Include="netcoresearch\netcoresearch.vcxproj" Targets="Restore" Properties="RestorePackagesConfig=true" /> | ||
17 | --> | ||
18 | <Exec Command="nuget restore netcoresearch\packages.config" /> | ||
19 | |||
20 | <RemoveDir Directories="$(RootBuildFolder)NetFx.wixext" /> | ||
21 | <RemoveDir Directories="$(USERPROFILE)\.nuget\packages\wixtoolset.netfx.wixext" Condition="'$(NUGET_PACKAGES)' == ''" /> | ||
22 | <RemoveDir Directories="$(NUGET_PACKAGES)\wixtoolset.netfx.wixext" Condition="'$(NUGET_PACKAGES)' != ''" /> | ||
23 | |||
24 | <Delete Files="$(ArtifactsFolder)WixToolset.NetFx.wixext.*.nupkg" /> | ||
25 | </Target> | ||
26 | </Project> | ||