1 write to ProjectFile
Microsoft.NET.TestFramework (1)
Commands\MSBuildCommand.cs (1)
31
ProjectFile
= FindProjectFile(ref _projectRootPath, relativePathToProject);
13 references to ProjectFile
Microsoft.NET.TestFramework (11)
Commands\GetValuesCommand.cs (4)
49
_targetFramework = targetFramework ?? OutputPathCalculator.FromProject(
ProjectFile
, testAsset).TargetFramework ?? string.Empty;
68
var project = XDocument.Load(
ProjectFile
);
72
throw new InvalidOperationException($"The project file '{
ProjectFile
}' does not have a root element.");
102
project.Save(
ProjectFile
);
Commands\MSBuildCommand.cs (4)
21
public string FullPathProjectFile => Path.Combine(ProjectRootPath,
ProjectFile
);
77
return new DirectoryInfo(OutputPathCalculator.FromProject(
ProjectFile
, TestAsset).GetOutputDirectory(targetFramework, configuration, runtimeIdentifier, platform));
93
return new DirectoryInfo(OutputPathCalculator.FromProject(
ProjectFile
, TestAsset).GetIntermediateDirectory(targetFramework, configuration, runtimeIdentifier));
108
return new DirectoryInfo(OutputPathCalculator.FromProject(
ProjectFile
, TestAsset).GetPackageDirectory(configuration));
Commands\PackCommand.cs (2)
22
packageId = Path.GetFileNameWithoutExtension(
ProjectFile
);
32
packageId = Path.GetFileNameWithoutExtension(
ProjectFile
);
Commands\PublishCommand.cs (1)
28
return new DirectoryInfo(OutputPathCalculator.FromProject(
ProjectFile
, TestAsset).GetPublishDirectory(targetFramework, configuration, runtimeIdentifier, platformIdentifier));
Microsoft.NET.ToolPack.Tests (2)
GivenThatWeWantToPackAToolProjectWithPackagedShim.cs (2)
42
_packageId = Path.GetFileNameWithoutExtension(packCommand.
ProjectFile
);
331
_packageId = Path.GetFileNameWithoutExtension(packCommand.
ProjectFile
);