Skip to content

Commit

Permalink
Bump the dotnet group across 1 directory with 12 updates
Browse files Browse the repository at this point in the history
Bumps the dotnet group with 12 updates in the /src/Cropper.Blazor directory:

| Package | From | To |
| --- | --- | --- |
| [BlazorWasmPreRendering.Build](https://github.com/jsakamoto/BlazorWasmPreRendering.Build) | `4.0.0` | `4.0.1` |
| [Microsoft.AspNetCore.Components.WebAssembly.DevServer](https://github.com/dotnet/aspnetcore) | `8.0.8` | `8.0.10` |
| [Microsoft.AspNetCore.WebUtilities](https://github.com/dotnet/aspnetcore) | `8.0.8` | `8.0.10` |
| [Microsoft.Extensions.DependencyInjection.Abstractions](https://github.com/dotnet/runtime) | `8.0.1` | `8.0.2` |
| [MudBlazor](https://github.com/MudBlazor/MudBlazor) | `7.6.0` | `7.15.0` |
| [Microsoft.AspNetCore.Components.Web](https://github.com/dotnet/aspnetcore) | `8.0.7` | `8.0.8` |
| [FluentAssertions](https://github.com/fluentassertions/fluentassertions) | `6.12.0` | `6.12.1` |
| [Moq](https://github.com/moq/moq) | `4.20.70` | `4.20.72` |
| [Bogus](https://github.com/bchavez/Bogus) | `35.6.0` | `35.6.1` |
| [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) | `17.11.0` | `17.11.1` |
| [xunit](https://github.com/xunit/xunit) | `2.9.0` | `2.9.2` |
| [Microsoft.AspNetCore.Components.WebAssembly.Server](https://github.com/dotnet/aspnetcore) | `8.0.8` | `8.0.10` |



Updates `BlazorWasmPreRendering.Build` from 4.0.0 to 4.0.1
- [Changelog](https://github.com/jsakamoto/BlazorWasmPreRendering.Build/blob/master/RELEASE-NOTES.txt)
- [Commits](jsakamoto/BlazorWasmPreRendering.Build@v.4.0.0...v.4.0.1)

Updates `Microsoft.AspNetCore.Components.WebAssembly.DevServer` from 8.0.8 to 8.0.10
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](dotnet/aspnetcore@v8.0.8...v8.0.10)

Updates `Microsoft.AspNetCore.WebUtilities` from 8.0.8 to 8.0.10
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](dotnet/aspnetcore@v8.0.8...v8.0.10)

Updates `Microsoft.Extensions.DependencyInjection.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](dotnet/runtime@v8.0.1...v8.0.2)

Updates `MudBlazor` from 7.6.0 to 7.15.0
- [Release notes](https://github.com/MudBlazor/MudBlazor/releases)
- [Changelog](https://github.com/MudBlazor/MudBlazor/blob/dev/CHANGELOG.md)
- [Commits](MudBlazor/MudBlazor@v7.6.0...v7.15.0)

Updates `Microsoft.AspNetCore.Components.Web` from 8.0.7 to 8.0.8
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](dotnet/aspnetcore@v8.0.7...v8.0.8)

Updates `FluentAssertions` from 6.12.0 to 6.12.1
- [Release notes](https://github.com/fluentassertions/fluentassertions/releases)
- [Changelog](https://github.com/fluentassertions/fluentassertions/blob/develop/AcceptApiChanges.ps1)
- [Commits](fluentassertions/fluentassertions@6.12.0...6.12.1)

Updates `Moq` from 4.20.70 to 4.20.72
- [Release notes](https://github.com/moq/moq/releases)
- [Changelog](https://github.com/devlooped/moq/blob/main/changelog.md)
- [Commits](moq/moq.spikes@v4.20.70...v4.20.72)

Updates `Bogus` from 35.6.0 to 35.6.1
- [Release notes](https://github.com/bchavez/Bogus/releases)
- [Changelog](https://github.com/bchavez/Bogus/blob/master/HISTORY.md)
- [Commits](bchavez/Bogus@v35.6.0...v35.6.1)

Updates `Microsoft.NET.Test.Sdk` from 17.11.0 to 17.11.1
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.11.0...v17.11.1)

Updates `xunit` from 2.9.0 to 2.9.2
- [Commits](xunit/xunit@v2-2.9.0...v2-2.9.2)

Updates `Microsoft.AspNetCore.Components.WebAssembly.Server` from 8.0.8 to 8.0.10
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](dotnet/aspnetcore@v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: BlazorWasmPreRendering.Build
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Microsoft.AspNetCore.Components.WebAssembly.DevServer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Microsoft.AspNetCore.WebUtilities
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Microsoft.Extensions.DependencyInjection.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: MudBlazor
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dotnet
- dependency-name: Microsoft.AspNetCore.Components.Web
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: FluentAssertions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Moq
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Bogus
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Microsoft.AspNetCore.Components.WebAssembly.Server
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored Nov 1, 2024
1 parent 3c10529 commit 4be1111
Show file tree
Hide file tree
Showing 6 changed files with 166 additions and 166 deletions.
6 changes: 3 additions & 3 deletions src/Cropper.Blazor/Client/Cropper.Blazor.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

<!--Packages-->
<ItemGroup>
<PackageReference Include="BlazorWasmPreRendering.Build" Version="4.0.0" />
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="8.0.8" />
<PackageReference Include="BlazorWasmPreRendering.Build" Version="4.0.1" />
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="8.0.10" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.8" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.10" PrivateAssets="all" />
<PackageReference Include="Blazored.LocalStorage" Version="4.5.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MudBlazor" Version="7.6.0" />
<PackageReference Include="MudBlazor" Version="7.15.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0;net7.0;net6.0</TargetFrameworks>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Moq" Version="4.20.70" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
</ItemGroup>

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

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0;net7.0;net6.0</TargetFrameworks>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.1" />
<PackageReference Include="Moq" Version="4.20.72" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" />
</ItemGroup>

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

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Bogus" Version="35.6.0" />
<PackageReference Include="Bogus" Version="35.6.1" />
<PackageReference Include="bunit" Version="1.30.3" />
<PackageReference Include="coverlet.msbuild" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="FluentAssertions" Version="6.12.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
Expand All @@ -29,11 +29,11 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.JSInterop" Version="6.0.32" />
<PackageReference Include="Microsoft.JSInterop" Version="8.0.8" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Microsoft.JSInterop" Version="7.0.20" />
<PackageReference Include="Microsoft.JSInterop" Version="8.0.8" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
Expand Down
256 changes: 128 additions & 128 deletions src/Cropper.Blazor/Cropper.Blazor/Cropper.Blazor.csproj
Original file line number Diff line number Diff line change
@@ -1,128 +1,128 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<ResolveStaticWebAssetsInputsDependsOn>
IncludeGeneratedStaticFiles;
$(ResolveStaticWebAssetsInputsDependsOn)
</ResolveStaticWebAssetsInputsDependsOn>
</PropertyGroup>

<PropertyGroup>
<TargetFrameworks>net8.0;net7.0;net6.0</TargetFrameworks>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup>
<Version>1.3.4</Version>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>NuGet.png</PackageIcon>
<Company>Cropper.Blazor</Company>
<Authors>Max56132, ColdForeign</Authors>
<Copyright>Copyright 2022-present Cropper.Blazor</Copyright>
<Description>Cropper.Blazor is a component that wraps around Cropper.js</Description>
<PackageTags>Blazor, Cropper.Blazor, Cropper.js, Blazor Components, Blazor Library, Blazor Cropper, Cropper, Image, Crop, Resize, image-cropper, crop-image, csharp, blazor-cropper </PackageTags>
<PackageProjectUrl>https://CropperBlazor.github.io</PackageProjectUrl>
<RepositoryUrl>https://github.com/CropperBlazor/Cropper.Blazor</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>

<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<PackageReadmeFile>NuGet_README.md</PackageReadmeFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605;CS1591;CS1572;CS1573</WarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605;CS1591;CS1572;CS1573</WarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605;CS1591;CS1572;CS1573</WarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net7.0|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605;CS1591;CS1572;CS1573</WarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605;CS1591;CS1572;CS1573</WarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605;CS1591;CS1572;CS1573</WarningsAsErrors>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\..\LICENSE" Pack="true" Visible="false" PackagePath="" />
<None Include="..\..\..\content\NuGet.png" Pack="true" Visible="false" PackagePath="" />
<None Include="..\..\..\NuGet_README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<SupportedPlatform Include="browser" />
</ItemGroup>

<!--Is this a rebuild - Dont clean generated files as this breaks rebuild behaviour-->
<Target Name="ShouldCleanGeneratedFiles" BeforeTargets="BeforeRebuild">
<PropertyGroup>
<CleanGeneratedFiles>false</CleanGeneratedFiles>
</PropertyGroup>
</Target>

<Target Name="CleanGeneratedFiles" BeforeTargets="Clean" Condition="'$(CleanGeneratedFiles)' != 'false'">
<ItemGroup>
<FilesToClean Include="./wwwroot/cropperJsInterop.min.js" />
</ItemGroup>
<Delete Files="@(FilesToClean)" />
</Target>

<Target Name="ToolRestore" BeforeTargets="PreBuildEvent">
<Exec ContinueOnError="true" Command="dotnet tool restore" StandardOutputImportance="high" />
</Target>

<Target Name="WebCompiler" DependsOnTargets="ToolRestore">
<Message Text="Running webcompiler" Importance="high" />
<!--Minify js-->
<Exec Command="dotnet webcompiler ./wwwroot/cropperJsInterop.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" />
</Target>

<!--Output of Excubo webcompiler-->
<Target Name="IncludeGeneratedStaticFiles" DependsOnTargets="WebCompiler">
<Error Condition="!Exists('wwwroot/cropper.min.css')" Text="Missing Cropper.min.css in wwwroot" />
<Error Condition="!Exists('wwwroot/cropper.min.js')" Text="Missing Cropper.min.js in wwwroot" />
<Error Condition="!Exists('wwwroot/cropperJsInterop.min.js')" Text="Missing cropperJsInterop.min.js in wwwroot" />
<ItemGroup>
<Content Include="wwwroot/cropper.min.css" Condition="!Exists('wwwroot/cropper.min.css')" />
<Content Include="wwwroot/cropper.min.js" Condition="!Exists('wwwroot/cropper.min.js')" />
<Content Include="wwwroot/cropperJsInterop.min.js" Condition="!Exists('wwwroot/cropperJsInterop.min.js')" />
</ItemGroup>
</Target>

<!--Dont Include in build output-->
<ItemGroup>
<Content Remove="excubowebcompiler.json" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="6.0.32" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.20" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.7" />
</ItemGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<ResolveStaticWebAssetsInputsDependsOn>
IncludeGeneratedStaticFiles;
$(ResolveStaticWebAssetsInputsDependsOn)
</ResolveStaticWebAssetsInputsDependsOn>
</PropertyGroup>

<PropertyGroup>
<TargetFrameworks>net8.0;net7.0;net6.0</TargetFrameworks>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup>
<Version>1.3.4</Version>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>NuGet.png</PackageIcon>
<Company>Cropper.Blazor</Company>
<Authors>Max56132, ColdForeign</Authors>
<Copyright>Copyright 2022-present Cropper.Blazor</Copyright>
<Description>Cropper.Blazor is a component that wraps around Cropper.js</Description>
<PackageTags>Blazor, Cropper.Blazor, Cropper.js, Blazor Components, Blazor Library, Blazor Cropper, Cropper, Image, Crop, Resize, image-cropper, crop-image, csharp, blazor-cropper </PackageTags>
<PackageProjectUrl>https://CropperBlazor.github.io</PackageProjectUrl>
<RepositoryUrl>https://github.com/CropperBlazor/Cropper.Blazor</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>

<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<PackageReadmeFile>NuGet_README.md</PackageReadmeFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605;CS1591;CS1572;CS1573</WarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605;CS1591;CS1572;CS1573</WarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605;CS1591;CS1572;CS1573</WarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net7.0|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605;CS1591;CS1572;CS1573</WarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605;CS1591;CS1572;CS1573</WarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605;CS1591;CS1572;CS1573</WarningsAsErrors>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\..\LICENSE" Pack="true" Visible="false" PackagePath="" />
<None Include="..\..\..\content\NuGet.png" Pack="true" Visible="false" PackagePath="" />
<None Include="..\..\..\NuGet_README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<SupportedPlatform Include="browser" />
</ItemGroup>

<!--Is this a rebuild - Dont clean generated files as this breaks rebuild behaviour-->
<Target Name="ShouldCleanGeneratedFiles" BeforeTargets="BeforeRebuild">
<PropertyGroup>
<CleanGeneratedFiles>false</CleanGeneratedFiles>
</PropertyGroup>
</Target>

<Target Name="CleanGeneratedFiles" BeforeTargets="Clean" Condition="'$(CleanGeneratedFiles)' != 'false'">
<ItemGroup>
<FilesToClean Include="./wwwroot/cropperJsInterop.min.js" />
</ItemGroup>
<Delete Files="@(FilesToClean)" />
</Target>

<Target Name="ToolRestore" BeforeTargets="PreBuildEvent">
<Exec ContinueOnError="true" Command="dotnet tool restore" StandardOutputImportance="high" />
</Target>

<Target Name="WebCompiler" DependsOnTargets="ToolRestore">
<Message Text="Running webcompiler" Importance="high" />
<!--Minify js-->
<Exec Command="dotnet webcompiler ./wwwroot/cropperJsInterop.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" />
</Target>

<!--Output of Excubo webcompiler-->
<Target Name="IncludeGeneratedStaticFiles" DependsOnTargets="WebCompiler">
<Error Condition="!Exists('wwwroot/cropper.min.css')" Text="Missing Cropper.min.css in wwwroot" />
<Error Condition="!Exists('wwwroot/cropper.min.js')" Text="Missing Cropper.min.js in wwwroot" />
<Error Condition="!Exists('wwwroot/cropperJsInterop.min.js')" Text="Missing cropperJsInterop.min.js in wwwroot" />
<ItemGroup>
<Content Include="wwwroot/cropper.min.css" Condition="!Exists('wwwroot/cropper.min.css')" />
<Content Include="wwwroot/cropper.min.js" Condition="!Exists('wwwroot/cropper.min.js')" />
<Content Include="wwwroot/cropperJsInterop.min.js" Condition="!Exists('wwwroot/cropperJsInterop.min.js')" />
</ItemGroup>
</Target>

<!--Dont Include in build output-->
<ItemGroup>
<Content Remove="excubowebcompiler.json" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.7" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.7" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.7" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/Cropper.Blazor/Server/Cropper.Blazor.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.10" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 4be1111

Please sign in to comment.