Skip to content
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

Could not copy Microsoft.Common.CurrentVersion.targets #5723

Open
LMolochniy-cs opened this issue Jan 4, 2025 · 0 comments
Open

Could not copy Microsoft.Common.CurrentVersion.targets #5723

LMolochniy-cs opened this issue Jan 4, 2025 · 0 comments

Comments

@LMolochniy-cs
Copy link

Everything compiles fine in VS with version 8.1.1 and .NET Core 8 locally. However, when I create a PR and it builds on a Linux machine in GitHub, I get the following error:
/usr/share/dotnet/sdk/8.0.404/Microsoft.Common.CurrentVersion.targets(5034,5): error MSB3027: Could not copy.
The project contains assemblies targeting .NET Standard 2.0 and 2.1.
These issues do not occur with version 4.8.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant