summaryrefslogtreecommitdiff
path: root/src/Directory.Build.props
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2022-09-30 23:48:33 -0700
committerRob Mensching <rob@firegiant.com>2022-10-03 12:29:27 -0700
commited6593322d34ff0e655be9347f340d0cc96c0784 (patch)
treef74f8dfb4ca4212d160cffba64d46fc3c4cc3e76 /src/Directory.Build.props
parentbd05b603142673135ac66cdbc81a2ae3028cb37f (diff)
downloadwix-ed6593322d34ff0e655be9347f340d0cc96c0784.tar.gz
wix-ed6593322d34ff0e655be9347f340d0cc96c0784.tar.bz2
wix-ed6593322d34ff0e655be9347f340d0cc96c0784.zip
Use packageSourceMapping to control source of NuGet packages
Contrary to common-sense, NuGet package sources are not ordered. Thus, the existence of nuget_official.config is pointless as it was an attempt to prefer already published .nupkgs over newly built .nupkgs in post-GA builds. Instead, NuGet introduced packageSourceMapping which is a more powerful solution to address post-GA package resolution.
Diffstat (limited to 'src/Directory.Build.props')
-rw-r--r--src/Directory.Build.props2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index 8e013300..90de177c 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -6,7 +6,7 @@
6 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 6 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
7 <EnableSourceLink Condition=" '$(NCrunch)' == '1' ">false</EnableSourceLink> 7 <EnableSourceLink Condition=" '$(NCrunch)' == '1' ">false</EnableSourceLink>
8 <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> 8 <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
9 <NoWarn>$(NoWarn);NU1507;MSB3026</NoWarn> 9 <NoWarn>$(NoWarn);MSB3026</NoWarn>
10 10
11 <ProjectName Condition=" '$(ProjectName)' == '' ">$(MSBuildProjectName)</ProjectName> 11 <ProjectName Condition=" '$(ProjectName)' == '' ">$(MSBuildProjectName)</ProjectName>
12 <RootBuildFolder>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\build\))</RootBuildFolder> 12 <RootBuildFolder>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\build\))</RootBuildFolder>