dotnet / dotnet/wcf

Could not copy Microsoft.Common.CurrentVersion.targets

Open
#5,723 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.8k
Forks
576
Avg merge
6d 9h
Merged PRs (30d)
2

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.