Skip to content

Commit

Permalink
fix:update package reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
arthuridea committed Dec 25, 2023
1 parent 4b3bacd commit 8ea75f2
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 12 deletions.
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project>

<PropertyGroup>
<Version>0.0.2.0-preview</Version>
<Version>0.0.2.1-preview</Version>
<Authors>arthuridea</Authors>
<LangVersion>latest</LangVersion>
<Description>A dotnet Library for Baidu ernie-bot and ErnievilgV2</Description>
<Description>A dotnet Library for ChatGPT, Baidu ernie-bot and ErnievilgV2</Description>
<Copyright>MIT</Copyright>
<PackageTags>A dotnet Library for Baidu ernie-bot and ErnievilgV2</PackageTags>
<PackageTags>A dotnet Library for ChatGPT, Baidu ernie-bot and ErnievilgV2</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageProjectUrl>https://github.com/arthuridea/NetCore.BaiduAIGC</PackageProjectUrl>
Expand Down
10 changes: 7 additions & 3 deletions src/LLMService.Baidu.ErnieVilg/LLMService.Baidu.ErnieVilg.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@
</None>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\LLMService.Shared\LLMService.Shared.csproj" />
</ItemGroup>

<ItemGroup Condition="'$(Configuration)' == 'DEBUG'">
<ProjectReference Include="..\LLMService.Shared\LLMService.Shared.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(Configuration)' == 'RELEASE'">
<PackageReference Include="Aeex.LLMService.Shared" Version="0.0.2.1-preview" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@
</None>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\LLMService.Shared\LLMService.Shared.csproj" />
</ItemGroup>

<ItemGroup Condition="'$(Configuration)' == 'DEBUG'">
<ProjectReference Include="..\LLMService.Shared\LLMService.Shared.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(Configuration)' == 'RELEASE'">
<PackageReference Include="Aeex.LLMService.Shared" Version="0.0.2.1-preview" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@
</None>
</ItemGroup>

<ItemGroup>
<ItemGroup Condition="'$(Configuration)' == 'DEBUG'">
<ProjectReference Include="..\LLMService.Shared\LLMService.Shared.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(Configuration)' == 'RELEASE'">
<PackageReference Include="Aeex.LLMService.Shared" Version="0.0.2.1-preview" />
</ItemGroup>

</Project>
13 changes: 13 additions & 0 deletions src/LLMService.Shared/LLMService.Shared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
<PropertyGroup>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageId>Aeex.LLMService.Shared</PackageId>
<PackageReleaseNotes>
0.0.2.0-preview Init publish.
</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
Expand All @@ -10,4 +16,11 @@
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
</ItemGroup>

<ItemGroup>
<None Include="..\..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
</Project>
11 changes: 9 additions & 2 deletions src/LLMServiceHub/LLMServiceHub.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,17 @@
<PackageReference Include="NSwag.AspNetCore" Version="14.0.0-preview010" />
</ItemGroup>

<ItemGroup>
<ItemGroup>
<PackageReference Include="Aeex.LLMService.Baidu.Wenxin" Version="0.0.2.1-preview" />
<PackageReference Include="Aeex.LLMService.Baidu.ErnieVilg" Version="0.0.2.1-preview" />
<!--<PackageReference Include="Aeex.LLMService.Shared" Version="0.0.2.1-preview" />-->
<PackageReference Include="Aeex.LLMService.OpenAI.ChatGPT" Version="0.0.2.1-preview" />
</ItemGroup>

<!--<ItemGroup Condition="'$(Configuration)' == 'DEBUG'">
<ProjectReference Include="..\LLMService.Baidu.ErnieVilg\LLMService.Baidu.ErnieVilg.csproj" />
<ProjectReference Include="..\LLMService.Baidu.Wenxinworkshop\LLMService.Baidu.Wenxinworkshop.csproj" />
<ProjectReference Include="..\LLMService.OpenAI.ChatGPT\LLMService.OpenAI.ChatGPT.csproj" />
</ItemGroup>
</ItemGroup>-->

</Project>

0 comments on commit 8ea75f2

Please sign in to comment.