We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
project.assets.json lists a multi-target project as targeting net461 even though netstandard2.0 is set in project reference
unzip the attachment ProjectAssetsJson.zip MSBUILD version - 16.2.37902.0
.paket\paket.exe install
msbuild /t:cleanobjbins
msbuild /t:restore
msbuild /t:build
TestingHost/obj/project.assets.json - Dependency-MultiTarget would have framework value as ".NETStandard,Version=v2.0"
TestngHost/bin - this folder should have
TestingHost/obj/project.assets.json - Dependency-MultiTarget framework is set to ".NETFramework,Version=v4.6.1"
TestngHost/bin - this folder has
None
The text was updated successfully, but these errors were encountered:
i was able to reproduce this without using paket. Using nuget restore has similar behavior. here is a open issue on nuget - dotnet/core#2571
closing this now.
Sorry, something went wrong.
No branches or pull requests
Description
project.assets.json lists a multi-target project as targeting net461 even though netstandard2.0 is set in project reference
Repro steps
unzip the attachment ProjectAssetsJson.zip
MSBUILD version - 16.2.37902.0
.paket\paket.exe install
msbuild /t:cleanobjbins
msbuild /t:restore
msbuild /t:build
Expected behavior
TestingHost/obj/project.assets.json - Dependency-MultiTarget would have framework value as ".NETStandard,Version=v2.0"
TestngHost/bin - this folder should have
Actual behavior
TestingHost/obj/project.assets.json - Dependency-MultiTarget framework is set to ".NETFramework,Version=v4.6.1"
TestngHost/bin - this folder has
Known workarounds
None
The text was updated successfully, but these errors were encountered: