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