semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

do not have corresponding PackageVersion

Open coopliu opened this issue 2 years ago • 3 comments

When I run dotnet build under the samples/apps/copilot-chat-app/webapi directory, it prompts: /root/semantic-kernel/dotnet/src/Skills/Skills.Web/Skills.Web.csproj : error NU1010: The PackageReference items Google.Apis.CustomSearchAPI.v1 do not have corresponding PackageVersion. [/root/semantic-kernel/ dotnet/SK-dotnet.sln]

console output:

Failed to restore /root/semantic-kernel/dotnet/src/Skills/Skills.Web/Skills.Web.csproj (in 8 ms). The project /root/semantic-kernel/dotnet/src/Skills/Skills.UnitTests/Skills.UnitTests.csproj is using CentralPackageVersionManagement, a NuGet preview feature. Restored /root/semantic-kernel/dotnet/src/Skills/Skills.UnitTests/Skills.UnitTests.csproj (in 84 ms). The project /root/semantic-kernel/dotnet/src/Skills/Skills.OpenAPI/Skills.OpenAPI.csproj is using CentralPackageVersionManagement, a NuGet preview feature. Restored /root/semantic-kernel/dotnet/src/Skills/Skills.OpenAPI/Skills.OpenAPI.csproj (in 16 ms). The project /root/semantic-kernel/dotnet/src/Skills/Skills.MsGraph/Skills.MsGraph.csproj is using CentralPackageVersionManagement, a NuGet preview feature. Restored /root/semantic-kernel/dotnet/src/Skills/Skills.MsGraph/Skills.MsGraph.csproj (in 93 ms). The project /root/semantic-kernel/dotnet/src/Skills/Skills.Grpc/Skills.Grpc.csproj is using CentralPackageVersionManagement, a NuGet preview feature. Restored /root/semantic-kernel/dotnet/src/Skills/Skills.Grpc/Skills.Grpc.csproj (in 438 ms). The project /root/semantic-kernel/dotnet/src/Skills/Skills.Document/Skills.Document.csproj is using CentralPackageVersionManagement, a NuGet preview feature. Restored /root/semantic-kernel/dotnet/src/Skills/Skills.Document/Skills.Document.csproj (in 7 ms). Restored /root/semantic-kernel/samples/dotnet/KernelHttpServer/KernelHttpServer.csproj (in 6.64 sec).

Build FAILED.

/root/semantic-kernel/dotnet/src/Skills/Skills.Web/Skills.Web.csproj : error NU1010: The PackageReference items Google.Apis.CustomSearchAPI.v1 do not have corresponding PackageVersion. [/root/semantic-kernel/dotnet/SK-dotnet.sln]

coopliu avatar May 10 '23 08:05 coopliu

Same error when build

benjamin-code avatar May 10 '23 09:05 benjamin-code

dotnet7 is ok, but How to modify localhost to 0.0.0.0, I am deploying on the public network

coopliu avatar May 11 '23 02:05 coopliu

@coopliu , thanks for bringing this up. We are fixing this now. @shawncal

evchaki avatar May 11 '23 21:05 evchaki

Fixed!

shawncal avatar May 15 '23 18:05 shawncal