Skip to content

Instantly share code, notes, and snippets.

@punker76
Created February 25, 2019 09:21
Show Gist options
  • Save punker76/62f1f7da69022a82dd515120cd15d710 to your computer and use it in GitHub Desktop.
Save punker76/62f1f7da69022a82dd515120cd15d710 to your computer and use it in GitHub Desktop.
Can't restore with MSBuild.Sdk.Extras and VS 2019 and .NET Core 3.0 preview
https://dev.azure.com/mahapps/MahApps.Metro.IconPacks/_build/results?buildId=36
##[section]Starting: NuGet restore
==============================================================================
Task : NuGet
Description : Restore, pack, or push NuGet packages, or run a NuGet command. Supports NuGet.org and authenticated feeds like Package Management and MyGet. Uses NuGet.exe and works with .NET Framework apps. For .NET Core and .NET Standard apps, use the .NET Core task.
Version : 2.147.6
Author : Microsoft Corporation
Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=613747)
==============================================================================
SYSTEMVSSCONNECTION exists true
SYSTEMVSSCONNECTION exists true
[command]C:\windows\system32\chcp.com 65001
Active code page: 65001
Detected NuGet version 4.9.2.5706 / 4.9.2+428327cf66ee71cdb0e05a8aaa6cf6d043b9c932
SYSTEMVSSCONNECTION exists true
Saving NuGet.config to a temporary config file.
[command]C:\hostedtoolcache\windows\NuGet\4.9.2\x64\nuget.exe sources Add -NonInteractive -Name NuGetOrg -Source https://www.nuget.org/api/v2/ -ConfigFile d:\a\1\Nuget\tempNuGet_36.config
Package Source with Name: NuGetOrg added successfully.
[command]C:\hostedtoolcache\windows\NuGet\4.9.2\x64\nuget.exe restore d:\a\1\s\src\MahApps.Metro.IconPacks.sln -NoCache -Verbosity Detailed -NonInteractive -ConfigFile d:\a\1\Nuget\tempNuGet_36.config
d:\a\1\s\src\MahApps.Metro.IconPacks.Core\MahApps.Metro.IconPacks.Core.csproj : error : C:\hostedtoolcache\windows\dncs\3.0.100-preview4-010332\x64\sdk\3.0.100-preview4-010332\Sdks\MSBuild.Sdk.Extras\Sdk not found. Check that a recent enough .NET Core SDK is installed and/or increase the version specified in global.json.
NuGet Version: 4.9.2.5706
d:\a\1\s\src\MahApps.Metro.IconPacks.Core\MahApps.Metro.IconPacks.Core.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
MSBuild auto-detection: using msbuild version '16.0.360.33175' from 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\bin'. Use option -MSBuildVersion to force nuget to use a specific version of MSBuild.
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
MSBuild P2P timeout [ms]: 120000
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.Entypo.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\bin\msbuild.exe "C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\thze5z5l.ueh.nugetinputs.targets" /t:GenerateRestoreGraphFile /nologo /nr:false /v:q /p:NuGetRestoreTargets="C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\fpe0t3oe.pox.nugetrestore.targets" /p:RestoreUseCustomAfterTargets="True" /p:RestoreTaskAssemblyFile="C:\hostedtoolcache\windows\NuGet\4.9.2\x64\nuget.exe" /p:RestoreSolutionDirectory="d:\a\1\s\src\\" /p:RestoreConfigFile="d:\a\1\Nuget\tempNuGet_36.config" /p:SolutionDir="d:\a\1\s\src\\" /p:SolutionName="MahApps.Metro.IconPacks"
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.FontAwesome.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
NuGet.CommandLine.ExitCodeException: Exception of type 'NuGet.CommandLine.ExitCodeException' was thrown.
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.Material.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
at NuGet.CommandLine.MsBuildUtility.<GetProjectReferencesAsync>d__6.MoveNext()
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.MaterialDesign.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
--- End of stack trace from previous location where exception was thrown ---
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.MaterialLight.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.Modern.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.Octicons.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
at NuGet.CommandLine.RestoreCommand.<GetDependencyGraphSpecAsync>d__52.MoveNext()
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.SimpleIcons.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
--- End of stack trace from previous location where exception was thrown ---
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.Typicons.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.WeatherIcons.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.FeatherIcons.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
at NuGet.CommandLine.RestoreCommand.<DetermineInputsFromMSBuildAsync>d__47.MoveNext()
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.Ionicons.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
d:\a\1\s\src\MahApps.Metro.IconPacks.Browser\MahApps.Metro.IconPacks.Browser.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
##[error]The nuget command failed with exit code(1) and error(d:\a\1\s\src\MahApps.Metro.IconPacks.Core\MahApps.Metro.IconPacks.Core.csproj : error : C:\hostedtoolcache\windows\dncs\3.0.100-preview4-010332\x64\sdk\3.0.100-preview4-010332\Sdks\MSBuild.Sdk.Extras\Sdk not found. Check that a recent enough .NET Core SDK is installed and/or increase the version specified in global.json.
d:\a\1\s\src\MahApps.Metro.IconPacks.Core\MahApps.Metro.IconPacks.Core.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.Entypo.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.FontAwesome.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.Material.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.MaterialDesign.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.MaterialLight.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.Modern.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.Octicons.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.SimpleIcons.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.Typicons.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.WeatherIcons.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.FeatherIcons.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
d:\a\1\s\src\MahApps.Metro.IconPacks\MahApps.Metro.IconPacks.Ionicons.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.
d:\a\1\s\src\MahApps.Metro.IconPacks.Browser\MahApps.Metro.IconPacks.Browser.csproj : error MSB4236: The SDK 'MSBuild.Sdk.Extras' specified could not be found.)
##[error]Packages failed to restore
##[section]Finishing: NuGet restore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment