Sample10_VisualTree.csproj 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net8.0</TargetFramework>
  4. <RuntimeIdentifier>wasi-wasm</RuntimeIdentifier>
  5. <OutputType>Exe</OutputType>
  6. <PublishTrimmed>true</PublishTrimmed>
  7. <WasmSingleFileBundle>true</WasmSingleFileBundle>
  8. <GenerateExtensionPackage>true</GenerateExtensionPackage>
  9. <PixiExtOutputPath>..\..\src\PixiEditor.Desktop\bin\Debug\net8.0\Extensions</PixiExtOutputPath>
  10. <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
  11. <ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
  12. <RootNamespace>Sample10_VisualTree</RootNamespace>
  13. </PropertyGroup>
  14. <!--Below is not required if you use Nuget package, this sample references project directly, so it must be here-->
  15. <ItemGroup>
  16. <ProjectReference Include="..\..\src\PixiEditor.Extensions.Sdk\PixiEditor.Extensions.Sdk.csproj"/>
  17. </ItemGroup>
  18. <ItemGroup>
  19. <None Remove="extension.json"/>
  20. <Content Include="extension.json">
  21. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  22. </Content>
  23. </ItemGroup>
  24. <ItemGroup>
  25. <Content Include="Localization\*">
  26. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  27. </Content>
  28. </ItemGroup>
  29. <ItemGroup>
  30. <Content Include="Resources\*">
  31. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  32. </Content>
  33. </ItemGroup>
  34. <!--Below is not required if you use Nuget package, this sample references project directly, so it must be here-->
  35. <Import Project="..\..\src\PixiEditor.Extensions.Sdk\build\PixiEditor.Extensions.Sdk.props"/>
  36. <Import Project="..\..\src\PixiEditor.Extensions.Sdk\build\PixiEditor.Extensions.Sdk.targets"/>
  37. </Project>