0
    
    
        
                    naeem76 created
                    
                    
                    
                
                - ABP Framework version: v9.0.0
- UI Type: MVC
- Database System: EF Core PostgreSQL
- Tiered (for MVC) or Auth Server Separated (for Angular): no - single layer application in this case
- Exception message and full stack trace:
- Steps to reproduce the issue:
Getting license errors in GitLab CI, wasn't happening before on older .NET - ABP CLI 9.0.2
[11:29:25 ERR] ABP-LIC-ERROR - License check failed for 'Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX-v4.0.0.0'.
You need to log in using the command `abp login <username>`.
For more information, contact to license@abp.io.
the command
dotnet restore $PROJECT_NAME.csproj --runtime linux-x64
dotnet build $PROJECT_NAME.csproj --configuration Release --no-restore
dotnet run --migrate-database --configuration Release --no-build --no-restore
ASPNETCORE_ENVIRONMENT is set to Production
2 Answer(s)
- 
    0the command could you try this dotnet run ... --environment Production
- 
    0Solved by using --no-launch-profileFor some reason even though the environment was set it was still using the launch profiles
 
                                