forked from dotnet/msbuild
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[unix] Fix rebuilds caused by resx containing fileref with windows pa…
…th (dotnet#44) When running on !windows, if a resx contains a fileRef like .. ``` <data name="TextFile1" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Resources\TextFile1.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value> </data> ``` .. with the path containing backslashes, then we end up treating the whole thing as filename and thus subsequent checks for file changes etc fail. This causes the resx to be processed every time `GenerateResource` task is run, which can cause costly rebuilds. Issue: mono/mono#7184
- Loading branch information
Showing
2 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters