forked from ssvaidya/VSProjectConverter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
VS2013Info.cs
84 lines (75 loc) · 2.07 KB
/
VS2013Info.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ProjectConverter
{
public class VS2013Info: VSProjectVersionInfo, IVSIinfo, IVSVersionInfo
{
/// <summary>
/// The Tools Version for Visual Studio 2013 is always 4.0
/// </summary>
const string TOOLS_VERSION = "4.0";
public override string OldToolsVersion
{
get
{
return Settings.Default.VS2013_OldToolsVersion;
}//get
set
{
throw new NotImplementedException();
}//set
}
public override string ProductVersion
{
get
{
return string.Empty;
}
set
{
throw new NotImplementedException();
}
}
/// <summary>
/// Gets and sets the available Target Framework Versions
/// for Visual Studio 2013
/// </summary>
/// <remarks>Visual Studio 2013 supports .Net 2.0, .Net 3.0,
/// .Net 3.5,.Net 4.0 and .Net 4.5 out of the box</remarks>
public override string TargetFrameworkVersion
{
get
{
return Settings.Default.VS2013_TargetFramework;
}//get
set
{
throw new NotImplementedException();
}//set
}
public override string ToolsVersion
{
get
{
return TOOLS_VERSION;
}
set
{
throw new NotImplementedException();
}
}
public override string MaxFrameworkVersion
{
get
{
return "v4.5";
}
}//property
public override string CheckFrameworkVersion(string strOldFrameworkVersion, string defaultFrameworkVersion = "v2.0")
{
return base.CheckFrameworkVersion(strOldFrameworkVersion, defaultFrameworkVersion);
}
}
}