81 references to CsProjPath
dotnet.Tests (79)
CommandTests\Reference\Add\GivenDotnetAddReference.cs (30)
224
var cmd = new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
242
var cmd = new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
259
new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
281
new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
287
var cmd = new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
303
new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
309
var cmd = new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
325
new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
331
var cmd = new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
347
new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
371
var cmd = new DotnetCommand(Log, "add", proj.
CsProjPath
, "reference")
385
new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
391
var cmd = new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
436
var cmd = new DotnetCommand(Log, "add", proj.
CsProjPath
, "reference")
468
var cmd = new DotnetCommand(Log, "add", proj.
CsProjPath
, "reference")
485
var cmd = new DotnetCommand(Log, "add", proj.
CsProjPath
, "reference")
505
var cmd = new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
526
var cmd = new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
576
var cmd = new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
628
var cmd = new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
629
.Execute("-f", FrameworkNet451, net45lib.
CsProjPath
);
645
var cmd = new DotnetCommand(Log, "add", net452netcoreapp10lib.
CsProjPath
, "reference")
646
.Execute(lib.
CsProjPath
);
667
var cmd = new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
668
.Execute($"-f", framework, net45lib.
CsProjPath
);
690
args.Add(lib.
CsProjPath
);
693
var cmd = new DotnetCommand(Log, "add", net45lib.
CsProjPath
, "reference")
707
var result = new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
723
var result = new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
739
var result = new DotnetCommand(Log, "add", lib.
CsProjPath
, "reference")
CommandTests\Reference\List\GivenDotnetListReference.cs (12)
156
.WithProject(lib.
CsProjPath
)
159
cmd.StdOut.Should().Be(string.Format(CliStrings.NoReferencesFound, CliStrings.P2P, lib.
CsProjPath
));
173
string ref1 = NewLib(testDirectory, "ref").
CsProjPath
;
177
.WithProject(lib.
CsProjPath
)
196
string ref1 = NewLib(testDir, "ref1").
CsProjPath
;
197
string ref2 = NewLib(testDir, "ref2").
CsProjPath
;
198
string ref3 = NewLib(testDir, "ref3").
CsProjPath
;
205
.WithProject(lib.
CsProjPath
)
225
.WithProject(lib.
CsProjPath
)
263
new DotnetCommand(Log, "add", proj.
CsProjPath
, "reference")
271
csprojXml.Load(proj.
CsProjPath
);
279
csprojXml.Save(proj.
CsProjPath
);
CommandTests\Reference\Remove\GivenDotnetRemoveP2P.cs (37)
110
.WithProject(proj.
CsProjPath
)
112
.Execute(additionalArgs.Concat(new[] { ret.
CsProjPath
}))
122
.WithProject(proj.
CsProjPath
)
124
.Execute(frameworkArgs.Concat(new[] { ret.
CsProjPath
}))
249
.WithProject(lib.
CsProjPath
)
251
.Execute(libref.
CsProjPath
);
268
.WithProject(lib.
CsProjPath
)
270
.Execute(FrameworkNet451Args.Concat(new[] { libref.
CsProjPath
}));
288
.WithProject(lib.
CsProjPath
)
290
.Execute(libref.
CsProjPath
);
307
.WithProject(lib.
CsProjPath
)
309
.Execute(libref.
CsProjPath
);
311
cmd.StdOut.Should().Be(string.Format(CliStrings.ProjectReferenceCouldNotBeFound, libref.
CsProjPath
));
324
.WithProject(lib.
CsProjPath
)
326
.Execute(FrameworkNet451Args.Concat(new[] { libref.
CsProjPath
}));
328
cmd.StdOut.Should().Be(string.Format(CliStrings.ProjectReferenceCouldNotBeFound, libref.
CsProjPath
));
344
.WithProject(lib.
CsProjPath
)
346
.Execute(librefNoCond.
CsProjPath
);
369
.WithProject(lib.
CsProjPath
)
371
.Execute(FrameworkNet451Args.Concat(new[] { librefCond.
CsProjPath
}));
394
.WithProject(lib.
CsProjPath
)
396
.Execute(FrameworkNet451Args.Concat(new[] { librefCondNet451.
CsProjPath
}));
419
.WithProject(proj.
CsProjPath
)
421
.Execute(libref.
CsProjPath
);
439
.WithProject(lib.
CsProjPath
)
458
.WithProject(lib.
CsProjPath
)
477
.WithProject(lib.
CsProjPath
)
500
.WithProject(lib.
CsProjPath
)
502
.Execute(libref.
CsProjPath
, validref.
CsProjPath
);
524
.WithProject(lib.
CsProjPath
)
526
.Execute(libref.
CsProjPath
, validref.
CsProjPath
);
542
.WithProject(lib.
CsProjPath
)
544
.Execute(libref.
CsProjPath
);
559
.WithProject(lib.
CsProjPath
)
576
.WithProject(lib.
CsProjPath
)
Msbuild.Tests.Utilities (2)
ProjDir.cs (2)
24
return File.ReadAllText(
CsProjPath
);
30
return ProjectRootElement.Open(
CsProjPath
, new ProjectCollection());