Skip to content

Commit 0edbca5

Browse files
committed
fixed: #57 Consider signed package version
moved: general stuff to Directory.Build.props
1 parent 4f75de1 commit 0edbca5

File tree

5 files changed

+63
-45
lines changed

5 files changed

+63
-45
lines changed

Directory.Build.props

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,17 @@
22
<PropertyGroup>
33
<!--Set to true to minimize number of target frameworks, to fasten the build :-) -->
44
<DevMode>true</DevMode>
5+
6+
<Authors>Maksim Volkau</Authors>
7+
<Copyright>Copyright © 2016-2019 Maksim Volkau</Copyright>
8+
<NeutralLanguage>en-US</NeutralLanguage>
9+
10+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
11+
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
512
</PropertyGroup>
13+
14+
<ItemGroup>
15+
<None Remove="**\*.orig" />
16+
<None Remove="**\*.ncrunchproject" />
17+
</ItemGroup>
618
</Project>

FastExpressionCompiler.snk

596 Bytes
Binary file not shown.

src/Directory.Build.props

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<Project>
2+
<Import Project="..\Directory.Build.props"/>
3+
4+
<!--Packages details-->
5+
<PropertyGroup>
6+
<PackageProjectUrl>https://github.com/dadhi/FastExpressionCompiler</PackageProjectUrl>
7+
8+
<PackageLicense>https://github.com/dadhi/FastExpressionCompiler/blob/master/LICENSE</PackageLicense>
9+
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
10+
11+
<RepositoryUrl>https://github.com/dadhi/FastExpressionCompiler</RepositoryUrl>
12+
<RepositoryType>git</RepositoryType>
13+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
14+
15+
<!-- <PackageIconUrl></PackageIconUrl> -->
16+
</PropertyGroup>
17+
18+
<!--Signing all packages, oh boy-->
19+
<PropertyGroup>
20+
<SignAssembly>true</SignAssembly>
21+
<AssemblyOriginatorKeyFile>..\..\FastExpressionCompiler.snk</AssemblyOriginatorKeyFile>
22+
</PropertyGroup>
23+
24+
<ItemGroup>
25+
<None Include="..\..\LICENSE" Pack="true" PackagePath="LICENSE" Visible="false" />
26+
<None Include="..\..\FastExpressionCompiler.snk" Pack="true" PackagePath="FastExpressionCompiler.snk" Visible="false" />
27+
</ItemGroup>
28+
29+
<PropertyGroup>
30+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
31+
</PropertyGroup>
32+
33+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
34+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
35+
<!-- <GeneratePackageOnBuild>true</GeneratePackageOnBuild> -->
36+
37+
<PackageOutputPath>..\..\.dist</PackageOutputPath>
38+
39+
<DebugType>embedded</DebugType>
40+
<DebugSymbols>true</DebugSymbols>
41+
<IncludeSymbols>false</IncludeSymbols>
42+
</PropertyGroup>
43+
44+
<!-- SourceLink support -->
45+
<ItemGroup>
46+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-18618-05" PrivateAssets="All" />
47+
</ItemGroup>
48+
49+
</Project>

src/FastExpressionCompiler.LightExpression/FastExpressionCompiler.LightExpression.csproj

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
<VersionSuffix></VersionSuffix>
88

99
<Product>FastExpressionCompiler.LightExpression</Product>
10-
<Authors>Maksim Volkau</Authors>
11-
<Copyright>Copyright © 2016-2019 Maksim Volkau</Copyright>
12-
<NeutralLanguage>en-US</NeutralLanguage>
1310

1411
<PackageId>$(Product)</PackageId>
1512
<Title>$(Product)</Title>
@@ -24,6 +21,7 @@ The version is v2 instead of v1 to match the FEC version, as they are "basically
2421
2522
The release includes all the goodies from FEC v2.0:
2623
24+
- added: #57 Consider signed package version!
2725
- added: #59 Support compiling delegates with ref and out parameters
2826
- added: #78 Lambda<Func<int>>(Block(Label(Label(typeof(int)), Constant(7)))) is not supported
2927
- added: #88 Lambda<Func<IntPtr>>(Block(Constant(IntPtr.Zero)))
@@ -60,33 +58,16 @@ The release includes all the goodies from FEC v2.0:
6058
- fixed: #172 Using FEC to compile a property setter with an enum value sets the property to random values
6159
]]>
6260
</PackageReleaseNotes>
63-
<PackageProjectUrl>https://github.com/dadhi/FastExpressionCompiler</PackageProjectUrl>
64-
<PackageLicense>https://github.com/dadhi/FastExpressionCompiler/blob/master/LICENSE</PackageLicense>
65-
<RepositoryUrl>https://github.com/dadhi/FastExpressionCompiler</RepositoryUrl>
66-
<RepositoryType>git</RepositoryType>
67-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
68-
69-
<PackageOutputPath>..\..\.dist</PackageOutputPath>
7061

