-
Notifications
You must be signed in to change notification settings - Fork 785
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
Visual Studio 15.6 deadlocks on solution load for .NET Core SDK project when a <None Include=""> is added to file list #4300
Comments
Sorry not at computer - can you remove the FSharp.NET.Sdk attribute and
see what happens?
On Thu, Feb 1, 2018, at 17:38, btrepp wrote:
15.6 crashes on load of this solution
https://github.com/btrepp/vspreviewcrash
Repro steps
1. Clone repo
2. Open solution in 15.6 preview 3
Expected behavior
Solution loads like in 15.5.6
Actual behavior
A popup with "a non fatal error has occured" appears, but then VS
locks up> Known workarounds
None
Related information
Operating system is windows 10, Machine had brand new windows
installed and then Visual studio installed.> — You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub[1], or mute the
thread[2].>
|
That helps with the solution level crash, the IDE loads. But fails to load the project with Its nice enough to create a log file for this. Which contains
EDIT: Looking through that. It seems whatever 15.5.6 builds/puts in obj/ is incompatible vs 15.6 preview 3. Cleaning out obj/ by hand seems to help. EDIT2:
|
Tagging as external for now, will update or close as-appropriate |
Tagging @panopticoncentral - do you know how this could happen? |
All we do in Initialize is hook up to the dataflow. Best guess is that some condition is causing one of the CPS services we expect to be there to be null. We can harden against this, but it's surprising that a service wouldn't be there. Maybe the import service since imports are mentioned above? I'll take a look in the debugger. |
Big title/text update for tracking purposes. Basically, if a The workaround is to apply this in the project file: <ItemGroup>
<None Remove="*.*" />
</ItemGroup> Then the F# project files with |
Depending on your projects (eg I used folders). The nuclear workaround is
Which throws all the automagic stuff in the bin and makes it so you explicitly include items. Adding this everywhere brought my solution back to being use-able. |
The fix for this has been merged in and will be available in a servicing release for 15.6 soon. |
(Edited by @cartermp to update repro steps)
15.6 crashes on load of this solution
https://github.com/btrepp/vspreviewcrash
Repro steps
https://github.com/btrepp/vspreviewcrash
cd vspreviewcrash\dotnet
.paket\paket.exe install
dotnet restore
Expected behavior
Solution loads.
Actual behavior
A popup with "a non fatal error has occured" appears, but then VS locks up
Known workarounds
None
Related information
Operating system is windows 10, Machine had brand new windows installed and then Visual studio installed.
The text was updated successfully, but these errors were encountered: