9 writes to Sdk
Microsoft.Build (1)
Construction\ProjectImportElement.cs (1)
165
Sdk
= sdkReference.ToString(),
Microsoft.Build.Engine.OM.UnitTests (1)
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
587
import.VerifySetter("newSdk", (pi) => pi.Sdk, (pi, v) => pi.
Sdk
= v);
Microsoft.Build.Engine.UnitTests (7)
Construction\ProjectImportElement_Tests.cs (7)
36
SetPropertyAndExpectProjectXmlChangedEventToNotFire(rootElement, () => importElement.
Sdk
= "My.Sdk");
46
SetPropertyAndExpectProjectXmlChangedEventToFire(rootElement, () => importElement.
Sdk
= "Some.Other.Sdk", "Set Import Sdk Some.Other.Sdk");
73
SetPropertyAndExpectProjectXmlChangedEventToNotFire(rootElement, () => importElement.
Sdk
= "My.Sdk");
103
SetPropertyAndExpectProjectXmlChangedEventToFire(rootElement, () => importElement.
Sdk
= "My.Sdk", "Set Import Sdk My.Sdk");
104
SetPropertyAndExpectProjectXmlChangedEventToNotFire(rootElement, () => importElement.
Sdk
= "My.Sdk");
126
SetPropertyAndExpectProjectXmlChangedEventToNotFire(rootElement, () => importElement.
Sdk
= "My.Sdk");
128
SetPropertyAndExpectProjectXmlChangedEventToFire(rootElement, () => importElement.
Sdk
= "Some.Other.Sdk", "Set Import Sdk Some.Other.Sdk");
4 references to Sdk
Microsoft.Build.Engine.OM.UnitTests (3)
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
839
Assert.Equal(realXml.
Sdk
, viewXml.
Sdk
);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
587
import.VerifySetter("newSdk", (pi) => pi.
Sdk
, (pi, v) => pi.Sdk = v);
Microsoft.Build.Engine.UnitTests (1)
Evaluation\ProjectSdkImplicitImport_Tests.cs (1)
529
importingElement.
Sdk
.ShouldBe(SdkName + $"/{version}");