1 instantiation of TemporaryCSharpProject
Microsoft.DotNet.Open.Api.Tools.Tests (1)
src\Tools\Shared\TestHelpers\TemporaryDirectory.cs (1)
41
var project = new
TemporaryCSharpProject
(name, this, sdk);
20 references to TemporaryCSharpProject
Microsoft.DotNet.Open.Api.Tools.Tests (20)
OpenApiAddProjectTests.cs (3)
25
var
project1 = refProj1.WithCSharpProject("refProj");
31
var
project2 = refProj2.WithCSharpProject("refProj2");
59
var
csproj = refProj.WithCSharpProject(refProjName);
OpenApiTestBase.cs (3)
59
var
project = _tempDir
190
public TemporaryNSwagProject(
TemporaryCSharpProject
project, string jsonFile)
196
public
TemporaryCSharpProject
Project { get; set; }
src\Tools\Shared\TestHelpers\TemporaryCSharpProject.cs (7)
45
public
TemporaryCSharpProject
WithTargetFrameworks(params string[] tfms)
59
public
TemporaryCSharpProject
WithProperty(string name, string value)
62
public
TemporaryCSharpProject
WithProperty(PropertySpec property)
72
public
TemporaryCSharpProject
WithItem(string itemName, string include, string condition = null)
75
public
TemporaryCSharpProject
WithItem(ItemSpec item)
113
public
TemporaryCSharpProject
WithProjectReference(
TemporaryCSharpProject
reference, bool watch = true)
src\Tools\Shared\TestHelpers\TemporaryDirectory.cs (7)
14
private readonly List<
TemporaryCSharpProject
> _projects = new List<
TemporaryCSharpProject
>();
39
public
TemporaryCSharpProject
WithCSharpProject(string name, string sdk = "Microsoft.NET.Sdk")
41
var
project = new TemporaryCSharpProject(name, this, sdk);
45
public
TemporaryCSharpProject
WithCSharpProject(
TemporaryCSharpProject
project)
85
foreach (
var
project in _projects)