Helo!! I noticed about the new version 0.9.20 and just updated my ABP Studio version to this current, that is a great news!
Using the new version, I tried to create a new solution with same steps of the previous one (created when I opened this ticket) and the CMS is being always mandatory (even having a checkbox, it always has its box checked when going to next button).
The solution was created with success but the solution is hanging to run, the project API.HOST is restarting endless and I believe that there is anything related to this release generating bug on Http.Api.Host because this project is hanging and doesn“t start on ABP Studio, in a endless process, having "exit code: 1" endless.
I“m not able to create a solution without CMS Kit to test if the problem is related to the new ABP Studio release or if it is related to the inclusion of CMS in the solution.
The previous solution created just before open this ticket still working fine and starts very quick without restarting any project.
Can you help on that?
Hi Sr. Please take a look at the email below, I believe there is a misunderstand about the which version should apply these restrictions. As you will see, Tarik mentioned that Personal Licenses bought before July 23rd, 2024 should not have the restrictions, the restrictions apply only for new subscribers.
Can you please review internally based on the email below?
Many thanks!
Check the docs before asking a question: https://abp.io/docs/latest
Check the samples to see the basic tasks: https://abp.io/docs/latest/samples
The exact solution to your question may have been answered before, and please first use the search on the homepage.
Provide us with the following info:
š§ Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.
Hi,
Appreciate your answer, helped a lot.
Now i am facing another problem, my workflow doesn't work as I expected in the deploy step, the runner accuse an error that the site was not found, but I checked a lot of times and the name was correct, I already added it in the iis manager and in the hosts file but didn't work.
I already checked iis, web management service and the firewall, all of them are ok.
my actual workflow is:
name: Deploy Entire App using Web Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '9.0'
- name: Restore dependencies
run: dotnet restore
- name: Build project
run: dotnet build --configuration Release
- name: Publish AuthServer
run: dotnet publish ./src/Alfa5.AuthServer/Alfa5.AuthServer.csproj -c Release -o ./publish/AuthServer
- name: List published files #debug
run: dir ./publish/AuthServer
- name: Deploy AuthServer using Web Deploy
run: |
& "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
-verb:sync `
-source:contentPath=./publish/AuthServer `
-dest:iisApp=webdepauthserveralfa5,wmsvc=https://52.168.74.165:8172/msdeploy.axd ,username=***,password=***,authType=Basic `
-allowUntrusted
- name: Publish Blazor
run: dotnet publish ./src/Alfa5.Blazor/Alfa5.Blazor.csproj -c Release -o ./publish/Blazor
- name: Deploy Blazor using Web Deploy
run: |
& "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
-verb:sync `
-source:contentPath=./publish/Blazor `
-dest:iisApp=webdepblazoralfa5,wmsvc=https://52.168.74.165:8172/msdeploy.axd,username=***,password=***,authType=Basic `
-allowUntrusted
- name: Publish HttpApiHost
run: dotnet publish ./src/Alfa5.HttpApi.Host/Alfa5.HttpApi.Host.csproj -c Release -o ./publish/HttpApi.Host
- name: Deploy HttpApiHost using Web Deploy
run: |
& "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
-verb:sync `
-source:contentPath=./publish/HttpApi.Host `
-dest:iisApp=webdephttpapihostalfa5,wmsvc=https://52.168.74.165:8172/msdeploy.axd,username=***,password=***,authType=Basic `
-allowUntrusted
The error message is:
Run & "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
& "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
-verb:sync `
-source:contentPath=./publish/AuthServer `
-dest:iisApp=webdepauthserveralfa5,wmsvc=https://52.168.74.165:8172/msdeploy.axd,username=sdtweb01\opsadmin,*** `
-allowUntrusted
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
env:
DOTNET_ROOT: C:\Program Files\dotnet
Error Code: ERROR_SITE_DOES_NOT_EXIST
More Information: Site '.' does not exist. Learn more at: https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SITE_DOES_NOT_EXIST.
Error: Object of type 'contentPath' and path './publish/AuthServer' cannot be created.
Error count: 1.
Error: Process completed with exit code 1.
The steps are the same as the first question that I made, thanks :)
Hi,
I am deploying a tiered blazor server app in iis on a virtual machine hosted in azure using github actions and a pipeline to execute the webdeploy when a push was done, but i am having trouble with an specific project (maui project) that misses the android sdk to finish the build and followingly the webdeploy.
I'll share my workflow first:
name: Deploy Entire App using Web Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: self-hosted
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '9.0'
- name: Install MAUI Workloads
run: dotnet workload restore
- name: Restore dependencies
run: dotnet restore
- name: Build project
run: dotnet build --configuration Release
# Publicar e Deploy do AuthServer
- name: Publish AuthServer
run: dotnet publish ./src/Alfa5.AuthServer/Alfa5.AuthServer.csproj -c Release -o ./publish/AuthServer
- name: Deploy using Web Deploy
run: |
"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
-verb:sync `
-source:contentPath="./publish/AuthServer" `
-dest:iisApp="webdepauthserveralfa5",wmsvc=***,username=***,password=***,authType=Basic `
-allowUntrusted
# Publicar e Deploy do Blazor
- name: Publish Blazor
run: dotnet publish ./src/Alfa5.Blazor/Alfa5.Blazor.csproj -c Release -o ./publish/Blazor
- name: Deploy using Web Deploy
run: |
"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
-verb:sync `
-source:contentPath="./publish/Blazor" `
-dest:iisApp="webdepblazoralfa5",wmsvc=***,username=***,password=***,authType=Basic `
-allowUntrusted
# Publicar e Deploy do HttpApiHost
- name: Publish Blazor
run: dotnet publish ./src/Alfa5.HttpApi.Host/Alfa5.HttpApi.Host.csproj -c Release -o ./publish/HttpApi.Host
- name: Deploy using Web Deploy
run: |
"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
-verb:sync `
-source:contentPath="./publish/HttpApi.Host" `
-dest:iisApp="webdephttpapihostalfa5",wmsvc=***,username=***,password=***,authType=Basic `
-allowUntrusted
Iam confused cause I did the webdeploy manually and dont needed to manage these android dependencies, cause I dont even need them, my plans don't involve mobile apps for now. But I wonder if that are solutions for this instead of simply removing that project, because in long terms I will need to solve this.
I already tried to install the sdk from android studio on the virtual machine. Already tried to add the chocolatey command to install the sdk on the workflows. None of them worked.
Run dotnet build --configuration Release
Determining projects to restore...
Error: C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\35.0.24\tools\Xamarin.Android.Tooling.targets(62,5): error XA5300: The Android SDK directory could not be found. Install the Android SDK by following the instructions at: https://aka.ms/dotnet-android-install-sdk [C:\Users\opsadmin\actions-runner-2\_work\alfa5webdeploytest\alfa5webdeploytest\src\Alfa5.Maui\Alfa5.Maui.csproj::TargetFramework=net9.0-android]
Error: C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\35.0.24\tools\Xamarin.Android.Tooling.targets(62,5): error XA5300: To use a custom SDK path for a command line build, set the 'AndroidSdkDirectory' MSBuild property to the custom path. [C:\Users\opsadmin\actions-runner-2\_work\alfa5webdeploytest\alfa5webdeploytest\src\Alfa5.Maui\Alfa5.Maui.csproj::TargetFramework=net9.0-android]
I would like to know if I am doing this correctly, because i am trying to deploy it this way its been a while, there are some documentation of webdeploying tiered apps using github actions?
Thanks :)
Hi,
I am trying to make the deployment of a single project (Alfa5.Blazor) of a tiered app on iis server in a virtual machine hosted in azure, using webdeploy and github actions to update automatically the files when a push was done.
The workflow that I configured is this:
name: Deploy to IIS using Web Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: self-hosted
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '9.0'
- name: Remove ABP NuGet source if exists
run: |
dotnet nuget remove source ABP
if ($?) { Write-Host "Source ABP removed." } else { Write-Host "Source ABP not found." }
- name: Add ABP NuGet source
run: dotnet nuget add source https://nuget.abp.io/***/v3/index.json --name ABP --username *** --password ***
- name: Restore dependencies
run: dotnet restore
- name: Build project
run: dotnet build --configuration Release --no-restore
- name: Publish application
run: dotnet publish -c Release -o ./publish
- name: Deploy using Web Deploy
run: |
"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
-verb:sync `
-source:contentPath="./publish" `
-dest:iisApp="webdeployblazor",wmsvc=***,username="***",password=***,authType=Basic `
-allowUntrusted
The app is tiered, so the project needs project dependencies that are referred in another directories, above the root of the project. But i am deploying just a single project, so to get around this problema I create a directory named "projectDependencies" and imported the necessary dependencies to inside it.
Inicially was working, but when I finished the importations of the project dependencies an another error was called, about circular dependencies. I already checked if really was circular dependencies in the project but I couldn't find none.
I will show the dependencies next:
Alfa5.Blazor:
<ItemGroup> <ProjectReference Include="projectDependencies/Alfa5.Blazor.Client.csproj" /> <ProjectReference Include="projectDependencies/Alfa5.HttpApi.Client.csproj" /> </ItemGroup>
Alfa5.Blazor.Client:
<ItemGroup> <ProjectReference Include="Alfa5.HttpApi.Client.csproj" /> </ItemGroup>
Alfa5.HttpApi.Client:
<ItemGroup> <ProjectReference Include="Alfa5.Application.Contracts.csproj" /> </ItemGroup>
Alfa5.Application.Contracts:
<ItemGroup> <ProjectReference Include="Alfa5.Domain.Shared.csproj" /> </ItemGroup>
Alfa5.Domain.Shared: None
This made me think if there are another thing that I missed, of if its a problem caused about some abp package that are confliting or if this what i am doing is even possible. I am accepting any solutions, cause is just a test, the next step that i would try was to deploy the whole app when a push was done, identifying what changed and making the webdeploy, but it will be way more complicated.
Run dotnet build --configuration Release --no-restore
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\Alfa5.Blazor.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp (= 0.17.1) but version AngleSharp 1.1.2 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\Alfa5.Blazor.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp.Css (= 0.17.0) but version AngleSharp.Css 1.0.0-beta.144 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Blazor.Client.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp (= 0.17.1) but version AngleSharp 1.1.2 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Blazor.Client.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp.Css (= 0.17.0) but version AngleSharp.Css 1.0.0-beta.144 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.HttpApi.Client.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp (= 0.17.1) but version AngleSharp 1.1.2 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.HttpApi.Client.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp.Css (= 0.17.0) but version AngleSharp.Css 1.0.0-beta.144 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Domain.Shared.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp (= 0.17.1) but version AngleSharp 1.1.2 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Domain.Shared.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp.Css (= 0.17.0) but version AngleSharp.Css 1.0.0-beta.144 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Application.Contracts.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp (= 0.17.1) but version AngleSharp 1.1.2 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Application.Contracts.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp.Css (= 0.17.0) but version AngleSharp.Css 1.0.0-beta.144 was resolved.
C:\Program Files\dotnet\sdk\9.0.101\Microsoft.Common.CurrentVersion.targets(2132,5): error MSB4006: There is a circular dependency in the target dependency graph involving target "ResolveProjectReferences". [C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Application.Contracts.csproj]
C:\Program Files\dotnet\sdk\9.0.101\Microsoft.Common.CurrentVersion.targets(2132,5): error MSB4006: There is a circular dependency in the target dependency graph involving target "ResolveProjectReferences". [C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Domain.Shared.csproj]
Build FAILED.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\Alfa5.Blazor.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp (= 0.17.1) but version AngleSharp 1.1.2 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\Alfa5.Blazor.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp.Css (= 0.17.0) but version AngleSharp.Css 1.0.0-beta.144 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Blazor.Client.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp (= 0.17.1) but version AngleSharp 1.1.2 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Blazor.Client.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp.Css (= 0.17.0) but version AngleSharp.Css 1.0.0-beta.144 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.HttpApi.Client.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp (= 0.17.1) but version AngleSharp 1.1.2 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.HttpApi.Client.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp.Css (= 0.17.0) but version AngleSharp.Css 1.0.0-beta.144 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Domain.Shared.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp (= 0.17.1) but version AngleSharp 1.1.2 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Domain.Shared.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp.Css (= 0.17.0) but version AngleSharp.Css 1.0.0-beta.144 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Application.Contracts.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp (= 0.17.1) but version AngleSharp 1.1.2 was resolved.
C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Application.Contracts.csproj : warning NU1608: Detected package version outside of dependency constraint: HtmlSanitizer 8.1.870 requires AngleSharp.Css (= 0.17.0) but version AngleSharp.Css 1.0.0-beta.144 was resolved.
C:\Program Files\dotnet\sdk\9.0.101\Microsoft.Common.CurrentVersion.targets(2132,5): error MSB4006: There is a circular dependency in the target dependency graph involving target "ResolveProjectReferences". [C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Application.Contracts.csproj]
C:\Program Files\dotnet\sdk\9.0.101\Microsoft.Common.CurrentVersion.targets(2132,5): error MSB4006: There is a circular dependency in the target dependency graph involving target "ResolveProjectReferences". [C:\Users\opsadmin\actions-runner\_work\webdeploytest\webdeploytest\projectDependencies\Alfa5.Domain.Shared.csproj]
10 Warning(s)
2 Error(s)
Time Elapsed 00:00:02.45 Error: Process completed with exit code 1.
Thanks :)
Provide us with the following info:
š§ Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.
I created a new Blazor Server using ABP Studio. The application configuration is listed below, copied from ABP Studio Configuration. This a new application build.
- **Template**: app
- **Created ABP Studio Version**: 0.9.6 - **Tiered**: No - **UI Framework**: blazor-server - **Theme**: leptonx - **Theme Style**: system - **Database Provider**: ef - **Database Management System**: sqlserver - **Separate Tenant Schema**: Yes - **Mobile Framework**: maui - **Public Website**: Yes - **Optional Modules**: * GDPR * FileManagement * TextTemplateManagement * LanguageManagement * AuditLogging * SaaS * Chat * OpenIddictAdmin
The new application was copied to another machine where I“m doing some tests about the deployment. The first thing is to transfer the application, run the migration etc. BUT the new PC isn“t logged in to my Commercial Account, because the future server will not also logged in to the commercial account.
When running the application (example the Web-Public, or Blazor) it runs very slowly, the time to load the page on the browser is too high. I“ve tried to diagnose the situation running the application through a Windows command prompt, running "DOTNET RUN" to see what happens.
I found many calls to license server getting error, maybe it is running in endless looping affecting the performance of the new application. I understood that it is not needed to LogIn to Commercial Account to run the application.
The below picture shows the errors:

