42 lines
No EOL
1.6 KiB
XML
42 lines
No EOL
1.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
<MonoRuntimeDebuggerEnabled Condition="'$(Configuration)'=='Debug'">true</MonoRuntimeDebuggerEnabled>
|
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
|
|
|
<_Destination>bin\publish\</_Destination>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Uno.Wasm.Bootstrap" Version="2.1.0" />
|
|
<PackageReference Include="Uno.Wasm.Bootstrap.DevServer" Version="2.1.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\source\*.cs" />
|
|
<Content Include="..\..\..\output\native\wasm\libSkiaSharp.a\*\*.a" Visible="false" />
|
|
<Content Include="..\..\..\output\native\wasm\libHarfBuzzSharp.a\*\*.a" Visible="false" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="CleanThings" BeforeTargets="BuildDist">
|
|
<RemoveDir Directories="$(_Destination);$(OutputPath)dist" />
|
|
</Target>
|
|
|
|
<Target Name="CopyThings" AfterTargets="BuildDist">
|
|
<ItemGroup>
|
|
<_WebAssets Include="$(OutputPath)dist\package_*\managed\*" Dest="$(_Destination)managed" />
|
|
<_WebAssets Include="$(OutputPath)dist\package_*\*" Dest="$(_Destination)" />
|
|
<_WebAssets Include="$(OutputPath)dist\*" Dest="$(_Destination)" />
|
|
<_WebAssets Include="assets\*" Dest="$(_Destination)" />
|
|
</ItemGroup>
|
|
<Copy SourceFiles="@(_WebAssets)" DestinationFolder="%(Dest)" />
|
|
|
|
<ItemGroup>
|
|
<_ManagedAssets Include="$(_Destination)\managed\*.clr" />
|
|
</ItemGroup>
|
|
<Move SourceFiles="@(_ManagedAssets)" DestinationFiles="%(RootDir)%(Directory)%(Filename).dll" />
|
|
</Target>
|
|
|
|
</Project> |