-
Notifications
You must be signed in to change notification settings - Fork 391
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
Visual Studio running into some problems while loading the Csproj with custm TargetPlatform #6656
Comments
cc @drewnoakes |
See also this CPS NFE. |
Can you give some context on what this link is about. i currently dont have permissions to do so. |
@Anipik thank links to an internal dashboard where we track reported faults. |
This reproes simply cloning https://github.com/dotnet/runtime and opening src\libraries\System.Security.AccessControl\src\System.Security.AccessControl.csproj in 16.9 preview 3..
|
Thanks Dan, that's really helpful. @drewnoakes how is |
Hey @ViktorHofer, apologies for the delay. The collection is computed in |
Perhaps @lifengl knows a better API to retrieve the set of TFMs for a given |
The removed validation in is sound in theory, however is causing quite a few NFEs. For example dotnet#6656. This commit disables it for now. The consequence of this test failing is that dependencies added to the tree are not exposed via extensibility APIs such as DTE/VSLangProj. At some point we should revisit how the dependencies tree models its target frameworks, likely as part of dotnet#6183.
@ViktorHofer I've filed #6824 which disables the validation that's firing here. Whilst the validation is sound in theory, it isn't protecting against anything terribly serious and so I think the right thing to do is disable it for now. As I mentioned, in future I want to fix how we handle target frameworks in the dependencies tree, and at that time reinstate this validation. |
Thanks a lot @drewnoakes |
Visual Studio Version:
Microsoft Visual Studio Enterprise 2019 Int Preview
Version 16.9.0 Preview 1.0 [30601.220.main]
Summary
Build is still working but the VS gives a warning that some of the functions might not work
Steps to Reproduce:
Error
Log
cc @ericstj @ViktorHofer @safern
The text was updated successfully, but these errors were encountered: