Skip to content

Remove placeholder configs from restore #4989

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

Merged
merged 1 commit into from
Mar 5, 2020

Conversation

ViktorHofer
Copy link
Member

Fixes the restore of projects with placeholder configs in them:

C:\git\runtime4\src\libraries\System.ComponentModel.Composition\ref>dotnet restore /bl
C:\Program Files\dotnet\sdk\3.1.200-preview-014850\MSBuild.dll -nologo -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,C:\Program Files\dotnet\sdk\3.1.200-preview-014850\dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,C:\Program Files\dotnet\sdk\3.1.200-preview-014850\dotnet.dll -maxcpucount -target:Restore -verbosity:m /bl .\System.ComponentModel.Composition.csproj
C:\Program Files\dotnet\sdk\3.1.200-preview-014850\NuGet.targets(123,5): error : Invalid restore input. Invalid target framework 'unsupported'. Input files: C:\git\runtime4\src\libraries\System.ComponentModel.Composition\ref\System.ComponentModel.Composition.csproj. [C:\git\runtime4\src\libraries\System.ComponentModel.Composition\ref\System.ComponentModel.Composition.csproj]

@ViktorHofer ViktorHofer requested a review from Anipik March 5, 2020 13:06
@ViktorHofer ViktorHofer merged commit bc4fa8e into master Mar 5, 2020
@ViktorHofer ViktorHofer deleted the ViktorHofer-placeholder-restore branch March 5, 2020 15:52
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

Successfully merging this pull request may close these issues.

2 participants