Skip to content

Commit

Permalink
Use the debug version of Chisel for the Mongo and SqlClient samples
Browse files Browse the repository at this point in the history
Don't actually publish this on the main branch since it's often painful to use because of transient errors where you have to rebuild / clean / rebuild many times to get it working.
  • Loading branch information
0xced committed Nov 7, 2024
1 parent c90553e commit 539d639
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion samples/MongoDbSample/MongoDbSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@
<Nullable>enable</Nullable>
</PropertyGroup>

<Import Project="../../src/Chisel/build/Chisel.props" Condition="$(Configuration) == 'Debug'" />
<Import Project="../../src/Chisel/build/Chisel.targets" Condition="$(Configuration) == 'Debug'" />

<ItemGroup Condition="$(Configuration) != 'Debug'">
<PackageReference Include="Chisel" Version="1.0.0" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Chisel" Version="1.1.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.2" />
<PackageReference Include="MongoDB.Driver" Version="2.30.0" />
<PackageReference Include="Testcontainers.MongoDb" Version="4.0.0" />
Expand Down
8 changes: 7 additions & 1 deletion samples/SqlClientSample/SqlClientSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@
<MicrosoftDataSqlClientVersion>5.2.2</MicrosoftDataSqlClientVersion>
</PropertyGroup>

<Import Project="../../src/Chisel/build/Chisel.props" Condition="$(Configuration) == 'Debug'" />
<Import Project="../../src/Chisel/build/Chisel.targets" Condition="$(Configuration) == 'Debug'" />

<ItemGroup Condition="$(Configuration) != 'Debug'">
<PackageReference Include="Chisel" Version="1.0.0" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Chisel" Version="1.1.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="$(MicrosoftDataSqlClientVersion)" />
<PackageReference Include="System.Memory.Data" Version="8.0.1" />
</ItemGroup>
Expand Down

0 comments on commit 539d639

Please sign in to comment.