What should I do to avoid these endless calls to License Server? Also to improve the response time of the application?
Check the docs before asking a question: https://abp.io/docs/latest
Check the samples to see the basic tasks: https://abp.io/docs/latest/samples
The exact solution to your question may have been answered before, and please first use the search on the homepage.
Provide us with the following info:
š§ Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.
The below picture shows the browser requesting the valid certificate. There is no instructions about the files to be updated in the code to pass the local certificate path.
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
I updated the ABP and ABP suite to 6.0.0-rc.1 (Prerelease) today and tried to create a sample application to discover the new features announced on 6.0.0-rc.1 (Prerelease).
I just launched ABP Suite, and selected the following fields to create the application and figured out that the applicantion does not run in my local computer. I believe that something is missing in the SUITE when creating the solution. The stable version (5.3.3) works very well, but the prerelease is failing)
Here below is the outputs from ABP suite command line screen.

Here is the Wizard asking for initial build and seed

After this, I“ve tried to run the application using Visual Studio, but after the browser launches the application, nothing is shown in the browser, many alerts appears in the Visual Studio outputs, and many error messages appear in the Server side.
Here is the initial step to build and run the sample application
Multiples warnings on Visual Studio presented below:

The building output has warnings:

<br>
Additionally, the appsettings.json does not contain the Authentication Server or remote server:
There are many errors in the Console of DEV Tools of Chrome:

Please, help.