-
Notifications
You must be signed in to change notification settings - Fork 1.1k
ResolvePackageAssets fails when targeting Core 3.0 #3004
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
@dsplaisted can you take a look? |
The issue is related to the fact that The solution is probably that we shouldn't set |
I looked at the places where
|
… and higher, which uses runtime and targeting packs instead Fixes dotnet#3004
This issue still occurs if I add package reference to https://www.nuget.org/packages/System.Diagnostics.PerformanceCounter/ from a .net standard 2.0 project which is used in a .net core 2.1 project. |
Please, file a separate issue for this with repro steps and preferably, a repro repo that we can clone and run to reproduce the problem. |
* Update dependencies from https://github.com/dotnet/cli build 20190930.5 - Microsoft.DotNet.Cli.Runtime - 3.1.100-preview1.19480.5 * Update dependencies from https://github.com/dotnet/cli build 20191001.2 - Microsoft.DotNet.Cli.Runtime - 3.1.100-preview1.19501.2 * Update dependencies from https://github.com/dotnet/cli build 20191001.4 - Microsoft.DotNet.Cli.Runtime - 3.1.100-preview1.19501.4 * Update dependencies from https://github.com/dotnet/cli build 20191001.5 - Microsoft.DotNet.Cli.Runtime - 3.1.100-preview1.19501.5 * Retarget to netcoreapp3.1 * Update to 3.1 SDK
Steps to reproduce:
The build should fail. However, there's no issues when targeting netcoreapp2.2 or when using the NuGet package instead of referencing the project.
dotnet --info
output:The text was updated successfully, but these errors were encountered: