Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Package Validation does not show any output on breaking changes

$
0
0

I have a .NET project that creates a nuget package and I wanted to add PackageValidation as described here:https://docs.microsoft.com/en-us/dotnet/fundamentals/package-validation/overview

I have these lines in my sdk-style project file:

<GeneratePackageOnBuild>true</GeneratePackageOnBuild><IncludeSymbols>true</IncludeSymbols><SymbolPackageFormat>symbols.nupkg</SymbolPackageFormat><EnablePackageValidation>true</EnablePackageValidation><PackageValidationBaselineVersion>8.0.1</PackageValidationBaselineVersion>

But I don't get any output, even if I add breaking changes to my assembly.

Only when I change the BaseLineVersion to a number that does not exist, I see some related output:

SsiProxyNuGet.csproj : error NU1102: Unable to find package SsiProxy with version (= 8.0.0)SsiProxyNuGet.csproj : error NU1102:   - Found 4 version(s) in ASM-NuGet [ Nearest version: 8.0.1 ]SsiProxyNuGet.csproj : error NU1102:   - Found 0 version(s) in Microsoft Visual Studio Offline PackagesSsiProxyNuGet.csproj : error NU1102:   - Found 0 version(s) in nuget.org

Does anybody have the .net package validation working?


Viewing all articles
Browse latest Browse all 3067

Trending Articles