42 lines
1.4 KiB
XML
42 lines
1.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Library</OutputType>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<!-- <RootNamespace>dotnet_guest_test</RootNamespace> -->
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
|
|
<RuntimeIdentifier>wasi-wasm</RuntimeIdentifier>
|
|
<UseAppHost>false</UseAppHost>
|
|
<PublishTrimmed>true</PublishTrimmed>
|
|
<InvariantGlobalization>true</InvariantGlobalization>
|
|
<SelfContained>true</SelfContained>
|
|
<IlcExportUnmanagedEntrypoints>true</IlcExportUnmanagedEntrypoints>
|
|
</PropertyGroup>
|
|
|
|
<!-- <Target Name="BeforeBuild">
|
|
<Exec Command="rm -r wit/deps/lyraapi" />
|
|
<Exec Command="cp -r ../common-api/wit wit/deps/lyraapi" />
|
|
</Target> -->
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="BytecodeAlliance.Componentize.DotNet.Wasm.SDK" Version="0.4.0-preview00007" />
|
|
<!-- <PackageReference Include="runtime.linux-x64.Microsoft.DotNet.ILCompiler.LLVM" Version="10.0.0-alpha.1.24508.1" /> -->
|
|
<!-- <ProjectReference Include=".\componentize-dotnet\src\WasmComponent.Sdk\WasmComponent.Sdk.csproj" /> -->
|
|
</ItemGroup>
|
|
|
|
<!-- dotnet add -->
|
|
|
|
<ItemGroup>
|
|
<Wit Remove="**\*.wit" />
|
|
<Wit Include="wit/deps/lyraapi" World="imports" />
|
|
<Wit Include="wit" World="example" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="runtime.linux-x64.Microsoft.DotNet.ILCompiler.LLVM" Version="10.0.0-alpha.1.24531.4" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|