Activities of "wazbek"

Hi

Is there a way to customize the Lepton theme to use our company's color scheme?

If so, how would I go about doing this?

We are using the Angular start up template.

Regards,

Warick

Hi

I am having the same issue but with "dotnet restore" in our Azure build pipeline. Multiple Volo.* packages throwing the error NU1101: Unable to find package Volo.* . No packages exist with this id in source(s): NuGetOrg.

Please provide a solution.

Regards,

Warick

Hi

Can you please share what your build pipeline yaml looks like to get this to work?

I am still getting errors when running 'dotnet restore'. I have the 'ABP Commercial NuGet Source' configured in my NuGet.Config file.

This is what my restore step looks like in my yaml file:

- job: aspnetcore
    displayName: .NET Core
    pool:
      vmImage: 'ubuntu-latest'
    steps:
      - task: DotNetCoreInstaller@0
        displayName: 'Install .NET Core Sdk'
        inputs:
          version: 3.1.101
      - task: DotNetCoreCLI@2
        displayName: '.NET Core Restore'
        inputs:
          command: restore 
          nugetConfigPath: NexBase/aspnet-core/NuGet.Config
          projects: |
            NexBase/aspnet-core/Modules/**/src/*.csproj
            NexBase/aspnet-core/src/**/*.csproj

I am still recieving the following errors:

/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Application.Contracts/NexBase.Application.Contracts.csproj : error NU1101: Unable to find package Volo.Abp.Account.Pro.Admin.Application.Contracts. No packages exist with this id in source(s): NuGetOrg
         /home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj : error NU1101: Unable to find package Volo.Abp.LeptonTheme.Management.Domain.Shared. No packages exist with this id in source(s): NuGetOrg [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Application.Contracts/NexBase.Application.Contracts.csproj]
         /home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj : error NU1101: Unable to find package Volo.Saas.Domain.Shared. No packages exist with this id in source(s): NuGetOrg [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Application.Contracts/NexBase.Application.Contracts.csproj]
         /home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj : error NU1101: Unable to find package Volo.Abp.LanguageManagement.Domain.Shared. No packages exist with this id in source(s): NuGetOrg [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Application.Contracts/NexBase.Application.Contracts.csproj]
         /home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Application.Contracts/NexBase.Application.Contracts.csproj : error NU1101: Unable to find package Volo.Abp.Account.Pro.Public.Application.Contracts. No packages exist with this id in source(s): NuGetOrg
         /home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Application.Contracts/NexBase.Application.Contracts.csproj : error NU1101: Unable to find package Volo.Abp.LeptonTheme.Management.Application.Contracts. No packages exist with this id in source(s): NuGetOrg
         /home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Application.Contracts/NexBase.Application.Contracts.csproj : error NU1101: Unable to find package Volo.Abp.LanguageManagement.Application.Contracts. No packages exist with this id in source(s): NuGetOrg
         /home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Application.Contracts/NexBase.Application.Contracts.csproj : error NU1101: Unable to find package Volo.Saas.Host.Application.Contracts. No packages exist with this id in source(s): NuGetOrg
         /home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Application.Contracts/NexBase.Application.Contracts.csproj : error NU1101: Unable to find package Volo.Abp.Identity.Pro.Application.Contracts. No packages exist with this id in source(s): NuGetOrg
         /home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Application.Contracts/NexBase.Application.Contracts.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application.Contracts. No packages exist with this id in source(s): NuGetOrg
         /home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Application.Contracts/NexBase.Application.Contracts.csproj : error NU1101: Unable to find package Volo.Abp.IdentityServer.Application.Contracts. No packages exist with this id in source(s): NuGetOrg
         /home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Application.Contracts/NexBase.Application.Contracts.csproj : error NU1101: Unable to find package Volo.Abp.LeptonTheme.Management.Domain.Shared. No packages exist with this id in source(s): NuGetOrg
         /home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Application.Contracts/NexBase.Application.Contracts.csproj : error NU1101: Unable to find package Volo.Saas.Domain.Shared. No packages exist with this id in source(s): NuGetOrg
         /home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Application.Contracts/NexBase.Application.Contracts.csproj : error NU1101: Unable to find package Volo.Abp.LanguageManagement.Domain.Shared. No packages exist with this id in source(s): NuGetOrg

Am I missing something?

Got this working by adding this to the inputs of the restore task:

feedsToUse: config

Hi

Can you please share your dotnet build step. I am still getting errors on my build step:

