This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add .Net 4.6 and 4.6.1 support to Prebuild.exe

  • Loading branch information...
RyeMutt committed Jan 29, 2016
1 parent 192539f commit 2d7e73bc70f6446869791ee5f3b7174bc208d40a
@@ -97,7 +97,15 @@ public enum FrameworkVersion
/// .NET 4.5
/// </summary>
v4_5,
}
/// <summary>
/// .NET 4.6
/// </summary>
v4_6,
/// <summary>
/// .NET 4.6.1
/// </summary>
v4_6_1,
}
/// <summary>
/// The Node object representing /Prebuild/Solution/Project elements
/// </summary>
@@ -106,6 +106,9 @@ protected override string GetToolsVersionXml(FrameworkVersion frameworkVersion)
{
switch (frameworkVersion)
{
case FrameworkVersion.v4_6_1:
case FrameworkVersion.v4_6:
return "ToolsVersion=\"14.0\"";
case FrameworkVersion.v4_5:
return "ToolsVersion=\"12.0\"";
case FrameworkVersion.v4_0:
@@ -106,6 +106,9 @@ protected override string GetToolsVersionXml(FrameworkVersion frameworkVersion)
{
switch (frameworkVersion)
{
case FrameworkVersion.v4_6_1:
case FrameworkVersion.v4_6:
return "ToolsVersion=\"14.0\"";
case FrameworkVersion.v4_5:
return "ToolsVersion=\"12.0\"";
case FrameworkVersion.v4_0:
View
Binary file not shown.

0 comments on commit 2d7e73b

Please sign in to comment.