It's basically depending on how you reference your WIG project in your main project. Based on what you described above, you have used a project reference. In that scenario, you are indeed seeing the .Definition namespace of the WIG project, but if you reference the dll directly, you will get correct IntelliSense. Note, that the project reference works during the build time as well, it's just IntelliSense having an issue with it.

As a workaround if you are developing in Visual Studio you can turn off the following setting to get the project reference working:

Tools -> Options -> Text Editor -> F# -> Performance -> Enable in-memory cross project references

In other tooling, you can reference the DLL instead of the project as stated above. You can read a bit more about this here:

By on 8/30/2021 4:08 AM ()

Thanks, this works.

By on 8/31/2021 12:54 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper