forked from ssvaidya/VSProjectConverter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
VS2008Info.cs
85 lines (75 loc) · 2.04 KB
/
VS2008Info.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
85
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ProjectConverter
{
public class VS2008Info: VSProjectVersionInfo
{
/// <summary>
/// The Tools Version for Visual Studio 2008 is always 3.5
/// </summary>
const string TOOLS_VERSION = "3.5";
public override string OldToolsVersion
{
get
{
return Settings.Default.VS2008_OldToolsVersion;
}//get
set
{
throw new NotImplementedException();
}//set
}
public override string ProductVersion
{
get
{
return Settings.Default.VS2008_Version;
}
set
{
throw new NotImplementedException();
}
}
/// <summary>
/// Gets and sets the available Target Framework Versions
/// for Visual Studio 2008
/// </summary>
/// <remarks>Visual Studio 2010 supports .Net 2.0, .Net 3.0,
/// and .Net 3.5</remarks>
public override string TargetFrameworkVersion
{
get
{
return Settings.Default.VS2008_TargetFramework;
}//get
set
{
throw new NotImplementedException();
}//set
}
public override string ToolsVersion
{
get
{
return TOOLS_VERSION;
}//get
set
{
throw new NotImplementedException();
}
}
public override string MaxFrameworkVersion
{
get
{
return "v3.5";
}
}//property
public override string CheckFrameworkVersion(string strOldFrameworkVersion, string defaultFrameworkVersion = "v2.0")
{
return base.CheckFrameworkVersion(strOldFrameworkVersion, defaultFrameworkVersion);
}
}
}