-
Notifications
You must be signed in to change notification settings - Fork 676
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
"Compilation options cannot be null for C#/VB project" when running in Codespaces #6356
Comments
I just tried with mcr.microsoft.com/devcontainers/dotnet:dev-7.0 and I get 7.0.401 - srtill no loading supported. 😭 |
C# Dev kit seems to have no issues...
|
I am getting the same error. My project file has not changed. Just started showing up this morning. Extension version is 2.1.2, |
Have a similar issue when I work on my Unity project. Solved by following this link https://forum.unity.com/threads/microsoft-previews-unity-extension-for-visual-studio-code.1468913/. Update the Visual Stuidio Editor in Unity to newest version. So if you are in the Unity project and facing the issue in this topic, try this and hope it can help you. Gook luck. 8) |
The missing compile target error log is tracked by #5786 The compilation options error seems to be suppressing a much wider range of project loading issues, fixing that in dotnet/roslyn#70467 The 'real' project load issue in SkiaSharp is
Currently digging into what is going on there. |
Issue is that the evaluation by default does not skip elements that evaluate to false, so it was hitting the Fix here - dotnet/roslyn#70496 |
Environment data
dotnet --info
output:VS Code version:
C# Extension version: v2.1.2
OmniSharp log
Steps to reproduce
dotnet build tests/SkiaSharp.Tests.Console.sln
Expected behavior
The solution should open
Actual behavior
Fails to open
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: