"Not all referenced projects are in the compiler options" assert popups in Release configuration #790
Comments
Are your projects on 'Release' mode? If yes, it's a known issue with FCS' assembly resolution that causes the assertion to fail in this case. |
Aha! Yes, it was in Release config. I switched to Debug and everything is ok now. Wow, this is a huge bug in FCS :( |
I'll work out the details and report upstream. |
Use 'protectOrDefault' and 'protect' wherever possible. Possible fix for fsprojects-archive#790.
Use 'protectOrDefault' or `protect` wherever possible. Possible fix for fsprojects-archive#790.
Turned out I was wrong. The issue comes from Visual F# Tools (see https://visualfsharp.codeplex.com/workitem/164). |
That resolution is not necessarily wrong if the "solution configuration" specifies a mix of debug and release configurations. Could you check the solution configuration just in case? I guess it would be even better if the repro on visualfsharp.codeplex.com showed how to repro this by creating a new project etc. |
@dsyme It happens on multiple solutions and none of them is on mixed mode. |
Couldn't repro cleanly. Closing since it doesn't affect any functionality. |
@dungpa I believe it started to popup after you introduced
getCurrentProject
. On my solution at work this dialog appears almost every time I open a file in a project no files from which are already opened.The text was updated successfully, but these errors were encountered: