aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2018-12-22 10:44:17 -0800
committerRob Mensching <rob@firegiant.com>2018-12-22 10:44:17 -0800
commit6135ca6f532668ae953a738a3925f4da32b3ae25 (patch)
tree1ad1f24462b31ecc9d870b41101d5ce98400fb88
parentdb8641b5ab125679b028848d1747d7a4cef6fc37 (diff)
downloadwix-6135ca6f532668ae953a738a3925f4da32b3ae25.tar.gz
wix-6135ca6f532668ae953a738a3925f4da32b3ae25.tar.bz2
wix-6135ca6f532668ae953a738a3925f4da32b3ae25.zip
Update to latest Home\repo-template
-rw-r--r--.editorconfig3
-rw-r--r--.gitignore68
-rw-r--r--Tools.v3.ncrunchsolution6
-rw-r--r--appveyor.yml12
-rw-r--r--src/Directory.Build.props9
-rw-r--r--src/Directory.Build.targets48
-rw-r--r--src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj11
-rw-r--r--src/WixToolset.Tools.Core/WixToolset.Tools.Core.csproj11
-rw-r--r--src/test/WixToolsetTest.WixCop/WixToolsetTest.WixCop.csproj3
-rw-r--r--src/wix/wix.csproj11
-rw-r--r--src/wixcop/WixCop.csproj3
11 files changed, 130 insertions, 55 deletions
diff --git a/.editorconfig b/.editorconfig
index 2ebba4b3..1d72e683 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,4 +1,7 @@
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#
3# Do NOT modify this file. Update the canonical version in Home\repo-template\src\.editorconfig
4# then update all of the repos.
2 5
3root = true 6root = true
4 7
diff --git a/.gitignore b/.gitignore
index 77c2dccf..3e8a1553 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@
4## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 4## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 5
6# User-specific files 6# User-specific files
7*.rsuser
7*.suo 8*.suo
8*.user 9*.user
9*.userosscache 10*.userosscache
@@ -19,19 +20,21 @@
19[Rr]eleases/ 20[Rr]eleases/
20x64/ 21x64/
21x86/ 22x86/
23[Aa][Rr][Mm]/
24[Aa][Rr][Mm]64/
22bld/ 25bld/
23[Bb]in/ 26[Bb]in/
24[Oo]bj/ 27[Oo]bj/
25[Ll]og/ 28[Ll]og/
26 29
27# VSCode 30# Visual Studio 2015/2017 cache/options directory
28.vscode/
29
30# Visual Studio 2015 cache/options directory
31.vs/ 31.vs/
32# Uncomment if you have tasks that create the project's static files in wwwroot 32# Uncomment if you have tasks that create the project's static files in wwwroot
33#wwwroot/ 33#wwwroot/
34 34
35# Visual Studio 2017 auto generated files
36Generated\ Files/
37
35# MSTest test Results 38# MSTest test Results
36[Tt]est[Rr]esult*/ 39[Tt]est[Rr]esult*/
37[Bb]uild[Ll]og.* 40[Bb]uild[Ll]og.*
@@ -52,16 +55,21 @@ BenchmarkDotNet.Artifacts/
52project.lock.json 55project.lock.json
53project.fragment.lock.json 56project.fragment.lock.json
54artifacts/ 57artifacts/
55**/Properties/launchSettings.json
56 58
59# StyleCop
60StyleCopReport.xml
61
62# Files built by Visual Studio
57*_i.c 63*_i.c
58*_p.c 64*_p.c
59*_i.h 65*_h.h
60*.ilk 66*.ilk
61*.meta 67*.meta
62*.obj 68*.obj
69*.iobj
63*.pch 70*.pch
64*.pdb 71*.pdb
72*.ipdb
65*.pgc 73*.pgc
66*.pgd 74*.pgd
67*.rsp 75*.rsp
@@ -71,6 +79,7 @@ artifacts/
71*.tlh 79*.tlh
72*.tmp 80*.tmp
73*.tmp_proj 81*.tmp_proj
82*_wpftmp.csproj
74*.log 83*.log
75*.vspscc 84*.vspscc
76*.vssscc 85*.vssscc
@@ -99,6 +108,9 @@ ipch/
99*.vspx 108*.vspx
100*.sap 109*.sap
101 110
111# Visual Studio Trace Files
112*.e2e
113
102# TFS 2012 Local Workspace 114# TFS 2012 Local Workspace
103$tf/ 115$tf/
104 116
@@ -171,11 +183,11 @@ PublishScripts/
171# NuGet Packages 183# NuGet Packages
172*.nupkg 184*.nupkg
173# The packages folder can be ignored because of Package Restore 185# The packages folder can be ignored because of Package Restore
174**/packages/* 186**/[Pp]ackages/*
175# except build/, which is used as an MSBuild target. 187# except build/, which is used as an MSBuild target.
176!**/packages/build/ 188!**/[Pp]ackages/build/
177# Uncomment if necessary however generally it will be regenerated when needed 189# Uncomment if necessary however generally it will be regenerated when needed
178#!**/packages/repositories.config 190#!**/[Pp]ackages/repositories.config
179# NuGet v3's project.json files produces more ignorable files 191# NuGet v3's project.json files produces more ignorable files
180*.nuget.props 192*.nuget.props
181*.nuget.targets 193*.nuget.targets
@@ -199,7 +211,7 @@ _pkginfo.txt
199# files ending in .cache can be ignored 211# files ending in .cache can be ignored
200*.[Cc]ache 212*.[Cc]ache
201# but keep track of directories ending in .cache 213# but keep track of directories ending in .cache
202!*.[Cc]ache/ 214!?*.[Cc]ache/
203 215
204# Others 216# Others
205ClientBin/ 217ClientBin/
@@ -212,9 +224,15 @@ ClientBin/
212*.publishsettings 224*.publishsettings
213orleans.codegen.cs 225orleans.codegen.cs
214 226
227# Including strong name files can present a security risk
228# (https://github.com/github/gitignore/pull/2483#issue-259490424)
229#*.snk
230
215# Since there are multiple workflows, uncomment next line to ignore bower_components 231# Since there are multiple workflows, uncomment next line to ignore bower_components
216# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 232# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
217#bower_components/ 233#bower_components/
234# ASP.NET Core default setup: bower directory is configured as wwwroot/lib/ and bower restore is true
235**/wwwroot/lib/
218 236
219# RIA/Silverlight projects 237# RIA/Silverlight projects
220Generated_Code/ 238Generated_Code/
@@ -226,6 +244,8 @@ _UpgradeReport_Files/
226Backup*/ 244Backup*/
227UpgradeLog*.XML 245UpgradeLog*.XML
228UpgradeLog*.htm 246UpgradeLog*.htm
247ServiceFabricBackup/
248*.rptproj.bak
229 249
230# SQL Server files 250# SQL Server files
231*.mdf 251*.mdf
@@ -236,6 +256,7 @@ UpgradeLog*.htm
236*.rdl.data 256*.rdl.data
237*.bim.layout 257*.bim.layout
238*.bim_*.settings 258*.bim_*.settings
259*.rptproj.rsuser
239 260
240# Microsoft Fakes 261# Microsoft Fakes
241FakesAssemblies/ 262FakesAssemblies/
@@ -247,9 +268,6 @@ FakesAssemblies/
247.ntvs_analysis.dat 268.ntvs_analysis.dat
248node_modules/ 269node_modules/
249 270
250# Typescript v1 declaration files
251typings/
252
253# Visual Studio 6 build log 271# Visual Studio 6 build log
254*.plg 272*.plg
255 273
@@ -278,8 +296,8 @@ paket-files/
278.idea/ 296.idea/
279*.sln.iml 297*.sln.iml
280 298
281# CodeRush 299# CodeRush personal settings
282.cr/ 300.cr/personal
283 301
284# Python Tools for Visual Studio (PTVS) 302# Python Tools for Visual Studio (PTVS)
285__pycache__/ 303__pycache__/
@@ -302,4 +320,22 @@ __pycache__/
302*.xsd.cs 320*.xsd.cs
303 321
304# OpenCover UI analysis results 322# OpenCover UI analysis results
305OpenCover/ \ No newline at end of file 323OpenCover/
324
325# Azure Stream Analytics local run output
326ASALocalRun/
327
328# MSBuild Binary and Structured Log
329*.binlog
330
331# NVidia Nsight GPU debugger configuration file
332*.nvuser
333
334# MFractors (Xamarin productivity tool) working folder
335.mfractor/
336
337# Local History for Visual Studio
338.localhistory/
339
340# BeatPulse healthcheck temp database
341healthchecksdb
diff --git a/Tools.v3.ncrunchsolution b/Tools.v3.ncrunchsolution
new file mode 100644
index 00000000..10420ac9
--- /dev/null
+++ b/Tools.v3.ncrunchsolution
@@ -0,0 +1,6 @@
1<SolutionConfiguration>
2 <Settings>
3 <AllowParallelTestExecution>True</AllowParallelTestExecution>
4 <SolutionConfigured>True</SolutionConfigured>
5 </Settings>
6</SolutionConfiguration> \ No newline at end of file
diff --git a/appveyor.yml b/appveyor.yml
index 6df37135..d55322da 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,3 +1,8 @@
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#
3# Do NOT modify this file. Update the canonical version in Home\repo-template\src\appveyor.yml
4# then update all of the repos.
5
1image: Visual Studio 2017 6image: Visual Studio 2017
2 7
3version: 0.0.0.{build} 8version: 0.0.0.{build}
@@ -8,12 +13,8 @@ environment:
8 DOTNET_CLI_TELEMETRY_OPTOUT: 1 13 DOTNET_CLI_TELEMETRY_OPTOUT: 1
9 NUGET_XMLDOC_MODE: skip 14 NUGET_XMLDOC_MODE: skip
10 15
11branches:
12 only:
13 - master
14
15build_script: 16build_script:
16- appveyor.cmd 17 - appveyor.cmd
17 18
18pull_requests: 19pull_requests:
19 do_not_increment_build_number: true 20 do_not_increment_build_number: true
@@ -21,6 +22,7 @@ pull_requests:
21nuget: 22nuget:
22 disable_publish_on_pr: true 23 disable_publish_on_pr: true
23 24
25skip_branch_with_pr: true
24skip_tags: true 26skip_tags: true
25 27
26artifacts: 28artifacts:
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index 9eacf3f5..e853e22d 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -1,7 +1,7 @@
1<?xml version="1.0" encoding="utf-8"?> 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. --> 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<!-- 3<!--
4 Do NOT modify this file. Update the canonical version in Home\src\Directory.Build.props 4 Do NOT modify this file. Update the canonical version in Home\repo-template\src\Directory.Build.props
5 then update all of the repos. 5 then update all of the repos.
6--> 6-->
7<Project> 7<Project>
@@ -10,20 +10,17 @@
10 <EnableSourceLink Condition=" '$(NCrunch)' == '1' ">false</EnableSourceLink> 10 <EnableSourceLink Condition=" '$(NCrunch)' == '1' ">false</EnableSourceLink>
11 11
12 <ProjectName Condition=" '$(ProjectName)' == '' ">$(MSBuildProjectName)</ProjectName> 12 <ProjectName Condition=" '$(ProjectName)' == '' ">$(MSBuildProjectName)</ProjectName>
13 <BaseOutputPath>$(MSBuildThisFileDirectory)..\build\</BaseOutputPath> 13 <BaseOutputPath>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\build\))</BaseOutputPath>
14 <BaseIntermediateOutputPath>$(BaseOutputPath)obj\$(ProjectName)\</BaseIntermediateOutputPath> 14 <BaseIntermediateOutputPath>$(BaseOutputPath)obj\$(ProjectName)\</BaseIntermediateOutputPath>
15 <OutputPath>$(BaseOutputPath)$(Configuration)\</OutputPath> 15 <OutputPath>$(BaseOutputPath)$(Configuration)\</OutputPath>
16 16
17 <Authors>WiX Toolset Team</Authors> 17 <Authors>WiX Toolset Team</Authors>
18 <Company>WiX Toolset</Company> 18 <Company>WiX Toolset</Company>
19 <Copyright>Copyright (c) .NET Foundation and contributors. All rights reserved.</Copyright> 19 <Copyright>Copyright (c) .NET Foundation and contributors. All rights reserved.</Copyright>
20 <PackageLicenseExpression>MS-RL</PackageLicenseExpression>
20 <Product>WiX Toolset</Product> 21 <Product>WiX Toolset</Product>
21 </PropertyGroup> 22 </PropertyGroup>
22 23
23 <PropertyGroup>
24 <WixToolsetRootFolder>$(MSBuildThisFileDirectory)..\..\</WixToolsetRootFolder>
25 </PropertyGroup>
26
27 <Import Project="Cpp.Build.props" Condition=" '$(MSBuildProjectExtension)'=='.vcxproj' " /> 24 <Import Project="Cpp.Build.props" Condition=" '$(MSBuildProjectExtension)'=='.vcxproj' " />
28 <Import Project="Custom.Build.props" Condition=" Exists('Custom.Build.props') " /> 25 <Import Project="Custom.Build.props" Condition=" Exists('Custom.Build.props') " />
29</Project> 26</Project>
diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets
new file mode 100644
index 00000000..dac7452a
--- /dev/null
+++ b/src/Directory.Build.targets
@@ -0,0 +1,48 @@
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 Do NOT modify this file. Update the canonical version in Home\repo-template\src\Directory.Build.targets
5 then update all of the repos.
6-->
7<!--
8 Replace PackageReferences with ProjectReferences when the projects can be found in .sln.
9 See the original here: https://github.com/dotnet/sdk/issues/1151#issuecomment-385133284
10-->
11<Project>
12 <PropertyGroup>
13 <ReplacePackageReferences>true</ReplacePackageReferences>
14 <TheSolutionPath Condition=" '$(NCrunch)'=='' ">$(SolutionPath)</TheSolutionPath>
15 <TheSolutionPath Condition=" '$(NCrunch)'=='1' ">$(NCrunchOriginalSolutionPath)</TheSolutionPath>
16 </PropertyGroup>
17
18 <Choose>
19 <When Condition="$(ReplacePackageReferences) AND '$(TheSolutionPath)' != '' AND '$(TheSolutionPath)' != '*undefined*' AND Exists('$(TheSolutionPath)')">
20
21 <PropertyGroup>
22 <SolutionFileContent>$([System.IO.File]::ReadAllText($(TheSolutionPath)))</SolutionFileContent>
23 <SmartSolutionDir>$([System.IO.Path]::GetDirectoryName( $(TheSolutionPath) ))</SmartSolutionDir>
24 <RegexPattern>(?&lt;="[PackageName]", ")(.*)(?=", ")</RegexPattern>
25 </PropertyGroup>
26
27 <ItemGroup>
28 <!-- Keep the identity of the PackageReference -->
29 <SmartPackageReference Include="@(PackageReference)">
30 <PackageName>%(Identity)</PackageName>
31 <InSolution>$(SolutionFileContent.Contains('\%(Identity).csproj'))</InSolution>
32 </SmartPackageReference>
33
34 <!-- Filter them by mapping them to another ItemGroup using the WithMetadataValue item function -->
35 <PackageInSolution Include="@(SmartPackageReference->WithMetadataValue('InSolution', True))">
36 <Pattern>$(RegexPattern.Replace('[PackageName]','%(PackageName)') )</Pattern>
37 <SmartPath>$([System.Text.RegularExpressions.Regex]::Match('$(SolutionFileContent)', '%(Pattern)'))</SmartPath>
38 </PackageInSolution>
39
40 <ProjectReference Include="@(PackageInSolution->'$(SmartSolutionDir)\%(SmartPath)' )"/>
41
42 <!-- Remove the package references that are now referenced as projects -->
43 <PackageReference Remove="@(PackageInSolution->'%(PackageName)' )"/>
44 </ItemGroup>
45
46 </When>
47 </Choose>
48</Project>
diff --git a/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj b/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj
index 39c8824c..10a3f057 100644
--- a/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj
+++ b/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj
@@ -32,14 +32,9 @@
32 </ItemGroup> 32 </ItemGroup>
33 33
34 <ItemGroup> 34 <ItemGroup>
35 <ProjectReference Include="$(WixToolsetRootFolder)\Core\src\WixToolset.Core\WixToolset.Core.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Core\README.md') " /> 35 <PackageReference Include="WixToolset.Core" Version="4.0.*" />
36 <PackageReference Include="WixToolset.Core" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Core\README.md') " /> 36 <PackageReference Include="WixToolset.Core.Burn" Version="4.0.*" />
37 37 <PackageReference Include="WixToolset.Core.WindowsInstaller" Version="4.0.*" />
38 <ProjectReference Include="$(WixToolsetRootFolder)\Core\src\WixToolset.Core.Burn\WixToolset.Core.Burn.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Core\README.md') " />
39 <PackageReference Include="WixToolset.Core.Burn" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Core\README.md') " />
40
41 <ProjectReference Include="$(WixToolsetRootFolder)\Core\src\WixToolset.Core.WindowsInstaller\WixToolset.Core.WindowsInstaller.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Core\README.md') " />
42 <PackageReference Include="WixToolset.Core.WindowsInstaller" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Core\README.md') " />
43 </ItemGroup> 38 </ItemGroup>
44 39
45 <ItemGroup> 40 <ItemGroup>
diff --git a/src/WixToolset.Tools.Core/WixToolset.Tools.Core.csproj b/src/WixToolset.Tools.Core/WixToolset.Tools.Core.csproj
index 8be70e6b..996258cc 100644
--- a/src/WixToolset.Tools.Core/WixToolset.Tools.Core.csproj
+++ b/src/WixToolset.Tools.Core/WixToolset.Tools.Core.csproj
@@ -11,14 +11,9 @@
11 </PropertyGroup> 11 </PropertyGroup>
12 12
13 <ItemGroup> 13 <ItemGroup>
14 <ProjectReference Include="$(WixToolsetRootFolder)\Data\src\WixToolset.Data\WixToolset.Data.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Data\README.md') " /> 14 <PackageReference Include="WixToolset.Data" Version="4.0.*" />
15 <PackageReference Include="WixToolset.Data" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Data\README.md') " /> 15 <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" />
16 16 <PackageReference Include="WixToolset.Core" Version="4.0.*" />
17 <ProjectReference Include="$(WixToolsetRootFolder)\Extensibility\src\WixToolset.Extensibility\WixToolset.Extensibility.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Extensibility\README.md') " />
18 <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Extensibility\README.md') " />
19
20 <ProjectReference Include="$(WixToolsetRootFolder)\Core\src\WixToolset.Core\WixToolset.Core.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Core\README.md') " />
21 <PackageReference Include="WixToolset.Core" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Core\README.md') " />
22 </ItemGroup> 17 </ItemGroup>
23 18
24 <ItemGroup> 19 <ItemGroup>
diff --git a/src/test/WixToolsetTest.WixCop/WixToolsetTest.WixCop.csproj b/src/test/WixToolsetTest.WixCop/WixToolsetTest.WixCop.csproj
index 57de5a74..f399760f 100644
--- a/src/test/WixToolsetTest.WixCop/WixToolsetTest.WixCop.csproj
+++ b/src/test/WixToolsetTest.WixCop/WixToolsetTest.WixCop.csproj
@@ -29,8 +29,7 @@
29 </ItemGroup> 29 </ItemGroup>
30 30
31 <ItemGroup> 31 <ItemGroup>
32 <ProjectReference Include="$(WixToolsetRootFolder)\Core\src\WixToolset.Core.TestPackage\WixToolset.Core.TestPackage.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Core\README.md') " /> 32 <PackageReference Include="WixToolset.Core.TestPackage" Version="4.0.*" />
33 <PackageReference Include="WixToolset.Core.TestPackage" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Core\README.md') " />
34 </ItemGroup> 33 </ItemGroup>
35 34
36 <ItemGroup> 35 <ItemGroup>
diff --git a/src/wix/wix.csproj b/src/wix/wix.csproj
index 2cbcdf3a..a923c66f 100644
--- a/src/wix/wix.csproj
+++ b/src/wix/wix.csproj
@@ -21,14 +21,9 @@
21 </ItemGroup> 21 </ItemGroup>
22 22
23 <ItemGroup> 23 <ItemGroup>
24 <ProjectReference Include="$(WixToolsetRootFolder)\Core\src\WixToolset.Core\WixToolset.Core.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Core\README.md') " /> 24 <PackageReference Include="WixToolset.Core" Version="4.0.*" />
25 <PackageReference Include="WixToolset.Core" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Core\README.md') " /> 25 <PackageReference Include="WixToolset.Core.Burn" Version="4.0.*" />
26 26 <PackageReference Include="WixToolset.Core.WindowsInstaller" Version="4.0.*" />
27 <ProjectReference Include="$(WixToolsetRootFolder)\Core\src\WixToolset.Core.Burn\WixToolset.Core.Burn.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Core\README.md') " />
28 <PackageReference Include="WixToolset.Core.Burn" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Core\README.md') " />
29
30 <ProjectReference Include="$(WixToolsetRootFolder)\Core\src\WixToolset.Core.WindowsInstaller\WixToolset.Core.WindowsInstaller.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Core\README.md') " />
31 <PackageReference Include="WixToolset.Core.WindowsInstaller" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Core\README.md') " />
32 </ItemGroup> 27 </ItemGroup>
33 28
34 <ItemGroup> 29 <ItemGroup>
diff --git a/src/wixcop/WixCop.csproj b/src/wixcop/WixCop.csproj
index 9bcae177..be10524d 100644
--- a/src/wixcop/WixCop.csproj
+++ b/src/wixcop/WixCop.csproj
@@ -21,8 +21,7 @@
21 </ItemGroup> 21 </ItemGroup>
22 22
23 <ItemGroup> 23 <ItemGroup>
24 <ProjectReference Include="$(WixToolsetRootFolder)\Core\src\WixToolset.Core\WixToolset.Core.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Core\README.md') " /> 24 <PackageReference Include="WixToolset.Core" Version="4.0.*" />
25 <PackageReference Include="WixToolset.Core" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Core\README.md') " />
26 </ItemGroup> 25 </ItemGroup>
27 26
28 <ItemGroup> 27 <ItemGroup>