-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the dotnet group in /src/Cropper.Blazor with 7 updates
Bumps the dotnet group in /src/Cropper.Blazor with 7 updates: | Package | From | To | | --- | --- | --- | | [Microsoft.AspNetCore.Components.WebAssembly](https://github.com/dotnet/aspnetcore) | `8.0.7` | `8.0.8` | | [Microsoft.JSInterop](https://github.com/dotnet/aspnetcore) | `8.0.7` | `8.0.8` | | [Microsoft.AspNetCore.Components.Web](https://github.com/dotnet/aspnetcore) | `8.0.7` | `8.0.8` | | [Microsoft.AspNetCore.Components.WebAssembly.DevServer](https://github.com/dotnet/aspnetcore) | `8.0.7` | `8.0.8` | | [Microsoft.AspNetCore.WebUtilities](https://github.com/dotnet/aspnetcore) | `8.0.7` | `8.0.8` | | [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) | `17.10.0` | `17.11.0` | | [Microsoft.AspNetCore.Components.WebAssembly.Server](https://github.com/dotnet/aspnetcore) | `8.0.7` | `8.0.8` | Updates `Microsoft.AspNetCore.Components.WebAssembly` 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 `Microsoft.JSInterop` 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 `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 `Microsoft.AspNetCore.Components.WebAssembly.DevServer` 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 `Microsoft.AspNetCore.WebUtilities` 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 `Microsoft.NET.Test.Sdk` from 17.10.0 to 17.11.0 - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](microsoft/vstest@v17.10.0...v17.11.0) Updates `Microsoft.AspNetCore.Components.WebAssembly.Server` 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) --- updated-dependencies: - dependency-name: Microsoft.AspNetCore.Components.WebAssembly dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.JSInterop dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.AspNetCore.Components.Web 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.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor 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
1 parent
8821798
commit 3189abc
Showing
3 changed files
with
252 additions
and
252 deletions.
There are no files selected for viewing
350 changes: 175 additions & 175 deletions
350
src/Cropper.Blazor/Client/Cropper.Blazor.Client.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,175 +1,175 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<BlazorEnableTimeZoneSupport>false</BlazorEnableTimeZoneSupport> | ||
<BlazorWebAssemblyPreserveCollationData>false</BlazorWebAssemblyPreserveCollationData> | ||
<PublishTrimmed>true</PublishTrimmed> | ||
<RunAOTCompilation>false</RunAOTCompilation> | ||
<BlazorWasmPrerenderingMode>Static</BlazorWasmPrerenderingMode> | ||
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles> | ||
</PropertyGroup> | ||
|
||
<!--Packages--> | ||
<ItemGroup> | ||
<PackageReference Include="BlazorWasmPreRendering.Build" Version="4.0.0" /> | ||
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="8.0.7" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.7" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.7" PrivateAssets="all" /> | ||
<PackageReference Include="Blazored.LocalStorage" Version="4.5.0" /> | ||
</ItemGroup> | ||
|
||
<!--Project dependencies--> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Cropper.Blazor.Shared\Cropper.Blazor.Shared.csproj" /> | ||
<ProjectReference Include="..\Cropper.Blazor\Cropper.Blazor.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ServiceWorker Include="wwwroot\service-worker.min.js" PublishedContent="wwwroot\service-worker.published.min.js" /> | ||
</ItemGroup> | ||
|
||
<!--Outside Visual Studio SolutionDir is not available--> | ||
<PropertyGroup> | ||
<SolutionDir Condition=" '$(SolutionDir)' == '' ">$(MSBuildThisFileDirectory)../</SolutionDir> | ||
</PropertyGroup> | ||
|
||
<!--Binary path for the code generator--> | ||
<Choose> | ||
<When Condition="'$(TargetFramework)' == 'netstandard2.1'"> | ||
<PropertyGroup> | ||
<BinDocsCompiler>$(SolutionDir)Cropper.Blazor.Client.Compiler/bin/Debug/netcoreapp3.1/Cropper.Blazor.Client.Compiler.dll</BinDocsCompiler> | ||
</PropertyGroup> | ||
</When> | ||
<Otherwise> | ||
<PropertyGroup> | ||
<BinDocsCompiler>$(SolutionDir)Cropper.Blazor.Client.Compiler/bin/Debug/net8.0/Cropper.Blazor.Client.Compiler.dll</BinDocsCompiler> | ||
</PropertyGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
||
<!--Project path for code generator--> | ||
<PropertyGroup> | ||
<ProjectDocsCompiler>dotnet run --configuration release --project "$(SolutionDir)Cropper.Blazor.Client.Compiler/Cropper.Blazor.Client.Compiler.csproj"</ProjectDocsCompiler> | ||
</PropertyGroup> | ||
|
||
<!--Execute the code generator--> | ||
<Target Name="CompileDocs" BeforeTargets="BeforeBuild"> | ||
<!--Command-line for the code generator--> | ||
<Message Text="Generating Docs" Importance="high" /> | ||
<Exec Command="dotnet "$(BinDocsCompiler)"" Condition="Exists('$(BinDocsCompiler)')" /> | ||
<Exec Command="$(ProjectDocsCompiler)" Condition="!Exists('$(BinDocsCompiler)')" /> | ||
</Target> | ||
|
||
<!--This file contains any ExampleCode that is new and needs including in the build --> | ||
<Target Name="ReadFromFile" DependsOnTargets="CompileDocs"> | ||
<ItemGroup> | ||
<NewFiles Include="NewFilesToBuild.txt" /> | ||
</ItemGroup> | ||
<ReadLinesFromFile File="@(NewFiles)"> | ||
<Output TaskParameter="Lines" ItemName="NewExampleCodeToBuild" /> | ||
</ReadLinesFromFile> | ||
</Target> | ||
|
||
<!--Add Content that is being generated as part of the build cycle--> | ||
<!--We need to do this because the project is not yet aware of files that were generated after the build started--> | ||
<Target Name="IncludeGeneratedFiles" BeforeTargets="BeforeBuild" DependsOnTargets="CompileDocs;ReadFromFile"> | ||
<ItemGroup> | ||
<_NewCompiledSnippets Include="Models\Snippets.generated.cs" Exclude="@(Compile)" /> | ||
<_NewCompiledDocsStrings Include="Models\DocStrings.generated.cs" Exclude="@(Compile)" /> | ||
<Compile Include="@(_NewCompiledSnippets)" /> | ||
<Compile Include="@(_NewCompiledDocsStrings)" /> | ||
<EmbeddedResource Include="@(NewExampleCodeToBuild)" Condition="@(NewExampleCodeToBuild->Count()) != 0" /> | ||
</ItemGroup> | ||
</Target> | ||
|
||
<!--Update ExampleCode--> | ||
<ItemGroup> | ||
<EmbeddedResource Include="Pages\**\*.html" /> | ||
</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="./Styles/Cropper.Blazor.Client.css" /> | ||
<FilesToClean Include="./Styles/Cropper.Blazor.Client.min.css" /> | ||
<FilesToClean Include="./wwwroot/Cropper.Blazor.Client.css" /> | ||
<FilesToClean Include="./wwwroot/Cropper.Blazor.Client.min.css" /> | ||
<FilesToClean Include="./wwwroot/service-worker.min.js" /> | ||
<FilesToClean Include="./wwwroot/service-worker.published.min.js" /> | ||
<FilesToClean Include="./wwwroot/overrideCropperJsInteropModule.min.js" /> | ||
<FilesToClean Include="./wwwroot/jsObjectModule.min.js" /> | ||
<FilesToClean Include="./Models/DocStrings.generated.cs" /> | ||
<FilesToClean Include="./Models/Snippets.generated.cs" /> | ||
<FilesToClean Include="./wwwroot/helper.min.js" /> | ||
<FilesToClean Include="./wwwroot/sw-registrator.min.js" /> | ||
<FilesToClean Include="./wwwroot/sw-registrator.min.js" /> | ||
<FilesToClean Include="./Pages/**/*ExampleCode.*" /> | ||
<FilesToClean Include="./NewFilesToBuild.txt" /> | ||
<FilesToClean Include="./wwwroot/resizeWindowEventListener.min.js" /> | ||
<FilesToClean Include="./wwwroot/sitemap.xml" /> | ||
</ItemGroup> | ||
<Delete Files="@(FilesToClean)" /> | ||
</Target> | ||
|
||
<!--Excubo webcompiler - used for scss and js compilation--> | ||
<Target Name="ToolRestore"> | ||
<Exec Command="dotnet tool restore" StandardOutputImportance="high" /> | ||
</Target> | ||
|
||
<Target Name="WebCompiler" DependsOnTargets="ToolRestore"> | ||
<Message Text="Running webcompiler" Importance="high" /> | ||
<!--Compile and minify scss--> | ||
<Exec Command="dotnet webcompiler ./Styles/Cropper.Blazor.Client.scss -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
<!--Compile and minify js--> | ||
<Exec Command="dotnet webcompiler ./wwwroot/service-worker.published.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
<Exec Command="dotnet webcompiler ./wwwroot/service-worker.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
<Exec Command="dotnet webcompiler ./wwwroot/overrideCropperJsInteropModule.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
<Exec Command="dotnet webcompiler ./wwwroot/jsObjectModule.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
<Exec Command="dotnet webcompiler ./wwwroot/helper.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
<Exec Command="dotnet webcompiler ./wwwroot/sw-registrator.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
<Exec Command="dotnet webcompiler ./wwwroot/resizeWindowEventListener.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
</Target> | ||
|
||
<!--Output of Excubo webcompiler--> | ||
<Target Name="IncludeGeneratedStaticFiles" DependsOnTargets="WebCompiler" BeforeTargets="BeforeBuild"> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/Cropper.Blazor.Client.min.css')" Text="Missing Cropper.Blazor.Client.min.css in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/service-worker.min.js')" Text="Missing service-worker.min.js in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/service-worker.published.min.js')" Text="Missing service-worker.published.min.js in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/overrideCropperJsInteropModule.min.js')" Text="Missing overrideCropperJsInteropModule.min.js in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/jsObjectModule.min.js')" Text="Missing jsObjectModule.min.js in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/helper.min.js')" Text="Missing helper.min.js in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/sw-registrator.min.js')" Text="Missing sw-registrator.min.js in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/resizeWindowEventListener.min.js')" Text="Missing resizeWindowEventListener.min.js in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/NewFilesToBuild.txt')" Text="Missing NewFilesToBuild.txt" /> | ||
<ItemGroup> | ||
<Content Include="wwwroot/Cropper.Blazor.Client.min.css" Condition="!Exists('wwwroot/Cropper.Blazor.Client.min.css')" /> | ||
<Content Include="wwwroot/service-worker.min.js" Condition="!Exists('wwwroot/service-worker.min.js')" /> | ||
<Content Include="wwwroot/service-worker.published.min.js" Condition="!Exists('wwwroot/service-worker.published.min.js')" /> | ||
<Content Include="wwwroot/overrideCropperJsInteropModule.min.js" Condition="!Exists('wwwroot/overrideCropperJsInteropModule.min.js')" /> | ||
<Content Include="wwwroot/jsObjectModule.min.js" Condition="!Exists('wwwroot/jsObjectModule.min.js')" /> | ||
<Content Include="wwwroot/helper.min.js" Condition="!Exists('wwwroot/helper.min.js')" /> | ||
<Content Include="wwwroot/sw-registrator.min.js" Condition="!Exists('wwwroot/sw-registrator.min.js')" /> | ||
<Content Include="wwwroot/resizeWindowEventListener.min.js" Condition="!Exists('wwwroot/resizeWindowEventListener.min.js')" /> | ||
</ItemGroup> | ||
</Target> | ||
|
||
<!--Dont Include in build output--> | ||
<ItemGroup> | ||
<Content Remove="compilerconfig.json" /> | ||
<Content Remove="excubowebcompiler.json" /> | ||
</ItemGroup> | ||
|
||
</Project> | ||
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<BlazorEnableTimeZoneSupport>false</BlazorEnableTimeZoneSupport> | ||
<BlazorWebAssemblyPreserveCollationData>false</BlazorWebAssemblyPreserveCollationData> | ||
<PublishTrimmed>true</PublishTrimmed> | ||
<RunAOTCompilation>false</RunAOTCompilation> | ||
<BlazorWasmPrerenderingMode>Static</BlazorWasmPrerenderingMode> | ||
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles> | ||
</PropertyGroup> | ||
|
||
<!--Packages--> | ||
<ItemGroup> | ||
<PackageReference Include="BlazorWasmPreRendering.Build" Version="4.0.0" /> | ||
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="8.0.8" /> | ||
<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="Blazored.LocalStorage" Version="4.5.0" /> | ||
</ItemGroup> | ||
|
||
<!--Project dependencies--> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Cropper.Blazor.Shared\Cropper.Blazor.Shared.csproj" /> | ||
<ProjectReference Include="..\Cropper.Blazor\Cropper.Blazor.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ServiceWorker Include="wwwroot\service-worker.min.js" PublishedContent="wwwroot\service-worker.published.min.js" /> | ||
</ItemGroup> | ||
|
||
<!--Outside Visual Studio SolutionDir is not available--> | ||
<PropertyGroup> | ||
<SolutionDir Condition=" '$(SolutionDir)' == '' ">$(MSBuildThisFileDirectory)../</SolutionDir> | ||
</PropertyGroup> | ||
|
||
<!--Binary path for the code generator--> | ||
<Choose> | ||
<When Condition="'$(TargetFramework)' == 'netstandard2.1'"> | ||
<PropertyGroup> | ||
<BinDocsCompiler>$(SolutionDir)Cropper.Blazor.Client.Compiler/bin/Debug/netcoreapp3.1/Cropper.Blazor.Client.Compiler.dll</BinDocsCompiler> | ||
</PropertyGroup> | ||
</When> | ||
<Otherwise> | ||
<PropertyGroup> | ||
<BinDocsCompiler>$(SolutionDir)Cropper.Blazor.Client.Compiler/bin/Debug/net8.0/Cropper.Blazor.Client.Compiler.dll</BinDocsCompiler> | ||
</PropertyGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
||
<!--Project path for code generator--> | ||
<PropertyGroup> | ||
<ProjectDocsCompiler>dotnet run --configuration release --project "$(SolutionDir)Cropper.Blazor.Client.Compiler/Cropper.Blazor.Client.Compiler.csproj"</ProjectDocsCompiler> | ||
</PropertyGroup> | ||
|
||
<!--Execute the code generator--> | ||
<Target Name="CompileDocs" BeforeTargets="BeforeBuild"> | ||
<!--Command-line for the code generator--> | ||
<Message Text="Generating Docs" Importance="high" /> | ||
<Exec Command="dotnet "$(BinDocsCompiler)"" Condition="Exists('$(BinDocsCompiler)')" /> | ||
<Exec Command="$(ProjectDocsCompiler)" Condition="!Exists('$(BinDocsCompiler)')" /> | ||
</Target> | ||
|
||
<!--This file contains any ExampleCode that is new and needs including in the build --> | ||
<Target Name="ReadFromFile" DependsOnTargets="CompileDocs"> | ||
<ItemGroup> | ||
<NewFiles Include="NewFilesToBuild.txt" /> | ||
</ItemGroup> | ||
<ReadLinesFromFile File="@(NewFiles)"> | ||
<Output TaskParameter="Lines" ItemName="NewExampleCodeToBuild" /> | ||
</ReadLinesFromFile> | ||
</Target> | ||
|
||
<!--Add Content that is being generated as part of the build cycle--> | ||
<!--We need to do this because the project is not yet aware of files that were generated after the build started--> | ||
<Target Name="IncludeGeneratedFiles" BeforeTargets="BeforeBuild" DependsOnTargets="CompileDocs;ReadFromFile"> | ||
<ItemGroup> | ||
<_NewCompiledSnippets Include="Models\Snippets.generated.cs" Exclude="@(Compile)" /> | ||
<_NewCompiledDocsStrings Include="Models\DocStrings.generated.cs" Exclude="@(Compile)" /> | ||
<Compile Include="@(_NewCompiledSnippets)" /> | ||
<Compile Include="@(_NewCompiledDocsStrings)" /> | ||
<EmbeddedResource Include="@(NewExampleCodeToBuild)" Condition="@(NewExampleCodeToBuild->Count()) != 0" /> | ||
</ItemGroup> | ||
</Target> | ||
|
||
<!--Update ExampleCode--> | ||
<ItemGroup> | ||
<EmbeddedResource Include="Pages\**\*.html" /> | ||
</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="./Styles/Cropper.Blazor.Client.css" /> | ||
<FilesToClean Include="./Styles/Cropper.Blazor.Client.min.css" /> | ||
<FilesToClean Include="./wwwroot/Cropper.Blazor.Client.css" /> | ||
<FilesToClean Include="./wwwroot/Cropper.Blazor.Client.min.css" /> | ||
<FilesToClean Include="./wwwroot/service-worker.min.js" /> | ||
<FilesToClean Include="./wwwroot/service-worker.published.min.js" /> | ||
<FilesToClean Include="./wwwroot/overrideCropperJsInteropModule.min.js" /> | ||
<FilesToClean Include="./wwwroot/jsObjectModule.min.js" /> | ||
<FilesToClean Include="./Models/DocStrings.generated.cs" /> | ||
<FilesToClean Include="./Models/Snippets.generated.cs" /> | ||
<FilesToClean Include="./wwwroot/helper.min.js" /> | ||
<FilesToClean Include="./wwwroot/sw-registrator.min.js" /> | ||
<FilesToClean Include="./wwwroot/sw-registrator.min.js" /> | ||
<FilesToClean Include="./Pages/**/*ExampleCode.*" /> | ||
<FilesToClean Include="./NewFilesToBuild.txt" /> | ||
<FilesToClean Include="./wwwroot/resizeWindowEventListener.min.js" /> | ||
<FilesToClean Include="./wwwroot/sitemap.xml" /> | ||
</ItemGroup> | ||
<Delete Files="@(FilesToClean)" /> | ||
</Target> | ||
|
||
<!--Excubo webcompiler - used for scss and js compilation--> | ||
<Target Name="ToolRestore"> | ||
<Exec Command="dotnet tool restore" StandardOutputImportance="high" /> | ||
</Target> | ||
|
||
<Target Name="WebCompiler" DependsOnTargets="ToolRestore"> | ||
<Message Text="Running webcompiler" Importance="high" /> | ||
<!--Compile and minify scss--> | ||
<Exec Command="dotnet webcompiler ./Styles/Cropper.Blazor.Client.scss -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
<!--Compile and minify js--> | ||
<Exec Command="dotnet webcompiler ./wwwroot/service-worker.published.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
<Exec Command="dotnet webcompiler ./wwwroot/service-worker.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
<Exec Command="dotnet webcompiler ./wwwroot/overrideCropperJsInteropModule.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
<Exec Command="dotnet webcompiler ./wwwroot/jsObjectModule.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
<Exec Command="dotnet webcompiler ./wwwroot/helper.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
<Exec Command="dotnet webcompiler ./wwwroot/sw-registrator.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
<Exec Command="dotnet webcompiler ./wwwroot/resizeWindowEventListener.js -c excubowebcompiler.json" StandardOutputImportance="high" StandardErrorImportance="high" /> | ||
</Target> | ||
|
||
<!--Output of Excubo webcompiler--> | ||
<Target Name="IncludeGeneratedStaticFiles" DependsOnTargets="WebCompiler" BeforeTargets="BeforeBuild"> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/Cropper.Blazor.Client.min.css')" Text="Missing Cropper.Blazor.Client.min.css in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/service-worker.min.js')" Text="Missing service-worker.min.js in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/service-worker.published.min.js')" Text="Missing service-worker.published.min.js in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/overrideCropperJsInteropModule.min.js')" Text="Missing overrideCropperJsInteropModule.min.js in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/jsObjectModule.min.js')" Text="Missing jsObjectModule.min.js in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/helper.min.js')" Text="Missing helper.min.js in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/sw-registrator.min.js')" Text="Missing sw-registrator.min.js in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/resizeWindowEventListener.min.js')" Text="Missing resizeWindowEventListener.min.js in wwwroot" /> | ||
<Error Condition="!Exists('$(MSBuildProjectDirectory)/NewFilesToBuild.txt')" Text="Missing NewFilesToBuild.txt" /> | ||
<ItemGroup> | ||
<Content Include="wwwroot/Cropper.Blazor.Client.min.css" Condition="!Exists('wwwroot/Cropper.Blazor.Client.min.css')" /> | ||
<Content Include="wwwroot/service-worker.min.js" Condition="!Exists('wwwroot/service-worker.min.js')" /> | ||
<Content Include="wwwroot/service-worker.published.min.js" Condition="!Exists('wwwroot/service-worker.published.min.js')" /> | ||
<Content Include="wwwroot/overrideCropperJsInteropModule.min.js" Condition="!Exists('wwwroot/overrideCropperJsInteropModule.min.js')" /> | ||
<Content Include="wwwroot/jsObjectModule.min.js" Condition="!Exists('wwwroot/jsObjectModule.min.js')" /> | ||
<Content Include="wwwroot/helper.min.js" Condition="!Exists('wwwroot/helper.min.js')" /> | ||
<Content Include="wwwroot/sw-registrator.min.js" Condition="!Exists('wwwroot/sw-registrator.min.js')" /> | ||
<Content Include="wwwroot/resizeWindowEventListener.min.js" Condition="!Exists('wwwroot/resizeWindowEventListener.min.js')" /> | ||
</ItemGroup> | ||
</Target> | ||
|
||
<!--Dont Include in build output--> | ||
<ItemGroup> | ||
<Content Remove="compilerconfig.json" /> | ||
<Content Remove="excubowebcompiler.json" /> | ||
</ItemGroup> | ||
|
||
</Project> |
Oops, something went wrong.