Resharper handing XML comments in csproj

This seems like an odd bug. The project is using the .NET Core 2.0/2.1 platform. They have the concept of self-contained deployments and they use RIDs, or RuntimeIdentifiers. I have had trouble getting it to work, so I commented out the lines in the .csproj file of the main server.

<!--
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
<RuntimeIdentifier>ubuntu.16.04-x64</RuntimeIdentifier>
-->

However, when I did this, when I ran the test project, not the one with the commented out lines, the Unit Test Sessions reported, "Inclusive: Test not run" on all the tests. Completely remove the comment from the .csproj, and it runs. I would have thought that any XML parser would just ignore comments, but whatever Resharper is using is obviously causing a problem. Thoughts?

0

Please sign in to leave a comment.