Can't run AspNetCore - File not found on restore.cmd
See original GitHub issueHi, I’m trying to setup a dev envinroment to try to contribute with something.
Following this guide I should run “.\restore.cmd” first.
When running it I get the following error:
PS D:\Projects\AspNetCore> .\restore.cmd
Using KoreBuild 3.0.0-build-20190322.1
WARNING: dotnet found on the system PATH is 'C:\Program Files\dotnet\dotnet.exe' but KoreBuild will use
'D:\Projects\AspNetCore\.dotnet\x64\dotnet.exe'.
WARNING: Adding 'D:\Projects\AspNetCore\.dotnet\x64' to system PATH permanently may be required for applications like
Visual Studio or VS Code to work correctly.
Adding D:\Projects\AspNetCore\.dotnet\x64 to PATH
dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Sdk/3.0.100-preview4-010940/dotnet-sdk-3.0.100-preview4-010940-win-x64.zip
dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Sdk/3.0.100-preview4-010940/dotnet-sdk-3.0.100-preview4-010940-win-x64.zip
dotnet-install: Downloading legacy link: https://dotnetcli.azureedge.net/dotnet/Sdk/3.0.100-preview4-010940/dotnet-dev-win-x64.3.0.100-preview4-010940.zip
Exception calling "Invoke" with "0" argument(s): "Failed to download
https://dotnetcli.azureedge.net/dotnet/Sdk/3.0.100-preview4-010940/dotnet-dev-win-x64.3.0.100-preview4-010940.zip.
StatusCode: 404, ReasonPhrase: 'Not Found', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
x-ms-request-id: 84b61e81-801e-00dc-63fc-ebfa98000000
x-ms-version: 2009-09-19
Date: Fri, 05 Apr 2019 22:13:11 GMT
Server: Windows-Azure-Blob/1.0
Server: Microsoft-HTTPAPI/2.0
Content-Length: 215
Content-Type: application/xml
}"
At D:\Projects\AspNetCore\.dotnet\buildtools\korebuild\3.0.0-build-20190322.1\scripts\dotnet-install.ps1:137 char:20
+ return $ScriptBlock.Invoke()
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : RuntimeException
Checking the link it tries to download it really seems to a 404.
Is the restore.cmd
broke or…?
Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
cannot build using restore.cmd · Issue #12913
Detected JDK in C:\dotnetcore\AspNetCore.tools\jdk\win-x64\ (via local repo ... NET.Sdk' specified could not be found. Build failed.
Read more >dotnet restore command - .NET CLI
Learn how to restore dependencies and project-specific tools with the dotnet restore command.
Read more >c# - .Net Core dotnet run is not running the last modified ...
I am working on Asp.Net Mvc project with .Net Core 2.2. I can not run the last modified source code from command line/powershell....
Read more >Why isn't my ASP.NET Core app in Docker working?
In this post I describe a problem where my ASP.NET Core app in Docker wasn't responding to requests. This post debugs and diagnoses...
Read more >Dotnet could not execute because the application was not ...
I ran "dotnet --version" and saw an error I'd not seen before. Dotnet "Could not execute because the application was not found or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@natemcmaster yes, the first link “”“works”“” for me as well. I can start the download but it goes really slow and fails after some time… I’m in Brazil. At work I have some vpn’s and, I think, better connection… Will be trying to clone it on monday from work…
Guys, I managed to make it work with the VPN. Don’t know if it is a problem with the link to Brazil or something like that, but I’m able to open and build it now. Thanks all for the help! 😃