[llvm] r338740 - Update the LLVM VS integration to sign the assembly.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 2 10:20:31 PDT 2018
Author: zturner
Date: Thu Aug 2 10:20:31 2018
New Revision: 338740
URL: http://llvm.org/viewvc/llvm-project?rev=338740&view=rev
Log:
Update the LLVM VS integration to sign the assembly.
Modified:
llvm/trunk/tools/msbuild/.gitignore
llvm/trunk/tools/msbuild/llvm.csproj
Modified: llvm/trunk/tools/msbuild/.gitignore
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/msbuild/.gitignore?rev=338740&r1=338739&r2=338740&view=diff
==============================================================================
--- llvm/trunk/tools/msbuild/.gitignore (original)
+++ llvm/trunk/tools/msbuild/.gitignore Thu Aug 2 10:20:31 2018
@@ -1,2 +1,6 @@
-bin
-obj
+obj/
+bin/
+.vs/
+Key.snk
+packages/
+*.csproj.user
Modified: llvm/trunk/tools/msbuild/llvm.csproj
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/msbuild/llvm.csproj?rev=338740&r1=338739&r2=338740&view=diff
==============================================================================
--- llvm/trunk/tools/msbuild/llvm.csproj (original)
+++ llvm/trunk/tools/msbuild/llvm.csproj Thu Aug 2 10:20:31 2018
@@ -64,6 +64,7 @@
<None Include="source.extension.vsixmanifest">
<SubType>Designer</SubType>
</None>
+ <None Include="Key.snk" />
<Content Include="Platformx64\Toolset.props">
<IncludeInVSIX>true</IncludeInVSIX>
<InstallRoot>VCTargets</InstallRoot>
@@ -90,11 +91,7 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
+ <PropertyGroup>
+ <PreBuildEvent>if not exist $(ProjectDir)Key.snk ("$(TargetFrameworkSDKToolsDirectory)\x64\sn.exe" -k $(ProjectDir)Key.snk)</PreBuildEvent>
+ </PropertyGroup>
</Project>
\ No newline at end of file
More information about the llvm-commits
mailing list