Skip to content

Commit e1f7ed9

Browse files
committed
Add UseLocalChataizeProjects toggle
1 parent 477ea99 commit e1f7ed9

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

ChatAIze.PluginApi/ChatAIze.PluginApi.csproj

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,15 @@
3636
<None Include="icon.png" Pack="true" PackagePath="\" />
3737
<None Include="../README.md" Pack="true" PackagePath="" />
3838
</ItemGroup>
39+
<PropertyGroup>
40+
<UseLocalChataizeProjects>false</UseLocalChataizeProjects>
41+
</PropertyGroup>
3942
<ItemGroup>
40-
<PackageReference Include="ChatAIze.Abstractions" Version="0.12.19" />
41-
<PackageReference Include="ChatAIze.Utilities" Version="0.5.12" />
43+
<PackageReference Include="ChatAIze.Abstractions" Version="0.12.19" Condition="'$(UseLocalChataizeProjects)' != 'true'" />
44+
<PackageReference Include="ChatAIze.Utilities" Version="0.5.12" Condition="'$(UseLocalChataizeProjects)' != 'true'" />
45+
</ItemGroup>
46+
<ItemGroup Condition="'$(UseLocalChataizeProjects)' == 'true'">
47+
<ProjectReference Include="..\..\abstractions\ChatAIze.Abstractions\ChatAIze.Abstractions.csproj" />
48+
<ProjectReference Include="..\..\utilities\ChatAIze.Utilities\ChatAIze.Utilities.csproj" />
4249
</ItemGroup>
4350
</Project>

0 commit comments

Comments
 (0)