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