Sample1_HelloWorld.csproj 1.3 KB

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