Sample5_Resources.csproj 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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>ResourcesSample</RootNamespace>
  13. <EncryptResources>true</EncryptResources>
  14. </PropertyGroup>
  15. <ItemGroup>
  16. <None Remove="extension.json" />
  17. <Content Include="extension.json">
  18. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  19. </Content>
  20. </ItemGroup>
  21. <ItemGroup>
  22. <Content Include="Localization\*">
  23. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  24. </Content>
  25. </ItemGroup>
  26. <ItemGroup>
  27. <Content Include="Resources\*">
  28. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  29. </Content>
  30. </ItemGroup>
  31. <!--Below is not required if you use Nuget package, this sample references project directly, so it must be here-->
  32. <ItemGroup>
  33. <ProjectReference Include="..\..\src\PixiEditor.Extensions.Sdk\PixiEditor.Extensions.Sdk.csproj" />
  34. </ItemGroup>
  35. <!--Below is not required if you use Nuget package, this sample references project directly, so it must be here-->
  36. <Import Project="..\..\src\PixiEditor.Extensions.Sdk\build\PixiEditor.Extensions.Sdk.props"/>
  37. <Import Project="..\..\src\PixiEditor.Extensions.Sdk\build\PixiEditor.Extensions.Sdk.targets" />
  38. </Project>