Sample2_LocalizationSample.csproj 1.7 KB

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