-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-Infrastructure-librariestracking-external-issueThe issue is caused by external problem (e.g. OS) - nothing we can do to fix it directlyThe issue is caused by external problem (e.g. OS) - nothing we can do to fix it directly
Milestone
Description
When we build a libraries project in VS, it tries to due a restore. In our new config system, we remove the oSGroup from tfms just before restore. So for projects with <TargetFrameworks>netcoreapp5.0-Windows_NT;netcoreapp5.0-Unix<TargetFrameworks>
ends with just
<TargetFrameworks>netcoreapp5.0;netcoreapp5.0</TargetFrameworks>
which is not a valid input for restore task. It wont effect the build in VS, but we should fix it becuase it would show as an error on the output pane in the vs and it would be required for enabling the restore on ref and srcs
The error looks like this
Error occurred while restoring NuGet packages: Invalid restore input. Duplicate frameworks found: 'netcoreapp5.0, netcoreapp5.0'. Input files: C:\git\runtime\src\libraries\System.IO.FileSystem\tests\System.IO.FileSystem.Tests.csproj.
cc @ViktorHofer @ericstj @safern @danmosemsft
shoter
Metadata
Metadata
Assignees
Labels
area-Infrastructure-librariestracking-external-issueThe issue is caused by external problem (e.g. OS) - nothing we can do to fix it directlyThe issue is caused by external problem (e.g. OS) - nothing we can do to fix it directly