mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-11 10:29:21 -04:00
1b9e35129c
This allows to make and test ABI-breaking changes much more easily than before. For now moved them under crates/bindings-csharp - on one hand, it's not a crate, but on another it's the most logical place within our current project structure if we think of `crates` folder as general `projects` folder.
28 lines
1.1 KiB
XML
28 lines
1.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<!-- needs to be exe for initializers to be embedded correctly -->
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net7.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
Use local package sources instead of published ones.
|
|
This makes integration test somewhat differ from production configuration, but
|
|
at least it simplifies workflow for editing and testing C# code itself.
|
|
-->
|
|
<ItemGroup>
|
|
<ProjectReference Include="../../crates/bindings-csharp/Codegen/Codegen.csproj" OutputItemType="Analyzer" />
|
|
<ProjectReference Include="../../crates/bindings-csharp/Runtime/Runtime.csproj" />
|
|
</ItemGroup>
|
|
<!-- Only needed when referencing local dependencies as projects. For published packages, these are imported automatically. -->
|
|
<Import Project="../../crates/bindings-csharp/Runtime/build/SpacetimeDB.Runtime.targets" />
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Wasi.Sdk" Version="0.1.4-preview.10020" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|