Guest User

Untitled

a guest
Sep 6th, 2023
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. C:\Users\trevo\Desktop\test_proj>dotnet new console
  2. The template "Console App" was created successfully.
  3.  
  4. Processing post-creation actions...
  5. Restoring C:\Users\trevo\Desktop\test_proj\test_proj.csproj:
  6. C:\Users\trevo\Desktop\test_proj\test_proj.csproj : error : Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
  7. C:\Users\trevo\Desktop\test_proj\test_proj.csproj : error : SDK resolver "Microsoft.DotNet.MSBuildWorkloadSdkResolver" returned null.
  8. C:\Users\trevo\Desktop\test_proj\test_proj.csproj : error : The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
  9. C:\Users\trevo\Desktop\test_proj\test_proj.csproj : error : MSB4276: The default SDK resolver failed to resolve SDK "Microsoft.NET.Sdk" because directory "C:\Program Files\dotnet\sdk\Microsoft.NET.Sdk\Sdk" did not exist.
  10. C:\Users\trevo\Desktop\test_proj\test_proj.csproj : error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
  11. Restore failed.
  12. Post action failed.
  13. Manual instructions: Run 'dotnet restore'
  14.  
  15.  
  16. C:\Users\trevo\Desktop\test_proj>dotnet run
  17. C:\Users\trevo\Desktop\test_proj\test_proj.csproj : error : Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
  18. C:\Users\trevo\Desktop\test_proj\test_proj.csproj : error : SDK resolver "Microsoft.DotNet.MSBuildWorkloadSdkResolver" returned null.
  19. C:\Users\trevo\Desktop\test_proj\test_proj.csproj : error : The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
  20. C:\Users\trevo\Desktop\test_proj\test_proj.csproj : error : MSB4276: The default SDK resolver failed to resolve SDK "Microsoft.NET.Sdk" because directory "C:\Program Files\dotnet\sdk\Microsoft.NET.Sdk\Sdk" did not exist.
  21. C:\Users\trevo\Desktop\test_proj\test_proj.csproj : error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
  22.  
  23. The build failed. Fix the build errors and run again.
Advertisement
Add Comment
Please, Sign In to add comment