Skip to content

Remove placeholder configs from restore#4989

Merged
ViktorHofer merged 1 commit intomasterfrom
ViktorHofer-placeholder-restore
Mar 5, 2020
Merged

Remove placeholder configs from restore#4989
ViktorHofer merged 1 commit intomasterfrom
ViktorHofer-placeholder-restore

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