Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net8.0;net9.0</TargetFrameworks>
<PackageId>FluentResults.Extensions.AspNetCore</PackageId>
<Version>0.2.0.0</Version>
<Version>0.2.1.0</Version>
<Authors>Michael Altmann</Authors>
<Description>FluentResult Asp.Net Core integration</Description>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReleaseNotes>
- CHANGED Microsoft.AspNetCore.Mvc.Core update to 2.3.0 (2.2.5 is deprecated) #233
- CHANGED Microsoft.AspNetCore.Mvc.Core update to 2.3.0 (2.2.5 is deprecated) #233
- CHANGED Microsoft.AspNetCore.Mvc.Core package reference to Microsoft.AspNetCore.App framework reference for .NET8 and .NET9 #238
</PackageReleaseNotes>
<Copyright>Copyright 2025 (c) Michael Altmann. All rights reserved.</Copyright>
<Copyright>Copyright 2022 (c) Michael Altmann. All rights reserved.</Copyright>
<PackageTags>Result Results exception error handling FluentResults</PackageTags>
<PackageProjectUrl>https://github.com/altmann/FluentResults</PackageProjectUrl>
<PackageIconUrl>https://raw.githubusercontent.com/altmann/FluentResults/master/resources/icons/FluentResults-Icon-128.png</PackageIconUrl>
Expand All @@ -24,9 +25,20 @@
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup>


<PropertyGroup>
<UseFrameworkReference>$([MSBuild]::VersionGreaterThanOrEquals('$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)'))','8.0'))</UseFrameworkReference>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentResults" Version="4.0.0" />
</ItemGroup>

<ItemGroup Condition="$(UseFrameworkReference)" >
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

<ItemGroup Condition="!$(UseFrameworkReference)" >
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.3.0" />
</ItemGroup>

Expand Down
32 changes: 24 additions & 8 deletions src/FluentResults/FluentResults.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net8.0;net9.0</TargetFrameworks>
<PackageId>FluentResults</PackageId>
<Version>4.0.0.0</Version>
<Version>4.0.1.0</Version>
<Authors>Michael Altmann</Authors>
<Description>A lightweight Result object implementation for .NET</Description>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReleaseNotes>
- CHANGED Introduce ReadOnlyList type #164
- CHANGED Deconstruct operators (BREAKING CHANGE) #217
- CHANGED Calling Fail methods with an empty error list throws exception #227
- CHANGED Introduce ReadOnlyList type #164
- CHANGED Deconstruct operators (BREAKING CHANGE) #217
- CHANGED Calling Fail methods with an empty error list throws exception #227
- ADDED FailIf methods accepting a collection of errors #213
- ADDED Enumerable support for Merge #215
- ADDED OrFailIf method #221
- ADDED .NET8 and .NET9 support
- ADDED .NET8 and .NET9 support
- FIXED readme #225 #228 #229 #230
</PackageReleaseNotes>
<Copyright>Copyright 2025 (c) Michael Altmann. All rights reserved.</Copyright>
- FIXED PackageReferences for .NET8 and .NET9 #238
</PackageReleaseNotes>
<Copyright>Copyright 2024 (c) Michael Altmann. All rights reserved.</Copyright>
<PackageTags>Result Results exception error handling</PackageTags>
<PackageProjectUrl>https://github.com/altmann/FluentResults</PackageProjectUrl>
<PackageIconUrl>https://raw.githubusercontent.com/altmann/FluentResults/master/resources/icons/FluentResults-Icon-128.png</PackageIconUrl>
Expand All @@ -33,6 +34,10 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<PropertyGroup>
<UseFrameworkReference>$([MSBuild]::VersionGreaterThanOrEquals('$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)'))','8.0'))</UseFrameworkReference>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\resources\icons\FluentResults-Icon-128.png" Pack="true" PackagePath="" />
</ItemGroup>
Expand All @@ -42,8 +47,19 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.1.1" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>

<ItemGroup Condition="!$(UseFrameworkReference)">
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.1.1" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.3" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.7" />
</ItemGroup>
</Project>