37 references to FixFilePath
Microsoft.Build.Tasks.Core (28)
CreateCSharpManifestResourceName.cs (3)
97string embeddedFileName = FileUtilities.FixFilePath(linkFileName); 100embeddedFileName = FileUtilities.FixFilePath(fileName); 103dependentUponFileName = FileUtilities.FixFilePath(dependentUponFileName);
DependencyFile.cs (1)
64this.filename = FileUtilities.FixFilePath(filename);
FileMatcher.cs (2)
224path = FileUtilities.FixFilePath(path); 588filespec = FileUtilities.FixFilePath(filespec);
FileUtilities.cs (14)
221fileSpec = FixFilePath(fileSpec); 245return FixFilePath(path.Substring(start, stop - start)); 259return FixFilePath(start < stop && IsSlash(path[stop - 1]) ? 269path = FixFilePath(path); 306path = FixFilePath(path); 384return FixFilePath(fullPath.Substring(0, i)); 466return FixFilePath(fullPath); 695string directory = Path.GetDirectoryName(FixFilePath(fileSpec)); 759fileSpec = FixFilePath(EscapingUtilities.UnescapeAll(fileSpec)); 861File.Delete(FixFilePath(path)); 888path = FixFilePath(path); 1155return FixFilePath(path); 1206return FixFilePath(path); 1230return Path.IsPathRooted(FixFilePath(path));
FindInList.cs (1)
107var path = FileUtilities.FixFilePath(item.ItemSpec);
ListOperators\FindUnderPath.cs (2)
62System.IO.Path.GetFullPath(FileUtilities.FixFilePath(Path.ItemSpec))); 83System.IO.Path.GetFullPath(FileUtilities.FixFilePath(item.ItemSpec)));
MakeDir.cs (1)
73Directory.CreateDirectory(FileUtilities.FixFilePath(directory.ItemSpec));
Modifiers.cs (1)
437modifiedItemSpec = Path.GetFileNameWithoutExtension(FixFilePath(itemSpec));
ResGenDependencies.cs (1)
373var outputFile = new FileInfo(FileUtilities.FixFilePath(outputFileName));
ResourceHandling\MSBuildResXReader.cs (1)
226string fileName = FileUtilities.FixFilePath(fileRefInfo[0]);
Touch.cs (1)
94string path = FileUtilities.FixFilePath(file.ItemSpec);
Microsoft.Build.Tasks.UnitTests (9)
Copy_Tests.cs (2)
2456Assert.Contains(copyFunctor.FilesCopiedSuccessfully, f => f.Name == FileUtilities.FixFilePath("c:\\source")); 2457Assert.Contains(copyFunctor.FilesCopiedSuccessfully, f => f.Name == FileUtilities.FixFilePath("c:\\source2"));
CreateCSharpManifestResourceName_Tests.cs (1)
329Assert.Equal(FileUtilities.FixFilePath(@"fr\RootNamespace.SubFolder.SplashScreen.bmp"), result);
FindAppConfigFile_Tests.cs (2)
51Assert.Equal(FileUtilities.FixFilePath("foo\\app.config"), f.AppConfigFile.ItemSpec); 77Assert.Equal(FileUtilities.FixFilePath(@"foo\\app.config"), f.AppConfigFile.ItemSpec);
FindInList_Tests.cs (2)
120Assert.Equal(FileUtilities.FixFilePath(@"c:\foo\a.cs"), f.ItemFound.ItemSpec); 135Assert.Equal(FileUtilities.FixFilePath(@"foo\a.cs"), f.ItemFound.ItemSpec);
FindUnderPath_Tests.cs (2)
35Assert.Equal(FileUtilities.FixFilePath(@"C:\MyProject\File1.txt"), t.InPath[0].ItemSpec); 36Assert.Equal(FileUtilities.FixFilePath(@"C:\SomeoneElsesProject\File2.txt"), t.OutOfPath[0].ItemSpec);