|
@@ -0,0 +1,42 @@
|
|
|
+<Project Sdk="Microsoft.NET.Sdk">
|
|
|
+ <PropertyGroup>
|
|
|
+ <TargetFramework>net8.0</TargetFramework>
|
|
|
+ <RuntimeIdentifier>wasi-wasm</RuntimeIdentifier>
|
|
|
+ <OutputType>Exe</OutputType>
|
|
|
+ <PublishTrimmed>true</PublishTrimmed>
|
|
|
+ <WasmSingleFileBundle>true</WasmSingleFileBundle>
|
|
|
+ <GenerateExtensionPackage>true</GenerateExtensionPackage>
|
|
|
+ <PixiExtOutputPath>..\..\src\PixiEditor.AvaloniaUI.Desktop\bin\Debug\net8.0\win-x64\Extensions</PixiExtOutputPath>
|
|
|
+ <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
|
+ <RootNamespace>FlyUISample</RootNamespace>
|
|
|
+ </PropertyGroup>
|
|
|
+
|
|
|
+ <ItemGroup>
|
|
|
+ <None Remove="extension.json" />
|
|
|
+ <Content Include="extension.json">
|
|
|
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
+ </Content>
|
|
|
+ </ItemGroup>
|
|
|
+
|
|
|
+ <ItemGroup>
|
|
|
+ <Content Include="Localization\*">
|
|
|
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
+ </Content>
|
|
|
+ </ItemGroup>
|
|
|
+
|
|
|
+ <ItemGroup>
|
|
|
+ <Content Include="Resources\*">
|
|
|
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
+ </Content>
|
|
|
+ </ItemGroup>
|
|
|
+
|
|
|
+ <!--Below is not required if you use Nuget package, this sample references project directly, so it must be here-->
|
|
|
+ <ItemGroup>
|
|
|
+ <ProjectReference Include="..\..\src\PixiEditor.Extensions.Wasm\PixiEditor.Extensions.Wasm.csproj" />
|
|
|
+ </ItemGroup>
|
|
|
+
|
|
|
+ <!--Below is not required if you use Nuget package, this sample references project directly, so it must be here-->
|
|
|
+ <Import Project="..\..\src\PixiEditor.Extensions.Wasm\build\PixiEditor.Extensions.Wasm.props"/>
|
|
|
+ <Import Project="..\..\src\PixiEditor.Extensions.Wasm\build\PixiEditor.Extensions.Wasm.targets" />
|
|
|
+
|
|
|
+</Project>
|