LocalizationSample.csproj 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  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.AvaloniaUI.Desktop\bin\Debug\net8.0\win-x64\Extensions</PixiExtOutputPath>
  10. <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
  11. </PropertyGroup>
  12. <ItemGroup>
  13. <None Remove="extension.json" />
  14. <Content Include="extension.json">
  15. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  16. </Content>
  17. </ItemGroup>
  18. <ItemGroup>
  19. <Content Include="Localization\*">
  20. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  21. </Content>
  22. </ItemGroup>
  23. <!--Below is not required if you use Nuget package, this sample references project directly, so it must be here-->
  24. <ItemGroup>
  25. <ProjectReference Include="..\..\src\PixiEditor.Extensions.Wasm\PixiEditor.Extensions.Wasm.csproj" />
  26. </ItemGroup>
  27. <!--Below is not required if you use Nuget package, this sample references project directly, so it must be here-->
  28. <Import Project="..\..\src\PixiEditor.Extensions.Wasm\build\PixiEditor.Extensions.Wasm.props"/>
  29. <Import Project="..\..\src\PixiEditor.Extensions.Wasm\build\PixiEditor.Extensions.Wasm.targets" />
  30. </Project>