-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package validation not working when PackageId is used #23393
Comments
Thanks, @hudecekd, I'll see what's going on. |
As per the discussion offline, we should ensure that this works for cases where:
|
Assembly names between package version is a binary breaking change, and if fact we would warn if that happens. The best scenario going forward is to support: #17364 Then if an assembly name changed we will detect it and emit warnings for the assembly name rule. Adding: #18165 as a somewhat related issue to this one (this is what is causing this current scenario to not work). |
Description
When I use
PackageId
in csproj to use different package name then package validation is not working but form build output diagnostics it seem it was executed without any problem.Steps to reproduce
dotnet pack
dotnet pack
Now do same steps but use
PackageId
to rename package from beginning. Then step 6 will not fail.Example project is available at PakcageValidationTestClassLibrary.zip.
Requires change in nuget.config to use local path of developer
The text was updated successfully, but these errors were encountered: