Skip to content

Commit

Permalink
Added strongly named key to DotLiquid assembly, meaning it can now be…
Browse files Browse the repository at this point in the history
… deployed in the GAC.

The .snk file is part of the repository; because anybody is able to create "official" builds, it's up to users to get binaries from the official places.
  • Loading branch information
Tim Jones committed Feb 12, 2011
1 parent 99241f8 commit 86eddbe
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/DotLiquid-2008.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotLiquid.Tests-2008", "Dot
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{87053136-172C-4698-9C77-78E85E99148D}"
ProjectSection(SolutionItems) = preProject
changelog.txt = changelog.txt
readme.txt = readme.txt
EndProjectSection
EndProject
Expand Down
5 changes: 5 additions & 0 deletions src/DotLiquid.Tests/DotLiquid.Tests-2008.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>Formosatek-OpenSource.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -81,6 +83,9 @@
<Name>DotLiquid-2008</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="Formosatek-OpenSource.snk" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 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.
Expand Down
9 changes: 9 additions & 0 deletions src/DotLiquid.Tests/DotLiquid.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>Formosatek-OpenSource.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="nunit.framework">
<HintPath>..\..\lib\NUnit\nunit.framework.dll</HintPath>
Expand Down Expand Up @@ -79,6 +85,9 @@
<Name>DotLiquid</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="Formosatek-OpenSource.snk" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 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.
Expand Down
Binary file added src/DotLiquid.Tests/Formosatek-OpenSource.snk
Binary file not shown.
1 change: 1 addition & 0 deletions src/DotLiquid.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotLiquid.Tests", "DotLiqui
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{87053136-172C-4698-9C77-78E85E99148D}"
ProjectSection(SolutionItems) = preProject
changelog.txt = changelog.txt
readme.txt = readme.txt
EndProjectSection
EndProject
Expand Down
5 changes: 5 additions & 0 deletions src/DotLiquid/DotLiquid-2008.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>Formosatek-OpenSource.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -119,6 +121,9 @@
<LastGenOutput>Resources.it.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="Formosatek-OpenSource.snk" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 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.
Expand Down
9 changes: 9 additions & 0 deletions src/DotLiquid/DotLiquid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>Formosatek-OpenSource.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down Expand Up @@ -117,6 +123,9 @@
<LastGenOutput>Resources.it.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="Formosatek-OpenSource.snk" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 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.
Expand Down
Binary file added src/DotLiquid/Formosatek-OpenSource.snk
Binary file not shown.
6 changes: 3 additions & 3 deletions src/DotLiquid/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
[assembly: AssemblyVersion("1.2.1.0")]
[assembly: AssemblyFileVersion("1.2.1.0")]

[assembly: InternalsVisibleTo("DotLiquid.Tests")]
[assembly: InternalsVisibleTo("DotLiquid.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010093ae26e2c87851b659e9847a0a9c6088a4ad1988df9b176d56c3996e33458273df5c2138b5bf13b2352a99152f10ef1bc2564069179d5344ba723a875ea048b80fcb34c1c5ff7e3d131cb208140265e5144183570d1e0433c1a37959720e0d8d83a7ee870d5e0dd904afc62663103eb2e2105e1eddeadfe876c9ccc90a31cfbf")]
Binary file added src/Formosatek-OpenSource.snk
Binary file not shown.
3 changes: 3 additions & 0 deletions src/changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
v1.2.1.0 - 2011-02-12
- Signed DotLiquid assembly with strong name. DotLiquid.dll can now be placed in GAC.
- Created changelog.txt :)

0 comments on commit 86eddbe

Please sign in to comment.