author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sun, 20 Nov 2011 20:14:48 +0200 | |
changeset 1092 | 639665016a27 |
parent 871 | a992a0bbb057 |
permissions | -rw-r--r-- |
422
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
1 |
-*- mode: outline; coding: utf-8 -*- |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
|
424 | 3 |
* Downloads. |
4 |
||
5 |
** MSVC. |
|
6 |
||
7 |
||
8 |
||
9 |
** SDK. |
|
10 |
||
11 |
http://msdn.microsoft.com/en-us/windows/bb980924.aspx |
|
12 |
Windows SDK |
|
13 |
||
422
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
14 |
* Register SDK to Visual Studio. |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
15 |
|
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
16 |
To check all available version: |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
17 |
|
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
18 |
cmd> cd %PROGRAMFILES%\Microsoft SDKs\Windows\vX.X\Setup\ |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
19 |
cmd> WindowsSdkVer.exe -version |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
20 |
|
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
21 |
To check current used version: |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
22 |
|
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
23 |
cmd> cd %PROGRAMFILES%\Microsoft SDKs\Windows\vX.X\Setup\ |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
24 |
cmd> WindowsSdkVer.exe -current |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
25 |
|
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
26 |
Register SDK: |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
27 |
|
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
28 |
cmd> cd %PROGRAMFILES%\Microsoft SDKs\Windows\vX.X\Setup\ |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
29 |
cmd> WindowsSdkVer.exe -version:v6.1 |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
30 |
|
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
31 |
* MSVC versions. |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
32 |
|
424 | 33 |
NAME VER _MSC_VER cl |
422
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
34 |
|
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
35 |
Visual Studio 6.0 (1998) 6.0 1200 |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
36 |
Visual Studio .NET (2002) 7.0 1300 |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
37 |
Visual Studio .NET 2003 7.1 1310 |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
38 |
Visual Studio 2005 8.0 1400 14.00 |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
39 |
Visual Studio 2008 9.0 1500 15.00 |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
40 |
Visual Studio 2010 10.0 1600 16.00 |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
41 |
|
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
42 |
To check version from command line: |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
43 |
|
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
44 |
cmd# cl /help 2>&1 | head -n 1 |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
45 |
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x8 |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
46 |
cmd# cl /help 2>&1 | head -n 1 | sed "s=.*Version \([0-9]*\)\.\([0-9]*\)\..*=\1.\2=" |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
47 |
16.00 |
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
48 |
|
407f7a46f7e6
Register SDK to Visual Studio. MSVC versions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
49 |
http://predef.sourceforge.net/precomp.html#sec35 |
424 | 50 |
|
479
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
51 |
* MFC versions. |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
52 |
|
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
53 |
MFC version Visual C++ version |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
54 |
|
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
55 |
1.0 Microsoft C/C++ 7.0 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
56 |
2.0 Visual C++ 1.0 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
57 |
2.5 Visual C++ 1.5 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
58 |
3.0 Visual C++ 2.0 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
59 |
3.1 Visual C++ 2.1 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
60 |
3.2 Visual C++ 2.2 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
61 |
4.0 Visual C++ 4.0 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
62 |
4.1 Visual C++ 4.1 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
63 |
4.2 Visual C++ 4.2 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
64 |
4.21 (mfc42.dll) Visual C++ 5.0 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
65 |
6.0 (mfc42.dll) Visual C++ 6.0 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
66 |
7.0 (mfc70.dll) Visual C++ .NET 2002 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
67 |
7.1 (mfc71.dll) Visual C++ .NET 2003 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
68 |
8.0 (mfc80.dll) Visual C++ 2005 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
69 |
|
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
70 |
http://msdn.microsoft.com/en-us/library/3z02ch3k.aspx |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
71 |
ATL and MFC Version Numbers |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
72 |
|
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
73 |
* ALT version. |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
74 |
|
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
75 |
ATL version Visual C++ version |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
76 |
|
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
77 |
1.0, 1.1, 2.0 None. Released to Web in Visual C++ 4.x time frame. |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
78 |
3.0 Visual C++ 6.0 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
79 |
7.0 Visual C++ .NET 2002 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
80 |
7.1 Visual C++ .NET 2003 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
81 |
8.0 Visual C++ 2005 |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
82 |
|
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
83 |
http://msdn.microsoft.com/en-us/library/3z02ch3k.aspx |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
84 |
ATL and MFC Version Numbers |
ff808bf704f8
ATL and MFC Version Numbers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
424
diff
changeset
|
85 |
|
424 | 86 |
* MS SDK version. |
87 |
||
88 |
VER |
|
89 |
||
90 |
Included in Visual Studio 2005 v5.0 |
|
91 |
Included in Visual Studio 2008 v6.0A |
|
92 |
SDK Update for Windows Vista |
|
93 |
SDK for Windows Server 2008 and .NET Framework 3.5 v6.1 |
|
94 |
Included in Visual Studio 2010 Express v7.0A |
|
95 |
SDK for Windows 7 and .NET Framework 3.5 SP 1 v7.0 |
|
96 |
SDK for Windows 7 and .NET Framework 4 v7.1 |
|
97 |
||
98 |
http://msdn.microsoft.com/en-us/windows/dd146047.aspx |
|
99 |
Which SDK do I install? |
|
100 |
http://en.wikipedia.org/wiki/Microsoft_Windows_SDK#Versions |
|
101 |
||
102 |
* MSVC and SDK compatibility. |
|
103 |
||
104 |
v6.1: MSVC 2005, 2008 + express |
|
105 |
v7.0: MSVC 2008 + express |
|
106 |
v7.1: MSVC 2005, 2008, 2010 + express |
|
808
60e13fe019bf
Build MSVC project from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
107 |
|
60e13fe019bf
Build MSVC project from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
108 |
* Build MSVC project from command line. |
60e13fe019bf
Build MSVC project from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
109 |
|
60e13fe019bf
Build MSVC project from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
110 |
cmd> cd %proj% |
809 | 111 |
cmd> %WINDIR%\Microsoft.NET\Framework\v2.0.50727\msbuild.exe file.sln |
808
60e13fe019bf
Build MSVC project from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
112 |
|
60e13fe019bf
Build MSVC project from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
113 |
'msbuild.exe' can not upgrade Visual Studio project files, so you better use 'vcbuild.exe' (which |
60e13fe019bf
Build MSVC project from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
114 |
present in MSVC version 8.0/9.0): |
60e13fe019bf
Build MSVC project from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
115 |
|
60e13fe019bf
Build MSVC project from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
116 |
cmd> cd %proj% |
809 | 117 |
cmd> %MSVC_ROOT%\VC\vcpackages\vcbuild.exe file.sln |
118 |
cmd> %MSVC_ROOT%\VC\bin\amd64\vcbuild.exe file.vcproj |
|
808
60e13fe019bf
Build MSVC project from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
119 |
|
809 | 120 |
cmd> cd %proj% |
121 |
cmd> %MSVC_ROOT%\Common7\IDE\devenv.exe /Clean file.sln |
|
122 |
cmd> %MSVC_ROOT%\Common7\IDE\devenv.exe /Build file.sln |
|
123 |
cmd> %MSVC_ROOT%\Common7\IDE\devenv.exe /Deploy file.sln |
|
808
60e13fe019bf
Build MSVC project from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
479
diff
changeset
|
124 |
|
810 | 125 |
http://msdn.microsoft.com/en-us/library/ms164311.aspx |
126 |
MSBuild Command Line Reference |
|
127 |
http://msdn.microsoft.com/en-us/library/kdxzbw9t.aspx |
|
128 |
VCBUILD Command Line |
|
129 |
http://msdn.microsoft.com/en-us/library/xee0c8y7.aspx |
|
130 |
Devenv Command Line Switches |
|
131 |
||
843
f482238ec20a
Check linking problem.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
810
diff
changeset
|
132 |
* Check linking problem. |
f482238ec20a
Check linking problem.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
810
diff
changeset
|
133 |
|
f482238ec20a
Check linking problem.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
810
diff
changeset
|
134 |
Use '/verbose:lib' to see list of libraries for linking and thier order. |
f482238ec20a
Check linking problem.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
810
diff
changeset
|
135 |
|
871 | 136 |
* Buy MSVC. |
137 |
||
138 |
http://msdn.microsoft.com/ru-ru/subscriptions/subscriptionschart.aspx |
|
139 |
Сравнение подписок MSDN |
|
140 |