9 references to net
Microsoft.Build (3)
CommunicationsUtilities.cs (1)
880
else if (runtimeVersion.Equals(XMakeAttributes.MSBuildRuntimeValues.
net
, StringComparison.OrdinalIgnoreCase))
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
401
if (mergedParameters[XMakeAttributes.runtime].Equals(XMakeAttributes.MSBuildRuntimeValues.
net
))
XMakeAttributes.cs (1)
110
private static readonly HashSet<string> ValidMSBuildRuntimeValues = new HashSet<string>(StringComparer.OrdinalIgnoreCase) { MSBuildRuntimeValues.clr2, MSBuildRuntimeValues.clr4, MSBuildRuntimeValues.currentRuntime, MSBuildRuntimeValues.
net
, MSBuildRuntimeValues.any };
Microsoft.Build.Engine.UnitTests (6)
XmakeAttributes_Tests.cs (6)
55
Assert.True(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.any, 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
);