86 references to s_myVersion20Path
Microsoft.Build.Tasks.UnitTests (86)
AssemblyDependency\Miscellaneous.cs (48)
472
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
492
if (String.Equals(item.ItemSpec, Path.Combine(
s_myVersion20Path
, "System.XML.dll"), StringComparison.OrdinalIgnoreCase))
608
if (String.Equals(item.ItemSpec, Path.Combine(
s_myVersion20Path
, "en", "System.XML.resources.pdb"), StringComparison.OrdinalIgnoreCase))
615
else if (String.Equals(item.ItemSpec, Path.Combine(
s_myVersion20Path
, "en-GB", "System.XML.resources.pdb"), StringComparison.OrdinalIgnoreCase))
813
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
847
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
911
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
946
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
1281
s_myVersion20Path
1932
s_myVersion20Path
,
1970
s_myVersion20Path
,
2283
s_myVersion20Path
,
2354
t.CandidateAssemblyFiles = new string[] { Path.Combine(
s_myVersion20Path
, "System.Xml.dll") };
2359
Assert.Equal(Path.Combine(
s_myVersion20Path
, "System.Xml.dll"), t.ResolvedFiles[0].ItemSpec);
2375
t.CandidateAssemblyFiles = new string[] { Path.Combine(
s_myVersion20Path
, "System.Xml.dll") };
2395
t.CandidateAssemblyFiles = new string[] { Path.Combine(
s_myVersion20Path
, "System.Xml.dll") };
2400
Assert.Equal(Path.Combine(
s_myVersion20Path
, "System.Xml.dll"), t.ResolvedFiles[0].ItemSpec);
2420
Path.Combine(
s_myVersion20Path
, "System.Xml.dll")
2427
Assert.Equal(Path.Combine(
s_myVersion20Path
, "System.Xml.dll"), t.ResolvedFiles[0].ItemSpec);
2456
t.Assemblies = new ITaskItem[] { new TaskItem(Path.Combine(
s_myVersion20Path
, "System.Xml.dll")) };
2472
Assert.Equal(Path.Combine(
s_myVersion20Path
, "System.Xml.dll"), t.ResolvedFiles[0].ItemSpec);
3056
ITaskItem taskItem = new TaskItem(Path.Combine(
s_myVersion20Path
, "System.Xml.dll"));
3068
Assert.Equal(Path.Combine(
s_myVersion20Path
, "System.Xml.dll"), t.ResolvedFiles[0].ItemSpec);
3081
ITaskItem taskItem = new TaskItem(Path.Combine(
s_myVersion20Path
, "System.Xml.dll"));
3093
Assert.Equal(Path.Combine(
s_myVersion20Path
, "System.Xml.dll"), t.ResolvedFiles[0].ItemSpec);
3108
new TaskItem(Path.Combine(
s_myVersion20Path
, "System.Xml.dll")),
3114
s_myVersion20Path
,
3120
Assert.Equal(Path.Combine(
s_myVersion20Path
, "System.Data.dll"), t.ResolvedFiles[0].ItemSpec);
3137
item.SetMetadata("HintPath", Path.Combine(
s_myVersion20Path
, "System.Data.dll"));
3287
t.SearchPaths = new string[] {
s_myVersion20Path
};
3288
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
3366
s_myVersion20Path
3372
Assert.Equal(Path.Combine(
s_myVersion20Path
, "System.Data.dll"), t.ResolvedFiles[0].ItemSpec);
3388
s_myVersion20Path
3394
Assert.Equal(Path.Combine(
s_myVersion20Path
, "System.Data.dll"), t.ResolvedFiles[0].ItemSpec);
3428
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
3482
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
3524
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
3571
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
3613
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
3645
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
3689
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
3739
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
3781
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
3919
Assert.Equal(Path.Combine(
s_myVersion20Path
, "System.XML.dll"), t.ResolvedFiles[0].ItemSpec);
4253
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
4938
s_myVersion20Path
,
5072
s_myVersion20Path
,
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (33)
196
protected static readonly string s_myVersionPocket20Path =
s_myVersion20Path
+ ".PocketPC";
288
s_myVersion20Path
,
384
Path.Combine(
s_myVersion20Path
, "System.Data.dll"),
385
Path.Combine(
s_myVersion20Path
, "System.Xml.dll"),
386
Path.Combine(
s_myVersion20Path
, "System.Xml.pdb"),
387
Path.Combine(
s_myVersion20Path
, "System.Xml.xml"),
388
Path.Combine(
s_myVersion20Path
, "en", "System.Xml.resources.dll"),
389
Path.Combine(
s_myVersion20Path
, "en", "System.Xml.resources.pdb"),
390
Path.Combine(
s_myVersion20Path
, "en", "System.Xml.resources.config"),
391
Path.Combine(
s_myVersion20Path
, "xx", "System.Xml.resources.dll"),
392
Path.Combine(
s_myVersion20Path
, "en-GB", "System.Xml.resources.dll"),
393
Path.Combine(
s_myVersion20Path
, "en-GB", "System.Xml.resources.pdb"),
394
Path.Combine(
s_myVersion20Path
, "en-GB", "System.Xml.resources.config"),
398
Path.Combine(
s_myVersion20Path
, "BadImage.dll"), // An assembly that will give a BadImageFormatException from GetAssemblyName
399
Path.Combine(
s_myVersion20Path
, "BadImage.pdb"),
400
Path.Combine(
s_myVersion20Path
, "MyGacAssembly.dll"),
401
Path.Combine(
s_myVersion20Path
, "MyGacAssembly.pdb"),
402
Path.Combine(
s_myVersion20Path
, "xx", "MyGacAssembly.resources.dll"),
403
Path.Combine(
s_myVersion20Path
, "System.dll"),
406
Path.Combine(
s_myVersion20Path
, "mscorlib.dll"),
885
s_myVersion20Path
,
910
if (path.EndsWith(
s_myVersion20Path
))
1076
String.Equals(path, Path.Combine(
s_myVersion20Path
, "BadImage.dll"), StringComparison.OrdinalIgnoreCase))
1078
throw new System.BadImageFormatException(@"The format of the file '" + Path.Combine(
s_myVersion20Path
, "BadImage.dll") + "' is invalid");
1084
|| String.Equals(path, Path.Combine(
s_myVersion20Path
, "mscorlib.dll"), StringComparison.OrdinalIgnoreCase)
1093
String.Equals(path, Path.Combine(
s_myVersion20Path
, "mscorlib.dll"), StringComparison.OrdinalIgnoreCase)
1213
if (String.Equals(path, Path.Combine(
s_myVersion20Path
, "System.XML.dll"), StringComparison.OrdinalIgnoreCase))
1233
if (path.EndsWith(Path.Combine(
s_myVersion20Path
, "MyGacAssembly.dll")))
1239
if (String.Equals(path, Path.Combine(
s_myVersion20Path
, "System.dll"), StringComparison.OrdinalIgnoreCase))
1259
String.Equals(path, Path.Combine(
s_myVersion20Path
, "System.Data.dll"), StringComparison.OrdinalIgnoreCase))
1996
if (String.Equals(path, Path.Combine(
s_myVersion20Path
, "System.dll"), StringComparison.OrdinalIgnoreCase))
2092
String.Equals(path, Path.Combine(
s_myVersion20Path
, "mscorlib.dll"), StringComparison.OrdinalIgnoreCase)
2392
if (String.Equals(path, Path.Combine(
s_myVersion20Path
, "System.dll"), StringComparison.OrdinalIgnoreCase))
AssemblyDependency\StronglyNamedDependency.cs (1)
132
string actualFrameworkDirectory =
s_myVersion20Path
;
AssemblyDependency\SuggestedRedirects.cs (4)
103
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
153
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
196
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};
241
t.TargetFrameworkDirectories = new string[] {
s_myVersion20Path
};