-
Notifications
You must be signed in to change notification settings - Fork 1.1k
dotnet msbuild /t:Pack puts the nupkg in a TFM-specific directory #318
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
Comments
@rohit21agrawal - I assume this is not expected? Can you take a look? |
This is because When the project is multi-targeted, the However, the project above is not multi-targeted. It only targets If we feel we need to fix this, we could make a new property for |
If we have a single TFM project, should we even append the TFM to outputpath? That's unnecessary directory depth isn't it? |
i like the idea of $(PackOutputPath) |
Not saying this makes it "right", but this is what the CLI did as well. Your output path was always consistent whether you targeted one or many TFMs. |
I'm not saying it's right either, but it certainly makes the code simpler. Given that this is how it has always worked, I'd say let's keep it that way. The nuget path does need to be consistent too, though. @eerhardt's approach of PackOutputPath defaulting to OutputPath before TFM change is elegant. +1 to that. |
Fix incorrect forcedPackageRank comparison in ConflictResolver
…otnet#318) * Add a property that indicates that the Web.Sdk is being referenced
Uh oh!
There was an error while loading. Please reload this page.
#316 Repro:
csproj
run
dotnet pack
ordotnet msbuild /t:Pack
Expected
nupkg is generated in
bin/Debug/projectName.nupkg
Actual
nupkg is generated in
bin/Debug/netstandard1.5/projectName.nupkg
The text was updated successfully, but these errors were encountered: