You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.NET Command Line Tools (1.0.0-preview1-002702)
Product Information:
Version: 1.0.0-preview1-002702
Commit Sha: 6cde21225e
Runtime Environment:
OS Name: Windows
OS Version: 10.0.10586
OS Platform: Windows
RID: win10-x64
VS Code version: 1.3.0
C# Extension version: 1.2.1
Steps to reproduce
Run VSC
Install "C#" extension, enable, restart
Run "Debug: Download .NET Core Debugger"
Expected behavior
.NET Core Debugger installed, C# working.
Actual behavior
Error bar on top with message "Error while installing .NET Core Debugger."
The output of coreclr-debugger seems helpful:
Creating C:\Users\user\.vscode\extensions\ms-vscode.csharp-1.2.1\coreclr-debug\project.json
Telemetry is: Enabled
log : Restoring packages for C:\Users\user\.vscode\extensions\ms-vscode.csharp-1.2.1\coreclr-debug\project.json...
error: System.Linq 4.1.0 provides a compile-time reference assembly for System.Linq on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with win7-x64.
error: System.Security.Cryptography.Algorithms 4.2.0 provides a compile-time reference assembly for System.Security.Cryptography.Algorithms on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with win7-x64.
error: System.AppContext 4.1.0 provides a compile-time reference assembly for System.AppContext on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with win7-x64.
error: System.Linq.Expressions 4.1.0 provides a compile-time reference assembly for System.Linq.Expressions on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with win7-x64.
error: System.Security.Cryptography.X509Certificates 4.1.0 provides a compile-time reference assembly for System.Security.Cryptography.X509Certificates on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with win7-x64.
error: System.Text.RegularExpressions 4.1.0 provides a compile-time reference assembly for System.Text.RegularExpressions on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with win7-x64.
error: One or more packages are incompatible with .NETCoreApp,Version=v1.0 (win7-x64).
info : Committing restore...
log : Writing lock file to disk. Path: C:\Users\user\.vscode\extensions\ms-vscode.csharp-1.2.1\coreclr-debug\project.lock.json
log : C:\Users\user\.vscode\extensions\ms-vscode.csharp-1.2.1\coreclr-debug\project.json
log : Restore failed in 894ms.
Error:
Errors in C:\Users\user\.vscode\extensions\ms-vscode.csharp-1.2.1\coreclr-debug\project.json
NuGet Config files used:
Error: System.Linq 4.1.0 provides a compile-time reference assembly for System.Linq on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with win7-x64.
System.Security.Cryptography.Algorithms 4.2.0 provides a compile-time reference assembly for System.Security.Cryptography.Algorithms on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with win7-x64.
System.AppContext 4.1.0 provides a compile-time reference assembly for System.AppContext on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with win7-x64.
System.Linq.Expressions 4.1.0 provides a compile-time reference assembly for System.Linq.Expressions on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with win7-x64.
System.Security.Cryptography.X509Certificates 4.1.0 provides a compile-time reference assembly for System.Security.Cryptography.X509Certificates on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with win7-x64.
System.Text.RegularExpressions 4.1.0 provides a compile-time reference assembly for System.Text.RegularExpressions on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with win7-x64.
One or more packages are incompatible with .NETCoreApp,Version=v1.0 (win7-x64).
C:\Users\user\.vscode\extensions\ms-vscode.csharp-1.2.1\coreclr-debug\NuGet.config
Feeds used:
https://api.nuget.org/v3/index.json
dotnet exited with error code 1
Of note is the mention that there's no win7-x64 distribution available (I'm on win10-x64 instead). And sure enough, C:\Users\user\.vscode\extensions\ms-vscode.csharp-1.2.1\coreclr-debug\project.json contains:
...
"runtimes": {
"win7-x64": {}
}
...
Not sure if it's important however.
The text was updated successfully, but these errors were encountered:
zeh
changed the title
Cannot download .NET Core Debugger on Windows 10 after C#
Cannot download .NET Core Debugger on Windows 10
Jul 8, 2016
It appears that you are on the rc2 version of .NET Core, which is no longer supported by the extension. You need to upgrade to .NET Core 1.0 or manually install an older version of the extension from here
@chuckries You seem to be right. I downloaded the ".NET Core SDK for Windows" from that link and it now seems to work as intended. Sorry I couldn't figure it out.
Environment data
dotnet --info
output:VS Code version: 1.3.0
C# Extension version: 1.2.1
Steps to reproduce
Expected behavior
.NET Core Debugger installed, C# working.
Actual behavior
Error bar on top with message "Error while installing .NET Core Debugger."
The output of
coreclr-debugger
seems helpful:Of note is the mention that there's no
win7-x64
distribution available (I'm onwin10-x64
instead). And sure enough,C:\Users\user\.vscode\extensions\ms-vscode.csharp-1.2.1\coreclr-debug\project.json
contains:Not sure if it's important however.
The text was updated successfully, but these errors were encountered: