Skip to content
This repository was archived by the owner on Dec 12, 2020. It is now read-only.

Commit cb7f136

Browse files
committed
build: NoWarn NU5104 in samples
1 parent ee01a10 commit cb7f136

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

samples/Directory.Build.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<PackageOutputPath>$(MSBuildThisFileDirectory)bin/Packages/$(Configuration)/</PackageOutputPath>
88

99
<LocalNuGetVersion Condition=" '$(LocalNuGetVersion)' == '' ">*</LocalNuGetVersion>
10+
<!-- Since we're using local nugets with prerelease versions, but samples build as 1.0.0 (default), ignore
11+
NU5104 "A stable release of a package should not have a prerelease dependency." -->
12+
<NoWarn>$(NoWarn);NU5104</NoWarn>
1013
<!-- Setting this is needed because we're not using actual Sdk package which defines it. -->
1114
<CodeGenerationRoslynPluginSdkVersion>$(LocalNuGetVersion)</CodeGenerationRoslynPluginSdkVersion>
1215
<CodeGenerationRoslynPluginMetapackageSdkVersion>$(LocalNuGetVersion)</CodeGenerationRoslynPluginMetapackageSdkVersion>

0 commit comments

Comments
 (0)