7162
<AssemblyName>$(Product)</AssemblyName>
7263
<AssemblyTitle>$(Product) $(TargetFramework)</AssemblyTitle>
7364
<AssemblyVersion>$(VersionPrefix)</AssemblyVersion>
7465

75-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
76-
<GenerateDocumentationFile>true</GenerateDocumentationFile>
77-
7866
<DefineConstants>LIGHT_EXPRESSION</DefineConstants>
7967
</PropertyGroup>
8068

81-
<PropertyGroup Condition="'$(Configuration)'=='Release'">
82-
<DebugType>embedded</DebugType>
83-
<DebugSymbols>true</DebugSymbols>
84-
</PropertyGroup>
85-
8669
<ItemGroup>
8770
<Compile Include="..\FastExpressionCompiler\FastExpressionCompiler.cs" />
88-
<None Include="..\..\LICENSE" Pack="true" PackagePath="LICENSE" />
89-
<None Remove="**\*.orig" />
9071
</ItemGroup>
9172

9273
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">

src/FastExpressionCompiler/FastExpressionCompiler.csproj

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
<VersionSuffix></VersionSuffix>
99

1010
<Product>FastExpressionCompiler</Product>
11-
<Authors>Maksim Volkau</Authors>
12-
<Copyright>Copyright © 2016-2019 Maksim Volkau</Copyright>
13-
<NeutralLanguage>en-US</NeutralLanguage>
1411

1512
<PackageId>$(Product)</PackageId>
1613
<Title>$(Product)</Title>
@@ -25,6 +22,7 @@ and other contributors - kudos to all of them!
2522
- removed: `ExpressionInfo` was moved into separate package `FastExpressionCompiler.LigthExpression`
2623
with all the functionality of the FEC. The `ExpressionInfo` itself was renamed to `Expression` for more simple drop-in replacement.
2724
25+
- added: #57 Consider signed package version!
2826
- added: #59 Support compiling delegates with ref and out parameters
2927
- added: #78 Lambda<Func<int>>(Block(Label(Label(typeof(int)), Constant(7)))) is not supported
3028
- added: #88 Lambda<Func<IntPtr>>(Block(Constant(IntPtr.Zero)))
@@ -61,34 +59,12 @@ with all the functionality of the FEC. The `ExpressionInfo` itself was renamed t
6159
- fixed: #172 Using FEC to compile a property setter with an enum value sets the property to random values
6260
]]>
6361
</PackageReleaseNotes>
64-
<PackageProjectUrl>https://github.com/dadhi/FastExpressionCompiler</PackageProjectUrl>
65-
<PackageLicense>https://github.com/dadhi/FastExpressionCompiler/blob/master/LICENSE</PackageLicense>
66-
<RepositoryUrl>https://github.com/dadhi/FastExpressionCompiler</RepositoryUrl>
67-
<RepositoryType>git</RepositoryType>
68-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
69-
70-
<PackageOutputPath>..\..\.dist</PackageOutputPath>
7162

7263
<AssemblyName>$(Product)</AssemblyName>
7364
<AssemblyTitle>$(Product) $(TargetFramework)</AssemblyTitle>
7465
<AssemblyVersion>$(VersionPrefix)</AssemblyVersion>
75-
76-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77-
<GenerateDocumentationFile>true</GenerateDocumentationFile>
78-
7966
</PropertyGroup>
8067

81-
<PropertyGroup Condition="'$(Configuration)'=='Release'">
82-
<DebugType>embedded</DebugType>
83-
<DebugSymbols>true</DebugSymbols>
84-
</PropertyGroup>
85-
86-
<ItemGroup>
87-
<None Remove="FastExpressionCompiler.*.ncrunchproject" />
88-
<None Include="..\..\LICENSE" Pack="true" PackagePath="LICENSE" />
89-
<None Remove="**\*.orig" />
90-
</ItemGroup>
91-
9268
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
9369
</ItemGroup>
9470

0 commit comments

Comments
 (0)