Activities of "scdev01"

with docker compose build

Does it work without docker-compose? eg dotnet restore or dotnet build

Yes dotnet build works on command line or in VS IDE. But it is not working with docker build. I am getting the following error:

[#35](https://www-test.abp.io/QA/Questions/35) 8.867 /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj : error NU1202: Package Volo.Abp.Commercial.Core 5.1.2 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Volo.Abp.Commercial.Core 5.1.2 supports: netstandard2.0 (.NETStandard,Version=v2.0)
[#35](https://www-test.abp.io/QA/Questions/35) 8.917   Failed to restore /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj (in 3.2 sec).
[#35](https://www-test.abp.io/QA/Questions/35) 8.926   3 of 7 projects are up-to-date for restore.
  • ABP Framework version: v5.1.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:

#0 142.8 /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj : error NU1101: Unable to find package Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, nuget.org [/src/MyProject.sln] #0 143.0 Failed to restore /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj (in 16.44 sec). #0 143.0 Restored /src/services/administration/src/MyProject.AdministrationService.HttpApi.Host/MyProject.AdministrationService.HttpApi.Host.csproj (in 1.9 min). #0 143.1 Restored /src/services/MyService1/src/MyProject.MyService1Service.HttpApi.Host/MyProject.MyService1Service.HttpApi.Host.csproj (in 1.66 sec). #0 145.1 /src/apps/auth-server/src/MyProject.AuthServer/MyProject.AuthServer.csproj : error NU1101: Unable to find package Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, nuget.org [/src/MyProject.sln] #0 145.1 /src/apps/auth-server/src/MyProject.AuthServer/MyProject.AuthServer.csproj : error NU1101: Unable to find package Volo.Abp.Account.Pro.Public.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, nuget.org [/src/MyProject.sln] #0 145.2 Failed to restore /src/apps/auth-server/src/MyProject.AuthServer/MyProject.AuthServer.csproj (in 1.94 min).

failed to solve: executor failed running [/bin/sh -c dotnet restore "MyProject.sln"]: exit code: 1

  • Steps to reproduce the issue:" Building microservice solution generated from Abp Suite with docker compose build

We are experiencing the same issue

  • ABP Framework version: v5.1.2
  • UI type: Angular
  • DB provider: EF Core Postgresql
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: InvalidCastException: Cannot write DateTime with Kind=Local to PostgreSQL type 'timestamp with time zone', only UTC is supported. Note that it's not possible to mix DateTimes with different Kinds in an array/range. See the Npgsql.EnableLegacyTimestampBehavior AppContext switch to enable legacy behavior.
  • Steps to reproduce the issue:"
  • Generate solution from microservice template v5.1.2
  • Switch Db provider to PostgreSQL
  • Regenerate initial migration
  • Run docker containers (db, rabbitmq, ...)
  • Run DbMigrator
Showing 1 to 4 of 4 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 14, 2025, 14:54