Cross-project analysis doesn't work when projects contain generative type provider usages
Open
Area-TypeProviders
Bug
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 131
Description
When a project uses generative type providers, its sources are ignored when referenced in other projects, i.e. other projects only see this project output assembly.
There seems to be no open issue about this problem now, and it's effectively a show stopper for any cross-project features like navigation, Find Usages, or Rename refactoring, as none of the features looking at the up-to-date sources. This is especially bad when doing any editing to the referenced project, as it may often contain errors and, thus, can't be built.
There's a good technical summary in https://github.com/dotnet/fsharp/issues/3234#issuecomment-579396231.
Contributor guide
Assessment
This issue has not been assessed yet.