Skip to content

Commit 252f9bf

Browse files
committed
clang-format VS plugin: upgrade the project files to VS2015
The plugin itself runs on previous VS versions, but this enables it to be built with VS2015. llvm-svn: 281648
1 parent 1d98d62 commit 252f9bf

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

clang/tools/clang-format-vs/ClangFormat.sln

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 2012
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.25420.1
5+
MinimumVisualStudioVersion = 10.0.40219.1
46
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClangFormat", "ClangFormat\ClangFormat.csproj", "{7FD1783E-2D31-4D05-BF23-6EBE1B42B608}"
57
EndProject
68
Global

clang/tools/clang-format-vs/ClangFormat/ClangFormat.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<SignAssembly>true</SignAssembly>
1515
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
1616
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
17-
<MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion>
17+
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
1818
<FileUpgradeFlags>
1919
</FileUpgradeFlags>
2020
<UpgradeBackupLocation>
@@ -219,7 +219,7 @@
219219
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
220220
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\VSSDK\Microsoft.VsSDK.targets" Condition="false" />
221221
<PropertyGroup>
222-
<PreBuildEvent>if not exist $(ProjectDir)Key.snk ("$(FrameworkSDKDir)Bin\NETFX 4.5.1 Tools\sn.exe" -k $(ProjectDir)Key.snk)</PreBuildEvent>
222+
<PreBuildEvent>if not exist $(ProjectDir)Key.snk ("$(FrameworkSDKDir)Bin\NETFX 4.6 Tools\sn.exe" -k $(ProjectDir)Key.snk)</PreBuildEvent>
223223
</PropertyGroup>
224224
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
225225
Other similar extension points exist, see Microsoft.Common.targets.

clang/tools/clang-format-vs/ClangFormat/Resources.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)