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.1)
Product Information:
Version: 1.0.1
Commit SHA-1 hash: 005db40cd1
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.12-x64
Base Path: /usr/local/share/dotnet/sdk/1.0.1
VS Code version: 1.13.1
C# Extension version: 1.11.0
Steps to reproduce
Create a new project with Xamarin Studio on Mac or VS on Mac
Open the folder with VS code
Expected behavior
VS code should show IntelliSense, go to definition find references etc
Actual behavior
Error in OmniSharp log
Microsoft.Build.Exceptions.InvalidProjectFileException: The imported project "/Users/jesse/.vscode/extensions/ms-vscode.csharp-1.11.0/bin/xbuild/Microsoft/Portable/v4.5/Microsoft.Portable.CSharp.targets" was not found. Also, tried to find "Microsoft/Portable/v4.5/Microsoft.Portable.CSharp.targets" in the fallback search path(s) for $(MSBuildExtensionsPath32) - "/Library/Frameworks/Mono.framework/External/xbuild/" . These search paths are defined in "/Users/jesse/.vscode/extensions/ms-vscode.csharp-1.11.0/bin/omnisharp/OmniSharp.exe.config". Confirm that the path in the <Import> declaration is correct, and that the file exists on disk in one of the search paths. /Users/jesse/Documents/Project/testProject/testProject/testProject.csproj
at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject (System.String errorSubCategoryResourceName, Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, System.Object[] args) [0x00067] in <bdf083ca20c84af487947992fd9a4a29>:0
at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject (Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, System.Object[] args) [0x00001] in <bdf083ca20c84af487947992fd9a4a29>:0
The text was updated successfully, but these errors were encountered:
I've got a fix for this in PR here: OmniSharp/omnisharp-roslyn#923. Once it's merged, it'll appear in C# for VS Code once we take a new version of OmniSharp.
Environment data
dotnet --info
output:VS Code version: 1.13.1
C# Extension version: 1.11.0
Steps to reproduce
Expected behavior
VS code should show IntelliSense, go to definition find references etc
Actual behavior
Error in OmniSharp log
The text was updated successfully, but these errors were encountered: