Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C# Portable] Problem installing C# dependencies #45

Open
hellboy81 opened this issue Apr 23, 2018 · 2 comments
Open

[C# Portable] Problem installing C# dependencies #45

hellboy81 opened this issue Apr 23, 2018 · 2 comments
Labels

Comments

@hellboy81
Copy link

hellboy81 commented Apr 23, 2018

  • VSCode poratble installed successully
  • C# Extension installed, editor restarted and got error:
Installing C# dependencies...
Platform: win32, x86_64

Downloading package 'OmniSharp for Windows (.NET 4.6 / x64)' 	Retrying from 'https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x64-1.29.1.zip' Downloading package '.NET Core Debugger (Windows / x64)' 	Retrying from 'https://vsdebugger.blob.core.windows.net/coreclr-debug-1-14-7/coreclr-debug-win7-x64.zip' 
Installing package 'OmniSharp for Windows (.NET 4.6 / x64)'
Failed at stage: installPackages
Error: end of central directory record signature not found

Finished
@hellboy81
Copy link
Author

hellboy81 commented Apr 24, 2018

I got it but getting after installing:

The reference assemblies for framework ".NETFramework,Version=v4.6" were not found. 

To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. 

Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. 

Therefore your assembly may not be correctly targeted for the framework you intend.

@garethflowers
Copy link
Owner

Looks like this could be a general problem with the C# extension - checkout dotnet/vscode-csharp#1549.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants