You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No recompilton CoreCompile should happen on Windows because the paths are identical, just casing is different.
Path case sensitivity is not strictly tied to operating systems. It is possible to have case sensitive paths on Windows. It is also possible to have paths where parts are case sensitive, and parts are case insensitive on Linux. At a tooling level we have to assume the worst case which is paths are case sensitive and act accordingly. This can lead to situations where we overbuild but won't lead to incorrect builds.
For this particular case I believe we should consider a build check flag in MSBuild. Essentially a check that fires when a path in Include for a value in ItemGroup differs from the normalized path on disk. That should alert the developer to correct this mistake.
Version Used: 17.10.4+10fbfbf2e
Steps to Reproduce:
Diagnostic Id:
Using "GenerateMSBuildEditorConfig" task from assembly "Current\bin\Roslyn\Microsoft.Build.Tasks.CodeAnalysis.dll"
Input file "x\obj\amd64\LegacyUri.UnitTests.Core.GeneratedMSBuildEditorConfig.editorconfig" is newer than output file
Expected Behavior:
No recompilton CoreCompile should happen on Windows because the paths are identical, just casing is different.
The text was updated successfully, but these errors were encountered: