Skip to content

Commit

Permalink
fix: MediatR correct version (#31)
Browse files Browse the repository at this point in the history
* feat: .NET 6 Support

* Update pull-request.yml

* feat: adding .NET 6

* feat: Updating to .NET 6

* feat: Updating to .NET 6

feat: Updating to .NET 6

* feat: Updating to .NET 6

feat: Updating to .NET 6

* feat: dotnet 6

feat: dotnet 6

BREAKING CHANGE: Update to .NET 6

* feat: dotnet 6

feat: dotnet 6

BREAKING CHANGE: Update to .NET 6

* fix: MediatR correct version

fix: MediatR correct version
  • Loading branch information
EduardoPires committed Mar 22, 2022
1 parent be9ff2d commit 1e0e7b5
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 40 deletions.
2 changes: 1 addition & 1 deletion src/NetDevPack.Perf/NetDevPack.Perf.csproj
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net5.0;net6.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
86 changes: 47 additions & 39 deletions src/NetDevPack/NetDevPack.csproj
@@ -1,47 +1,55 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0</TargetFrameworks>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Authors>Eduardo Pires</Authors>
<Company>desenvolvedor.io</Company>
<Description>.NET DevPack is a set of common implementations to help you implementing DDD, CQRS, Specification Patterns and another facilities</Description>
<PackageDescription>.NET DevPack is a set of common implementations to help you implementing DDD, CQRS, Specification Patterns and another facilities</PackageDescription>
<PackageProjectUrl>https://github.com/EduardoPires/NetDevPack</PackageProjectUrl>
<PackageId>NetDevPack</PackageId>
<PackageIcon>IconNuget.png</PackageIcon>
<RepositoryUrl>https://github.com/EduardoPires/NetDevPack</RepositoryUrl>
<Authors>EduardoPires</Authors>
<RepositoryType>Public</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Version>6.0.0</Version>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0</TargetFrameworks>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Authors>Eduardo Pires</Authors>
<Company>desenvolvedor.io</Company>
<Description>.NET DevPack is a set of common implementations to help you implementing DDD, CQRS, Specification Patterns and another facilities</Description>
<PackageDescription>.NET DevPack is a set of common implementations to help you implementing DDD, CQRS, Specification Patterns and another facilities</PackageDescription>
<PackageProjectUrl>https://github.com/EduardoPires/NetDevPack</PackageProjectUrl>
<PackageId>NetDevPack</PackageId>
<PackageIcon>IconNuget.png</PackageIcon>
<RepositoryUrl>https://github.com/EduardoPires/NetDevPack</RepositoryUrl>
<Authors>EduardoPires</Authors>
<RepositoryType>Public</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Version>6.0.0</Version>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentValidation" Version="10.4.0" />
<PackageReference Include="mediatr" Version="9.0.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="FluentValidation" Version="10.4.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Memory" Version="4.5.4" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Memory" Version="4.5.4" />
<PackageReference Include="mediatr" Version="9.0.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="mediatr" Version="10.0.1" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
<PackageReference Include="mediatr" Version="9.0.0" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\assets\IconNuget.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

<Target Name="CopyHook" AfterTargets="AfterBuild" Condition=" '$(Configuration)' == 'Debug' ">
<ItemGroup>
<_CustomFiles Include="../../.github/hooks/commit-msg" />
</ItemGroup>
<Copy SourceFiles="@(_CustomFiles)" DestinationFolder="../../../.git/hooks" />
</Target>
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
<PackageReference Include="mediatr" Version="9.0.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="mediatr" Version="10.0.1" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\assets\IconNuget.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

<Target Name="CopyHook" AfterTargets="AfterBuild" Condition=" '$(Configuration)' == 'Debug' ">
<ItemGroup>
<_CustomFiles Include="../../.github/hooks/commit-msg" />
</ItemGroup>
<Copy SourceFiles="@(_CustomFiles)" DestinationFolder="../../../.git/hooks" />
</Target>

</Project>

0 comments on commit 1e0e7b5

Please sign in to comment.