Activities of "isteer"

Hello,

Can you suggest what should we change in current version as we can not upgrade to new version at this moment ?

Thanks, Ankit

Hello Same issue we faced before and we follow your suggestions mentioned in the below ticket, so now if session expired it takes us to unauthorized page but if you try to logout and login again it keeps loading page again and again

https://support.abp.io/QA/Questions/4837/Token-expiration-not-handled-properly

Hello,

Above shared steps are only steps to reproduce, if session get idle for sometime, or you logged in system for more than 1-2 hours then issue get reproduced.

Thanks, Ankit

Hello,

We got the root issue, ABP packages are not restoring from nuget.config reference

<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> <add key="ABP Commercial NuGet Source" value="https://nuget.abp.io/455e59eb-b601-4784-b507-8ac6a664cc6a/v3/index.json" /> </packageSources> </configuration>

We checked logs and for all abp package restore we are getting not found, attached screenshot:

And these logs generating from nuget restore step in pipeline:

Hello Team,

Can anyone guide us we are following properly everything, remove the deletion steps as well still it is not generating those three folders?

Modules Pages Views

Yes we disabled delete auth files in the above screenshot if you see, still it is not generating views and abp packages folders.

Thanks,

And this is the nuget.config file content:

<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> <add key="ABP Commercial NuGet Source" value="https://nuget.abp.io/455e59eb-b601-4784-b507-8ac6a664cc6a/v3/index.json" /> </packageSources> </configuration>

And this is package.json

{ "version": "1.0.0", "name": "my-app", "private": true, "dependencies": { "@volo/abp.aspnetcore.mvc.ui.theme.leptonx": "~2.0.0-rc.4", "@volo/account": "^7.0.1", "@volo/audit-logging": "^7.0.1", "@volo/chat": "^7.0.1", "@volo/forms": "^7.0.1", "@volo/identity": "^7.0.1", "@volo/language-management": "^7.0.1", "@volo/saas": "^7.0.1" } }

Using the same version of nugetrestore that we are using in local visual studio. Nuget package manager 6.4.0

THIS is the YAML file

variables:

  • name: BuildParameters.solution value: '***.sln' trigger: branches: include:
    • refs/heads/staging name: $(date:yyyyMMdd)$(rev:.r) resources: repositories:
    • repository: self type: git ref: refs/heads/staging jobs:
  • job: Job_1 displayName: Agent job 1 pool: vmImage: windows-latest steps:
    • checkout: self fetchDepth: 1

    • task: UseDotNet@2 displayName: Use .NET Core sdk 7.0.x inputs: version: 7.0.x

    • task: NuGetToolInstaller@0 displayName: Use NuGet 6.4.0 inputs: versionSpec: 6.4.0

    • task: NuGetCommand@2 displayName: NuGet restore inputs: solution: $(BuildParameters.solution) selectOrConfig: config nugetConfigPath: NuGet.Config

    • task: VSBuild@1 displayName: Build solution Auth inputs: solution: src/Phoenix.GTCManagement.AuthServer/Phoenix.GTCManagement.AuthServer.csproj msbuildArgs: /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactstagingdirectory)\" platform: $(BuildPlatform) configuration: $(BuildConfiguration)

    • task: PublishBuildArtifacts@1 displayName: Publish Artifact Auth condition: succeededOrFailed() inputs: PathtoPublish: $(build.artifactstagingdirectory) ArtifactName: drop auth TargetPath: '\my\share$(Build.DefinitionName)$(Build.BuildNumber)'

    • task: DeleteFiles@1 displayName: Delete files Auth enabled: False inputs: SourceFolder: $(build.artifactstagingdirectory) Contents: '**'

    • task: VSBuild@1 displayName: 'Build solution web ' inputs: solution: src/Phoenix.GTCManagement.Web/Phoenix.GTCManagement.Web.csproj msbuildArgs: /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactstagingdirectory)\" platform: $(BuildPlatform) configuration: $(BuildConfiguration)

    • task: PublishBuildArtifacts@1 displayName: Publish Artifact web condition: succeededOrFailed() inputs: PathtoPublish: $(build.artifactstagingdirectory) ArtifactName: drop web TargetPath: '\my\share$(Build.DefinitionName)$(Build.BuildNumber)'

    • task: DeleteFiles@1 displayName: Delete files Web inputs: SourceFolder: $(build.artifactstagingdirectory) Contents: '**'

    • task: VSBuild@1 displayName: 'Build solution host ' inputs: solution: src/Phoenix.GTCManagement.HttpApi.Host/Phoenix.GTCManagement.HttpApi.Host.csproj msbuildArgs: /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactstagingdirectory)\" platform: $(BuildPlatform) configuration: $(BuildConfiguration)

    • task: PublishBuildArtifacts@1 displayName: Publish Artifact host condition: succeededOrFailed() inputs: PathtoPublish: $(build.artifactstagingdirectory) ArtifactName: drop host TargetPath: '\my\share$(Build.DefinitionName)$(Build.BuildNumber)'

    • task: DeleteFiles@1 displayName: Delete files Web Host inputs: SourceFolder: $(build.artifactstagingdirectory) Contents: '**'

    • task: VSTest@2 displayName: Test Assemblies inputs: testAssemblyVer2: >- *$(BuildConfiguration)*test.dll

      !**\obj\**
      

      platform: $(BuildPlatform) configuration: $(BuildConfiguration)

    • task: PublishSymbols@2 displayName: Publish symbols path continueOnError: True inputs: SearchPattern: '**\bin***.pdb' PublishSymbols: false SymbolServerType: TeamServices ...

Okay will try this today and reply back here.

IIS not installed in my local machine. I am running the application on visual studio.

Showing 1 to 10 of 85 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11