HelloWorld.csproj 1.2 KB

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