Skip to content

Commit

Permalink
Use the Chisel NuGet package for the Release configuration of samples
Browse files Browse the repository at this point in the history
  • Loading branch information
0xced committed Mar 15, 2024
1 parent 4a4e6a9 commit a884f43
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
3 changes: 3 additions & 0 deletions Chisel.sln
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,17 @@ Global
{845EDA2A-5207-4C6D-ABE9-9635F4630D90}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{845EDA2A-5207-4C6D-ABE9-9635F4630D90}.Debug|Any CPU.Build.0 = Debug|Any CPU
{845EDA2A-5207-4C6D-ABE9-9635F4630D90}.Release|Any CPU.ActiveCfg = Release|Any CPU
{845EDA2A-5207-4C6D-ABE9-9635F4630D90}.Release|Any CPU.Build.0 = Release|Any CPU
{8B1B3D6A-7100-4DFB-97C9-CF5ACF1A3B08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8B1B3D6A-7100-4DFB-97C9-CF5ACF1A3B08}.Release|Any CPU.ActiveCfg = Release|Any CPU
{611D4DE0-F729-48A6-A496-2EA3B5DF8EC6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{611D4DE0-F729-48A6-A496-2EA3B5DF8EC6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{611D4DE0-F729-48A6-A496-2EA3B5DF8EC6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{611D4DE0-F729-48A6-A496-2EA3B5DF8EC6}.Release|Any CPU.Build.0 = Release|Any CPU
{F40FA01A-EB18-4785-9A3C-379F2E7A7A02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F40FA01A-EB18-4785-9A3C-379F2E7A7A02}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F40FA01A-EB18-4785-9A3C-379F2E7A7A02}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F40FA01A-EB18-4785-9A3C-379F2E7A7A02}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{845EDA2A-5207-4C6D-ABE9-9635F4630D90} = {0CC84E67-19D2-480B-B36A-6BB15A9109E7}
Expand Down
8 changes: 4 additions & 4 deletions samples/MongoDbSample/MongoDbSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<Nullable>enable</Nullable>
</PropertyGroup>

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

<ItemGroup>
<ProjectReference Include="../../src/Chisel/Chisel.csproj" ReferenceOutputAssembly="false" />
<ItemGroup Condition="$(Configuration) != 'Debug'">
<PackageReference Include="Chisel" Version="1.0.0-rc.1" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
Expand Down
9 changes: 6 additions & 3 deletions samples/SqlClientSample/SqlClientSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
</PropertyGroup>

<Import Project="../../src/Chisel/build/Chisel.props" />
<Import Project="../../src/Chisel/build/Chisel.targets" />
<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-rc.1" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="../../src/Chisel/Chisel.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="../Microsoft.Identity.Client/Microsoft.Identity.Client.csproj" />
</ItemGroup>

Expand Down

0 comments on commit a884f43

Please sign in to comment.