forked from FUSEEProjectTeam/Fusee
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFusee.Examples.RenderContextOnly.Blazor.csproj
More file actions
41 lines (33 loc) · 1.56 KB
/
Copy pathFusee.Examples.RenderContextOnly.Blazor.csproj
File metadata and controls
41 lines (33 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<PropertyGroup>
<OutputPath>$(BaseOutputPath)\Examples\RenderContextOnly\Blazor\</OutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.19" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.9" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(FuseeEngineRoot)\src\Base\Imp\Blazor\Fusee.Base.Imp.Blazor.csproj" />
<ProjectReference Include="$(FuseeEngineRoot)\src\Engine\Imp\Graphics\Blazor\Fusee.Engine.Imp.Graphics.Blazor.csproj" />
<ProjectReference Include="..\Core\Fusee.Examples.RenderContextOnly.Core.csproj" />
</ItemGroup>
<ItemGroup>
<ServiceWorker Include="wwwroot\service-worker.js" PublishedContent="wwwroot\service-worker.published.js" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\PublishProfiles\" />
</ItemGroup>
<Target Name="MovingAssetsToServerRoot" BeforeTargets="PostBuildEvent">
<ItemGroup>
<AssetsDir Include="$(OutputPath)$(TargetFramework)\Assets\**\*.*" />
</ItemGroup>
<Message Text="Moving 'Assets' folder to http server root folder" Importance="high" />
<Move SourceFiles="@(AssetsDir)" DestinationFolder="$(OutputPath)$(TargetFramework)\wwwroot\Assets\%(RecursiveDir)" />
<RemoveDir Directories="$(OutputPath)$(TargetFramework)\Assets" />
</Target>
</Project>