with docker compose build
Does it work without docker-compose? eg
dotnet restore
ordotnet 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-test2.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-test2.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-test2.abp.io/QA/Questions/35) 8.926 3 of 7 projects are up-to-date for restore.
#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
We are experiencing the same issue
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.