Don't convert metadata references to P2P references if we don't support compilation
If you had a F# project opened with the new project system, it'd supply an output directory which other projects (like C#) could reference. If you had a C# project that referenced the F# project, any attempt to get the C# compilation would crash because we can't actually produce F# compilations. The fix is simple: don't convert from metadata references.
显示
- src/VisualStudio/CSharp/Test/ProjectSystemShim/CSharpHelpers.cs 17 个添加, 0 个删除...sualStudio/CSharp/Test/ProjectSystemShim/CSharpHelpers.cs
- src/VisualStudio/CSharp/Test/ProjectSystemShim/LegacyProject/CSharpReferencesTests.cs 24 个添加, 0 个删除.../ProjectSystemShim/LegacyProject/CSharpReferencesTests.cs
- src/VisualStudio/Core/Def/Implementation/ProjectSystem/AbstractProject.cs 11 个添加, 0 个删除.../Core/Def/Implementation/ProjectSystem/AbstractProject.cs
想要评论请 注册 或 登录