aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore6
-rw-r--r--nuget.config (renamed from src/nuget.config)4
-rw-r--r--src/build_official.cmd2
-rw-r--r--src/clean.cmd3
-rw-r--r--src/internal/SetBuildNumber/SetBuildNumber.proj4
-rw-r--r--src/nuget_official.config4
-rw-r--r--src/test/wix/TestData/Directory.Packages.props9
-rw-r--r--src/test/wix/TestData/WixprojPackageVcxprojWindowsApp/WixprojPackageVcxprojWindowsApp.wixproj6
-rw-r--r--src/test/wix/WixE2E/WixE2E.csproj1
9 files changed, 18 insertions, 21 deletions
diff --git a/.gitignore b/.gitignore
index 2b62131b..85fdfe74 100644
--- a/.gitignore
+++ b/.gitignore
@@ -207,7 +207,7 @@ PublishScripts/
207*.nuget.targets 207*.nuget.targets
208 208
209# Nuget personal access tokens and Credentials 209# Nuget personal access tokens and Credentials
210nuget.config 210# nuget.config
211 211
212# Microsoft Azure Build Output 212# Microsoft Azure Build Output
213csx/ 213csx/
@@ -391,8 +391,8 @@ FodyWeavers.xsd
391# WiX Specific Ignores 391# WiX Specific Ignores
392 392
393# Ignore global.json and Directory.Package.props since they are generated 393# Ignore global.json and Directory.Package.props since they are generated
394src/global.json 394global.json
395src/Directory.Packages.props 395Directory.Packages.props
396 396
397# Ignore downloaded tools 397# Ignore downloaded tools
398build/.tools/ 398build/.tools/
diff --git a/src/nuget.config b/nuget.config
index c2f68b16..2151ef89 100644
--- a/src/nuget.config
+++ b/nuget.config
@@ -1,12 +1,12 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2<configuration> 2<configuration>
3 <config> 3 <config>
4 <add key="repositoryPath" value="..\packages" /> 4 <add key="repositoryPath" value="packages" />
5 </config> 5 </config>
6 <packageSources> 6 <packageSources>
7 <clear /> 7 <clear />
8 <add key="nuget" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> 8 <add key="nuget" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
9 <add key="build" value="..\build\artifacts" /> 9 <add key="build" value="build\artifacts" />
10 <!-- <add key="github" value="https://nuget.pkg.github.com/wixtoolset/UnifiedTest1/index.json" /> --> 10 <!-- <add key="github" value="https://nuget.pkg.github.com/wixtoolset/UnifiedTest1/index.json" /> -->
11 </packageSources> 11 </packageSources>
12</configuration> 12</configuration>
diff --git a/src/build_official.cmd b/src/build_official.cmd
index 55ac3550..63566260 100644
--- a/src/build_official.cmd
+++ b/src/build_official.cmd
@@ -1,7 +1,7 @@
1@setlocal 1@setlocal
2@pushd %~dp0 2@pushd %~dp0
3 3
4@copy nuget_official.config nuget.config 4@copy nuget_official.config ..\nuget.config
5 5
6build_all.cmd Release Official 6build_all.cmd Release Official
7 7
diff --git a/src/clean.cmd b/src/clean.cmd
index 97a7dd3d..94f9a618 100644
--- a/src/clean.cmd
+++ b/src/clean.cmd
@@ -11,6 +11,9 @@ if exist ..\packages rd /s/q ..\packages
11if exist Directory.Packages.props (del Directory.Packages.props) 11if exist Directory.Packages.props (del Directory.Packages.props)
12if exist global.json (del global.json) 12if exist global.json (del global.json)
13 13
14if exist ..\Directory.Packages.props (del ..\Directory.Packages.props)
15if exist ..\global.json (del ..\global.json)
16
14if exist "%_NUGET_CACHE%\wixbuildtools.testsupport" rd /s/q "%_NUGET_CACHE%\wixbuildtools.testsupport" 17if exist "%_NUGET_CACHE%\wixbuildtools.testsupport" rd /s/q "%_NUGET_CACHE%\wixbuildtools.testsupport"
15if exist "%_NUGET_CACHE%\wixtoolset.bal.wixext" rd /s/q "%_NUGET_CACHE%\wixtoolset.bal.wixext" 18if exist "%_NUGET_CACHE%\wixtoolset.bal.wixext" rd /s/q "%_NUGET_CACHE%\wixtoolset.bal.wixext"
16if exist "%_NUGET_CACHE%\wixtoolset.balutil" rd /s/q "%_NUGET_CACHE%\wixtoolset.balutil" 19if exist "%_NUGET_CACHE%\wixtoolset.balutil" rd /s/q "%_NUGET_CACHE%\wixtoolset.balutil"
diff --git a/src/internal/SetBuildNumber/SetBuildNumber.proj b/src/internal/SetBuildNumber/SetBuildNumber.proj
index 6eb7d741..72bb2a0c 100644
--- a/src/internal/SetBuildNumber/SetBuildNumber.proj
+++ b/src/internal/SetBuildNumber/SetBuildNumber.proj
@@ -20,8 +20,8 @@
20 SetDirectoryPackagesProps; 20 SetDirectoryPackagesProps;
21 </SetBuildNumbersDependsOn> 21 </SetBuildNumbersDependsOn>
22 22
23 <GlobalJsonPath>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\..\global.json))</GlobalJsonPath> 23 <GlobalJsonPath>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\..\..\global.json))</GlobalJsonPath>
24 <CentralPackageVersionsPath>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\..\Directory.Packages.props))</CentralPackageVersionsPath> 24 <CentralPackageVersionsPath>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\..\..\Directory.Packages.props))</CentralPackageVersionsPath>
25 </PropertyGroup> 25 </PropertyGroup>
26 26
27 <Target Name="SetAppVeyorBuildNumber" 27 <Target Name="SetAppVeyorBuildNumber"
diff --git a/src/nuget_official.config b/src/nuget_official.config
index 6d3c9a07..25adbeed 100644
--- a/src/nuget_official.config
+++ b/src/nuget_official.config
@@ -1,12 +1,12 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2<configuration> 2<configuration>
3 <config> 3 <config>
4 <add key="repositoryPath" value="..\packages" /> 4 <add key="repositoryPath" value="packages" />
5 </config> 5 </config>
6 <packageSources> 6 <packageSources>
7 <clear /> 7 <clear />
8 <add key="nuget" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> 8 <add key="nuget" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
9 <!-- <add key="github" value="https://nuget.pkg.github.com/wixtoolset/UnifiedTest1/index.json" /> --> 9 <!-- <add key="github" value="https://nuget.pkg.github.com/wixtoolset/UnifiedTest1/index.json" /> -->
10 <add key="build" value="..\build\artifacts" /> 10 <add key="build" value="build\artifacts" />
11 </packageSources> 11 </packageSources>
12</configuration> 12</configuration>
diff --git a/src/test/wix/TestData/Directory.Packages.props b/src/test/wix/TestData/Directory.Packages.props
deleted file mode 100644
index 5a625aca..00000000
--- a/src/test/wix/TestData/Directory.Packages.props
+++ /dev/null
@@ -1,9 +0,0 @@
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>
5 <!--
6 This file prevents the import of WiX standard Directory.Packages.props
7 from the root src directory
8 -->
9</Project>
diff --git a/src/test/wix/TestData/WixprojPackageVcxprojWindowsApp/WixprojPackageVcxprojWindowsApp.wixproj b/src/test/wix/TestData/WixprojPackageVcxprojWindowsApp/WixprojPackageVcxprojWindowsApp.wixproj
index bbd39870..63caf5c0 100644
--- a/src/test/wix/TestData/WixprojPackageVcxprojWindowsApp/WixprojPackageVcxprojWindowsApp.wixproj
+++ b/src/test/wix/TestData/WixprojPackageVcxprojWindowsApp/WixprojPackageVcxprojWindowsApp.wixproj
@@ -1,11 +1,15 @@
1<!-- 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. --> 1<!-- 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. -->
2 2
3<Project Sdk='WixToolset.Sdk'> 3<Project Sdk='WixToolset.Sdk'>
4 <PropertyGroup>
5 <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
6 </PropertyGroup>
7
4 <ItemGroup> 8 <ItemGroup>
5 <ProjectReference Include="..\VcxprojWindowsApp\VcxprojWindowsApp.vcxproj" /> 9 <ProjectReference Include="..\VcxprojWindowsApp\VcxprojWindowsApp.vcxproj" />
6 <ProjectReference Include="..\WixprojLibraryVcxprojDll\WixprojLibraryVcxprojDll.wixproj" /> 10 <ProjectReference Include="..\WixprojLibraryVcxprojDll\WixprojLibraryVcxprojDll.wixproj" />
7 <ProjectReference Include="..\WixprojModuleCsprojWinFormsNetFx\WixprojModuleCsprojWinFormsNetFx.wixproj" /> 11 <ProjectReference Include="..\WixprojModuleCsprojWinFormsNetFx\WixprojModuleCsprojWinFormsNetFx.wixproj" />
8 12
9 <PackageReference Include="Wixtoolset.UI.wixext" Version="4.0.0-preview.1-build.205" /> 13 <PackageReference Include="Wixtoolset.UI.wixext" />
10 </ItemGroup> 14 </ItemGroup>
11</Project> 15</Project>
diff --git a/src/test/wix/WixE2E/WixE2E.csproj b/src/test/wix/WixE2E/WixE2E.csproj
index 21e1f9f2..031979b6 100644
--- a/src/test/wix/WixE2E/WixE2E.csproj
+++ b/src/test/wix/WixE2E/WixE2E.csproj
@@ -10,7 +10,6 @@
10 </PropertyGroup> 10 </PropertyGroup>
11 11
12 <ItemGroup> 12 <ItemGroup>
13 <Content Include="..\..\..\global.json" CopyToOutputDirectory="PreserveNewest" />
14 <Content Include="..\TestData\**" CopyToOutputDirectory="PreserveNewest" Link="TestData\%(RecursiveDir)%(Filename)%(Extension)" /> 13 <Content Include="..\TestData\**" CopyToOutputDirectory="PreserveNewest" Link="TestData\%(RecursiveDir)%(Filename)%(Extension)" />
15 </ItemGroup> 14 </ItemGroup>
16 15