-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create Common.Build.props for property reuse
- Loading branch information
Showing
6 changed files
with
77 additions
and
83 deletions.
There are no files selected for viewing
95 changes: 40 additions & 55 deletions
95
CSharpFunctionalExtensions.StrongName/CSharpFunctionalExtensions.StrongName.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,48 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net40;net45;net461;netstandard2.0;net5.0;net6.0</TargetFrameworks> | ||
<PackageId>CSharpFunctionalExtensions.StrongName</PackageId> | ||
<Authors>Vladimir Khorikov</Authors> | ||
<Description>CSharpFunctionalExtensions - functional extensions for C#</Description> | ||
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance> | ||
<PackageTags>C# Functional</PackageTags> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageProjectUrl>https://enterprisecraftsmanship.com/ps-func</PackageProjectUrl> | ||
<RepositoryUrl>https://github.com/vkhorikov/CSharpFunctionalExtensions/</RepositoryUrl> | ||
<NeutralLanguage>en-US</NeutralLanguage> | ||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> | ||
<LangVersion>9.0</LangVersion> | ||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> | ||
<NoWarn>1591;1701;1702</NoWarn> | ||
<AssemblyOriginatorKeyFile>CSharpFunctionalExtensions.snk</AssemblyOriginatorKeyFile> | ||
<SignAssembly>true</SignAssembly> | ||
</PropertyGroup> | ||
<Import Project="../Common.Build.props"/> | ||
|
||
<PropertyGroup Condition="'$(TargetFramework)'=='net45'"> | ||
<AssemblyTitle>CSharpFunctionalExtensions (with a strong name) .NET 4.5</AssemblyTitle> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(TargetFramework)'=='net461'"> | ||
<AssemblyTitle>CSharpFunctionalExtensions (with a strong name) .NET 4.6.1</AssemblyTitle> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard2.0'"> | ||
<AssemblyTitle>CSharpFunctionalExtensions (with a strong name) .NET Standard 2.0</AssemblyTitle> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(TargetFramework)'=='net5.0'"> | ||
<AssemblyTitle>CSharpFunctionalExtensions (with a strong name) .NET 5.0</AssemblyTitle> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(TargetFramework)'=='net6.0'"> | ||
<AssemblyTitle>CSharpFunctionalExtensions (with a strong name) .NET 6.0</AssemblyTitle> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<PackageId>CSharpFunctionalExtensions.StrongName</PackageId> | ||
<AssemblyOriginatorKeyFile>CSharpFunctionalExtensions.snk</AssemblyOriginatorKeyFile> | ||
<SignAssembly>true</SignAssembly> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)'=='net40'"> | ||
<PackageReference Include="Microsoft.Bcl.Async" Version="1.0.168"/> | ||
</ItemGroup> | ||
<PropertyGroup Condition="'$(TargetFramework)'=='net45'"> | ||
<AssemblyTitle>CSharpFunctionalExtensions (with a strong name) .NET 4.5</AssemblyTitle> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(TargetFramework)'=='net461'"> | ||
<AssemblyTitle>CSharpFunctionalExtensions (with a strong name) .NET 4.6.1</AssemblyTitle> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard2.0'"> | ||
<AssemblyTitle>CSharpFunctionalExtensions (with a strong name) .NET Standard 2.0</AssemblyTitle> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(TargetFramework)'=='net5.0'"> | ||
<AssemblyTitle>CSharpFunctionalExtensions (with a strong name) .NET 5.0</AssemblyTitle> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(TargetFramework)'=='net6.0'"> | ||
<AssemblyTitle>CSharpFunctionalExtensions (with a strong name) .NET 6.0</AssemblyTitle> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)'=='net40'"> | ||
<PackageReference Include="Microsoft.Bcl.Async" Version="1.0.168"/> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="!$(DefineConstants.Contains('NET5_0_OR_GREATER')) and !$(DefineConstants.Contains('NETCORE'))"> | ||
<EmbeddedResource Remove="Result\Json\Serialization\**" /> | ||
<None Remove="Result\Json\Serialization\**" /> | ||
<Compile Include="..\CSharpFunctionalExtensions\**\*.cs" | ||
Exclude="..\CSharpFunctionalExtensions\obj\**\*.cs;..\CSharpFunctionalExtensions\Result\Json\Serialization\**"/> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="$(DefineConstants.Contains('NET5_0_OR_GREATER')) or $(DefineConstants.Contains('NETCORE'))"> | ||
<Compile Include="..\CSharpFunctionalExtensions\**\*.cs" Exclude="..\CSharpFunctionalExtensions\obj\**\*.cs"/> | ||
</ItemGroup> | ||
<ItemGroup Condition="!$(DefineConstants.Contains('NET5_0_OR_GREATER')) and !$(DefineConstants.Contains('NETCORE'))"> | ||
<EmbeddedResource Remove="Result\Json\Serialization\**"/> | ||
<None Remove="Result\Json\Serialization\**"/> | ||
<Compile Include="..\CSharpFunctionalExtensions\**\*.cs" | ||
Exclude="..\CSharpFunctionalExtensions\obj\**\*.cs;..\CSharpFunctionalExtensions\Result\Json\Serialization\**"/> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="$(DefineConstants.Contains('NET5_0_OR_GREATER')) or $(DefineConstants.Contains('NETCORE'))"> | ||
<Compile Include="..\CSharpFunctionalExtensions\**\*.cs" Exclude="..\CSharpFunctionalExtensions\obj\**\*.cs"/> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<TargetFrameworks>net40;net45;net461;netstandard2.0;net5.0;net6.0</TargetFrameworks> | ||
<Authors>Vladimir Khorikov</Authors> | ||
<Description>CSharpFunctionalExtensions - functional extensions for C#</Description> | ||
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance> | ||
<PackageTags>C# Functional</PackageTags> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageProjectUrl>https://enterprisecraftsmanship.com/ps-func</PackageProjectUrl> | ||
<RepositoryUrl>https://github.com/vkhorikov/CSharpFunctionalExtensions/</RepositoryUrl> | ||
<NeutralLanguage>en-US</NeutralLanguage> | ||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> | ||
<LangVersion>9.0</LangVersion> | ||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> | ||
<NoWarn>1591;1701;1702</NoWarn> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters