1 write to _sdkTargetsPath
Microsoft.Build.Engine.UnitTests (1)
Evaluation\ProjectSdkImplicitImport_Tests.cs (1)
91
_sdkTargetsPath
= Path.Combine(_testSdkDirectory, "Sdk.targets");
12 references to _sdkTargetsPath
Microsoft.Build.Engine.UnitTests (12)
Evaluation\ProjectSdkImplicitImport_Tests.cs (12)
105
File.WriteAllText(
_sdkTargetsPath
, _sdkTargetsContent);
129
File.WriteAllText(
_sdkTargetsPath
, _sdkTargetsContent);
148
Assert.Equal(
_sdkTargetsPath
, finalResolvedImport.ImportedProject.FullPath);
151
VerifyPropertyFromImplicitImport(project, "FinalImportProperty",
_sdkTargetsPath
, "World");
238
File.WriteAllText(
_sdkTargetsPath
, "<Project />");
272
File.WriteAllText(
_sdkTargetsPath
, "<Project />");
347
File.WriteAllText(
_sdkTargetsPath
, _sdkTargetsContent);
439
File.WriteAllText(
_sdkTargetsPath
, _sdkTargetsContent);
516
File.WriteAllText(
_sdkTargetsPath
, _sdkTargetsContent);
546
:
_sdkTargetsPath
;
640
File.WriteAllText(
_sdkTargetsPath
, _sdkTargetsContent);
679
expectedSdkPath.ShouldBe(Path.GetDirectoryName(
_sdkTargetsPath
));