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
Failed to load project with Red Hat .NET Core SDK 2.0 (rh-dotnetcore20) #1744
Comments
Thanks for reporting this issue! I've heard about it, but hadn't received any feedback on this yet. If I recall correctly, the issue here is that the .NET Core SDK source build does not include net46 binaries. @nguerrera, do you know how to route this? |
To be clear: this issue is caused by the fact that OmniSharp itself runs as a |
I've filed dotnet/source-build#125 to route this. |
Thanks @nguerrera! I'll leave this open here to track the customer impact of the problem. |
This also happens for me as a Fedora user (no big surprise though). Using dotnet packages from the official SIG @ https://copr.fedorainfracloud.org/coprs/g/dotnet-sig/dotnet/ |
|
Sorry, the error I have is actually different. |
@inosik: In that case, could you file a separate issue? |
Any update on this? Also having this issue (Fedora). |
@martinmine: The problem is actually within the .NET Core SDK. We're tracking that with dotnet/source-build#125. |
To provide a little bit of an update, since there wasn't one, the issue was hacked up in our packages to somehow work, but the results are not guaranteed ;P |
Closing this out as the source build work is completed and many other things haven stabilized since this was reported. |
Environment data
dotnet --info
output:VS Code version: 1.15.1
C# Extension version: 1.12.1
Steps to reproduce
Install Red Hat .NET Core SDK 2.0 on RHEL 7.3 Server
https://access.redhat.com/documentation/en-us/net_core/2.0/html/getting_started_guide/gs_install_dotnet#install_dotnet20
Create a Project.
$ dotnet new console
Open with Visual Studio Code
$ code .
Expected behavior
Load C# project without error.
Actual behavior
Got the error.
I'm afraid this issue depends on Red Hat provided .NET Core. Could you help finding the root cause? I can ask Red Hat engineers to fix SDK if needed.
The Red Hat .NET Core build is based on https://github.com/dotnet/source-build/. Red Hat .NET Core doesn't have the 'sdk/2.0.0/Sdks/Microsoft.NET.Sdk/tools/net46/Microsoft.NET.Build.Tasks.dll'. Instead, there is such a dll at 'netcoreapp1.0' (instead of 'net46').
The text was updated successfully, but these errors were encountered: