40 lines
1.7 KiB
XML
40 lines
1.7 KiB
XML
<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.Desktop\bin\Debug\net8.0\Extensions</PixiExtOutputPath>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
|
|
<RootNamespace>Sample8_CommandLibrary</RootNamespace>
|
|
</PropertyGroup>
|
|
|
|
<!--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.Sdk\PixiEditor.Extensions.Sdk.csproj"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="extension.json"/>
|
|
<Content Include="extension.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="Localization\*">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</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.Sdk\build\PixiEditor.Extensions.Sdk.props"/>
|
|
<Import Project="..\..\src\PixiEditor.Extensions.Sdk\build\PixiEditor.Extensions.Sdk.targets"/>
|
|
|
|
|
|
</Project>
|