Skip to content

Commit

Permalink
Fixed strong naming which was missing from Topshelf v4
Browse files Browse the repository at this point in the history
  • Loading branch information
phatboyg committed May 8, 2016
1 parent fb17936 commit 7e64a47
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let packagesPath = FullName "./src/packages"
let keyFile = FullName "./Topshelf.snk"

let assemblyVersion = "4.0.0.0"
let baseVersion = "4.0.0"
let baseVersion = "4.0.1"

let semVersion : SemVerInfo = parse baseVersion

Expand Down
1 change: 1 addition & 0 deletions src/.nuget/NuGet.targets
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<!-- Package sources used to restore packages. By default, registered sources under %APPDATA%\NuGet\NuGet.Config will be used -->
<!-- The official NuGet package source (https://www.nuget.org/api/v2/) will be excluded if package sources are specified and it does not appear in the list -->
<PackageSource Include="https://www.nuget.org/api/v2/" />
<PackageSource Include="https://api.nuget.org/v3/index.json" />
<!--
<PackageSource Include="https://my-nuget-source/nuget/" />
-->
Expand Down
6 changes: 3 additions & 3 deletions src/SolutionVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
[assembly: AssemblyDescriptionAttribute("Topshelf is an open source project for hosting services without friction. By referencing Topshelf, your console application *becomes* a service installer with a comprehensive set of command-line options for installing, configuring, and running your application as a service.")]
[assembly: AssemblyProductAttribute("Topshelf")]
[assembly: AssemblyVersionAttribute("4.0.0.0")]
[assembly: AssemblyFileVersionAttribute("4.0.0.0")]
[assembly: AssemblyInformationalVersionAttribute("4.0.0.0 (drb/a3ac1e81)")]
[assembly: AssemblyFileVersionAttribute("4.0.1.0")]
[assembly: AssemblyInformationalVersionAttribute("4.0.1.0")]
[assembly: AssemblyCopyrightAttribute("Copyright 2012 Chris Patterson, Dru Sellers, Travis Smith, All rights reserved.")]
namespace System {
internal static class AssemblyVersionInformation {
internal const string Version = "4.0.0.0";
internal const string InformationalVersion = "4.0.0.0 (drb/a3ac1e81)";
internal const string InformationalVersion = "4.0.1.0";
}
}
4 changes: 0 additions & 4 deletions src/Topshelf.Elmah/Topshelf.Elmah.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFrameworkVersion)' == 'v3.5' ">
<DefineConstants>NET35</DefineConstants>
<OutputPath>bin\$(Configuration)\$(TargetFrameworkVersion)</OutputPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="Elmah">
<HintPath>..\packages\elmah.corelibrary.1.2.2\lib\Elmah.dll</HintPath>
Expand Down
6 changes: 6 additions & 0 deletions src/Topshelf.Log4Net/Topshelf.Log4Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<AssemblyOriginatorKeyFile>..\..\Topshelf.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.5\lib\net45-full\log4net.dll</HintPath>
Expand Down
6 changes: 6 additions & 0 deletions src/Topshelf.NLog/Topshelf.NLog.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<AssemblyOriginatorKeyFile>..\..\Topshelf.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
<HintPath>..\packages\NLog.4.3.3\lib\net45\NLog.dll</HintPath>
Expand Down
6 changes: 6 additions & 0 deletions src/Topshelf.Serilog/Topshelf.Serilog.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<AssemblyOriginatorKeyFile>..\..\Topshelf.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Serilog, Version=1.5.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL">
<HintPath>..\packages\Serilog.1.5.14\lib\net45\Serilog.dll</HintPath>
Expand Down
6 changes: 6 additions & 0 deletions src/Topshelf/Topshelf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
<NoWarn>3001,3009</NoWarn>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<AssemblyOriginatorKeyFile>..\..\Topshelf.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Configuration.Install" />
Expand Down

0 comments on commit 7e64a47

Please sign in to comment.