mhutch / MonoDevelop.MSBuildEditor

Improved MSBuild editing support
Other
215 stars 26 forks source link

custom properties defined in `Directory.Build.props` and used in `.csproj` get marked as "unread" #169

Closed LukasGelke closed 5 months ago

LukasGelke commented 5 months ago

Directory.Build.props image

several projects in the same solution: image

not sure how this relates to Directory.Packages.props-uses, but due to the reliance on scripts/tools, we cannot switch over easily. Maintaining the ~70 Properties inside the buildschema.json seems unwieldy and possibly error prone

mhutch commented 5 months ago

This is a known bug that unfortunately has a nontrivial fix - I need to add support for viewing/analyzing files in the context of having been imported by another file, rather than always treating them as the root: https://github.com/mhutch/MonoDevelop.MSBuildEditor/issues/94

In the meantime I will disable this specific analyzer for anything other than project files.