-
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
Nothing works on ProjectSystem project #2970
Comments
I'm also seeing this, see #2788 (comment). I only really see it in the debug hive - I've noticed that if I build from build.cmd instead of Visual Studio, it seems to work better. "Sequence contains more than one element" is an error I saw when trying to add a reference to a project a week ago or so... so that may be another way to reproduce this. |
Okay now I'm seeing this on my normal instance - it was affecting every project. It was triggered by reloading the solution. Restarting VS fixed it however 😕 |
@vasily-kirichenko Things are now working in this project for me, please reopen if you continue to have problems (Intellisense take a long while to first appear due to need to first typecheck the rest of the solution) |
(The issues in this project were all about the behavior of IDE features in the presence of missing transitive assembly references. It is worth testing new IDE features with this project now and then as a test case to see if a new IDE feature works) |
This should not be needed. Will look at it. |
@vasily-kirichenko OK I can repro some of these problems
and opened a script and things worked ok. But when opening VisualFSharp.sln I saw the problems where it tries to reference the "Debug" FSharp.Core DLL |
There are twoproblems
The systematic problem we as a group are having is that we have too easily been introducing changes, features and performance work in the Language Service (e.g. LanguageService.fs) under the assumption that projects, solutions and the active configuration are static things. However in reality projects change over time - as does the active configuration. @saul's PR #2909 may be helpful and seems to do things much more correctly. However I also suspect that we should first do a less ambitious PR focused entirely on correctness under changing the active configuration, solution load/reload, and/remove project, add/remove project references, add/remove files, and then later focus on performance. We actually have hundreds of tests for this sort of thing but they exercise the "old" non-Roslyn logic. So it feels like we have lost significant test coverage and/or basic testability in the process of Roslynizing the code. Lessons:
|
@saul When you get the chance could you DM me on twitter , or email me? I'd like to skype-chat to run a few questions by you about how/where to maintain the correct FSharpProjectOptions objects in the face of configuration changes, project reloads etc. |
This was fixed a while back |
@saul I may find interesting the strange behavior with trying to save the project file.
The text was updated successfully, but these errors were encountered: