10 references to net
Microsoft.Build (3)
CommunicationsUtilities.cs (1)
635
else if (runtimeVersion.Equals(XMakeAttributes.MSBuildRuntimeValues.
net
, StringComparison.OrdinalIgnoreCase))
XMakeAttributes.cs (2)
110
private static readonly HashSet<string> ValidMSBuildRuntimeValues = new HashSet<string>(StringComparer.OrdinalIgnoreCase) { MSBuildRuntimeValues.clr2, MSBuildRuntimeValues.clr4, MSBuildRuntimeValues.currentRuntime, MSBuildRuntimeValues.
net
, MSBuildRuntimeValues.any };
463
return MSBuildRuntimeValues.
net
;
Microsoft.Build.Engine.UnitTests (7)
XmakeAttributes_Tests.cs (7)
55
Assert.True(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.any, XMakeAttributes.MSBuildRuntimeValues.
net
));
59
Assert.True(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.currentRuntime, XMakeAttributes.MSBuildRuntimeValues.
net
));
68
Assert.False(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.clr4, XMakeAttributes.MSBuildRuntimeValues.
net
));
69
Assert.False(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.clr2, XMakeAttributes.MSBuildRuntimeValues.
net
));
108
XMakeAttributes.MSBuildRuntimeValues.
net
,
118
XMakeAttributes.MSBuildRuntimeValues.
net
,
120
mergedRuntime.ShouldBe(XMakeAttributes.MSBuildRuntimeValues.
net
);