NexBaseDomainSharedModule.cs(7,16): error CS0234: The type or namespace name 'LanguageManagement' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
NexBaseDomainSharedModule.cs(8,16): error CS0234: The type or namespace name 'LeptonTheme' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
NexBaseDomainSharedModule.cs(15,12): error CS0234: The type or namespace name 'Saas' does not exist in the namespace 'Volo' (are you missing an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
NexBaseDomainSharedModule.cs(27,16): error CS0246: The type or namespace name 'LanguageManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
NexBaseDomainSharedModule.cs(28,16): error CS0246: The type or namespace name 'SaasDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
NexBaseDomainSharedModule.cs(29,16): error CS0246: The type or namespace name 'LeptonThemeManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
    8 Warning(s)
    6 Error(s)

Hi

I am getting the following error in my Azure Devops build pipeline on the '.NET Core Build' task.

##[error]/home/vsts/.nuget/packages/sourcelink.create.commandline/2.8.3/build/SourceLink.Create.CommandLine.targets(30,5): Error : unable to convert OriginUrl: https://eohesa@dev.azure.com/eohesa/NextecBase/_git/NextecBase

This is what my pipeline yaml looks like:

- job: aspnetcore
    displayName: .NET Core
    pool:
      vmImage: 'ubuntu-latest'
    steps:
      - task: DotNetCoreInstaller@0
        displayName: 'Install .NET Core Sdk'
        inputs:
          version: 3.1.101
          
      - task: DotNetCoreCLI@2
        displayName: '.NET Core Restore'
        inputs:
          command: restore 
          verbosityRestore: Normal
          feedsToUse: config
          nugetConfigPath: NexBase/aspnet-core/NuGet.Config
          projects: |
            NexBase/aspnet-core/**/*.csproj
            
      - task: DotNetCoreCLI@2
        displayName: '.NET Core Build'
        inputs:
          command: build
          projects: |
            NexBase/aspnet-core/src/NexBase.DbMigrator/NexBase.DbMigrator.csproj
            NexBase/aspnet-core/src/NexBase.HttpApi.Host/NexBase.HttpApi.Host.csproj
          arguments: '--configuration $(BuildConfiguration) --no-restore'

Can you please provide an example to get my build working or provide some feedback to get this working. I have googled the problem and I found this issue:

[https://github.com/dotnet/sourcelink/issues/166]

One of the comments suggests: "Could you try to remove SourceLink.Create.CommandLine 2.8.3? The only package reference you need to get SoruceLink working for Azure DevOps hosted repo is Microsoft.SourceLink.Vsts.Git. See https://github.com/dotnet/sourcelink#visual-studio-team-services".

Please advise on a way forward

Hi alper

I have tried what you suggested above but used Azure Repos (former Visual Studio Team Services) since we are not using the on prem version. I added the following entry into the "aspnet-core/common.props" file.

<ItemGroup>
  <PackageReference Include="Microsoft.SourceLink.AzureRepos.Git" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

I am still receiving an error though:

(Restore target) -> 
/opt/hostedtoolcache/dncs/3.1.101/x64/sdk/3.1.101/NuGet.targets(123,5): error : Failed to retrieve information about 'Microsoft.SourceLink.AzureRepos.Git' from remote source 'https://nuget.abp.io/{private abp commercial key}/v3/package/microsoft.sourcelink.azurerepos.git/index.json'. 		 
/opt/hostedtoolcache/dncs/3.1.101/x64/sdk/3.1.101/NuGet.targets(123,5): error :   Response status code does not indicate success: 403 (Forbidden). 

I have also tried different combinations of the source link packages "Microsoft.SourceLink.GitHub" and "SourceLink.Create.CommandLine" together with "Microsoft.SourceLink.AzureRepos.Git" but with no luck. It is recommended to use the Microsoft.SourceLink.* packages since SourceLink.Create.CommandLine is an old version.

From the github repo https://github.com/dotnet/sourcelink it states: "If you distribute the library via a package published to NuGet.org, it is recommended to build a symbol package and publish it to NuGet.org as well. This will make the symbols available on NuGet.org symbol server, where the debugger can download it from when needed. Alternatively, you can include the symbols in the main package. However, doing so is not recommended as it increases the size of the package and thus restore time for projects that consume your package." Has this been done for abp and if so which of the sourcelink providers should I be using to get past the error above?

Hi alper

"The only difference for ABP is, there are commercial packages which are hosted on https://nuget.abp.io." I am aware of this "ABP NuGet package source is written in your NuGet.Config file (at the root directory of the solution)." I am also aware of this "Remove the package SourceLink.Create.CommandLine and try again."

That is exactly what I did. This is what the common.props file contains:

<Project>
  <PropertyGroup>
    <LangVersion>latest</LangVersion>
    <Version>1.0.0</Version>
    <NoWarn>$(NoWarn);CS1591</NoWarn>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.SourceLink.AzureRepos.Git" Version="1.0.0" PrivateAssets="All"/>
  </ItemGroup>
</Project>

I am still getting the error in my above response.

OK I have removed all entries in the common.props file and I get the following errors on the dotnet build step:

##[error]/home/vsts/.nuget/packages/sourcelink.create.commandline/2.8.3/build/SourceLink.Create.CommandLine.targets(30,5): Error : unable to convert OriginUrl: https://eohesa@dev.azure.com/eohesa/NextecBase/_git/NextecBase
/home/vsts/.nuget/packages/sourcelink.create.commandline/2.8.3/build/SourceLink.Create.CommandLine.targets(30,5): error : unable to convert OriginUrl: https://eohesa@dev.azure.com/eohesa/NextecBase/_git/NextecBase [/home/vsts/work/1/s/NexBase/aspnet-core/Modules/NexModule.Samm/src/NexModule.Samm.Domain.Shared/NexModule.Samm.Domain.Shared.csproj]
##[warning]NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj(0,0): Warning NU1701: Package 'BouncyCastle 1.8.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj : warning NU1701: Package 'BouncyCastle 1.8.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
##[error]NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBaseDomainSharedModule.cs(7,16): Error CS0234: The type or namespace name 'LanguageManagement' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?)
NexBaseDomainSharedModule.cs(7,16): error CS0234: The type or namespace name 'LanguageManagement' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
##[error]NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBaseDomainSharedModule.cs(8,16): Error CS0234: The type or namespace name 'LeptonTheme' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?)
NexBaseDomainSharedModule.cs(8,16): error CS0234: The type or namespace name 'LeptonTheme' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
##[error]NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBaseDomainSharedModule.cs(15,12): Error CS0234: The type or namespace name 'Saas' does not exist in the namespace 'Volo' (are you missing an assembly reference?)
NexBaseDomainSharedModule.cs(15,12): error CS0234: The type or namespace name 'Saas' does not exist in the namespace 'Volo' (are you missing an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
##[error]NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBaseDomainSharedModule.cs(27,16): Error CS0246: The type or namespace name 'LanguageManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?)
NexBaseDomainSharedModule.cs(27,16): error CS0246: The type or namespace name 'LanguageManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
##[error]NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBaseDomainSharedModule.cs(28,16): Error CS0246: The type or namespace name 'SaasDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?)
NexBaseDomainSharedModule.cs(28,16): error CS0246: The type or namespace name 'SaasDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
##[error]NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBaseDomainSharedModule.cs(29,16): Error CS0246: The type or namespace name 'LeptonThemeManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?)

I see the SourceLink.Create.CommandLine package is still referenced in one of my modules, should I remove the package reference too?

With the SourceLink.Create.CommandLine package completely removed from all of my project files and all common.props files I still get the following errors:

##[error]NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBaseDomainSharedModule.cs(7,16): Error CS0234: The type or namespace name 'LanguageManagement' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?)
NexBaseDomainSharedModule.cs(7,16): error CS0234: The type or namespace name 'LanguageManagement' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
##[error]NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBaseDomainSharedModule.cs(8,16): Error CS0234: The type or namespace name 'LeptonTheme' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?)
NexBaseDomainSharedModule.cs(8,16): error CS0234: The type or namespace name 'LeptonTheme' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
##[error]NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBaseDomainSharedModule.cs(15,12): Error CS0234: The type or namespace name 'Saas' does not exist in the namespace 'Volo' (are you missing an assembly reference?)
NexBaseDomainSharedModule.cs(15,12): error CS0234: The type or namespace name 'Saas' does not exist in the namespace 'Volo' (are you missing an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
##[error]NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBaseDomainSharedModule.cs(27,16): Error CS0246: The type or namespace name 'LanguageManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?)
NexBaseDomainSharedModule.cs(27,16): error CS0246: The type or namespace name 'LanguageManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
##[error]NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBaseDomainSharedModule.cs(28,16): Error CS0246: The type or namespace name 'SaasDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?)
NexBaseDomainSharedModule.cs(28,16): error CS0246: The type or namespace name 'SaasDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]
##[error]NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBaseDomainSharedModule.cs(29,16): Error CS0246: The type or namespace name 'LeptonThemeManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?)
NexBaseDomainSharedModule.cs(29,16): error CS0246: The type or namespace name 'LeptonThemeManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/NexBase/aspnet-core/src/NexBase.Domain.Shared/NexBase.Domain.Shared.csproj]

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