ABP Framework version: v8.2.2
UI Type: Angular
Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
Tiered (for MVC) or Auth Server Separated (for Angular): no
Exception message and full stack trace: C:\hostedtoolcache\windows\dotnet\dotnet.exe build D:\a\1\s\src\Volo.Abp.Account.Pro.Admin.Application.Contracts\Volo.Abp.Account.Pro.Admin.Application.Contracts.csproj "-dl:CentralLogger,"D:\a_tasks\DotNetCoreCLI_5541a522-603c-47ad-91fc-a4b1d163081b\2.247.3\dotnet-build-helpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll"*ForwardingLogger,"D:\a_tasks\DotNetCoreCLI_5541a522-603c-47ad-91fc-a4b1d163081b\2.247.3\dotnet-build-helpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll"" --configuration Release Determining projects to restore... ##[error]src\Volo.Abp.Account.Pro.Admin.Application.Contracts\Volo.Abp.Account.Pro.Admin.Application.Contracts.csproj(0,0): Error NU1605: Warning As Error: Detected package downgrade: Microsoft.Extensions.FileProviders.Embedded from 8.0.4 to 6.0.0. Reference the package directly from the project to select a different version. Volo.Abp.Account.Pro.Admin.Application.Contracts -> Volo.Abp.Account.Pro.Shared.Application.Contracts -> Volo.Abp.Identity.Pro.Application.Contracts 8.2.2 -> Volo.Abp.Identity.Pro.Domain.Shared 8.2.2 -> Microsoft.Extensions.FileProviders.Embedded (>= 8.0.4) Volo.Abp.Account.Pro.Admin.Application.Contracts -> Volo.Abp.Account.Pro.Shared.Application.Contracts -> Microsoft.Extensions.FileProviders.Embedded (>= 6.0.0) D:\a\1\s\src\Volo.Abp.Account.Pro.Admin.Application.Contracts\Volo.Abp.Account.Pro.Admin.Application.Contracts.csproj : error NU1605: Warning As Error: Detected package downgrade: Microsoft.Extensions.FileProviders.Embedded from 8.0.4 to 6.0.0. Reference the package directly from the project to select a different version. D:\a\1\s\src\Volo.Abp.Account.Pro.Admin.Application.Contracts\Volo.Abp.Account.Pro.Admin.Application.Contracts.csproj : error NU1605: Volo.Abp.Account.Pro.Admin.Application.Contracts -> Volo.Abp.Account.Pro.Shared.Application.Contracts -> Volo.Abp.Identity.Pro.Application.Contracts 8.2.2 -> Volo.Abp.Identity.Pro.Domain.Shared 8.2.2 -> Microsoft.Extensions.FileProviders.Embedded (>= 8.0.4) D:\a\1\s\src\Volo.Abp.Account.Pro.Admin.Application.Contracts\Volo.Abp.Account.Pro.Admin.Application.Contracts.csproj : error NU1605: Volo.Abp.Account.Pro.Admin.Application.Contracts -> Volo.Abp.Account.Pro.Shared.Application.Contracts -> Microsoft.Extensions.FileProviders.Embedded (>= 6.0.0)
Steps to reproduce the issue:
Pipeline yaml:
job: Job_Build_Host steps: - task: UseDotNet@2 displayName: "Use .NET Core sdk 8.x" inputs: version: 8.x
- task: DotNetCoreCLI@2 displayName: Build inputs: command: "build" projects: "**/*.csproj" arguments: "--configuration Release" workingDirectory: "$(System.DefaultWorkingDirectory)/aspnet-core"
1 Answer(s)
-
0
Application.Contracts project file:
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="....\common.props" />
<PropertyGroup> <TargetFramework>net8.0</TargetFramework> <RootNamespace>PartnerPortal</RootNamespace> </PropertyGroup>
<ItemGroup> <ProjectReference Include="..\PartnerPortal.Domain.Shared\PartnerPortal.Domain.Shared.csproj" /> </ItemGroup>
<ItemGroup> <PackageReference Include="AspNetCore.HealthChecks.UI" Version="8.0.1" /> <PackageReference Include="AspNetCore.HealthChecks.UI.Client" Version="8.0.1" /> <PackageReference Include="AspNetCore.HealthChecks.UI.InMemory.Storage" Version="8.0.1" /> <PackageReference Include="Azure.Storage.Blobs" Version="12.21.2" /> <PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="8.0.0" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.Application.Contracts" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Application.Contracts" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Account.Pro.Shared.Application.Contracts" Version="8.2.2" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Localization" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Localization.Abstractions" Version="8.2.2" /> <PackageReference Include="Volo.Abp.PermissionManagement.Application.Contracts" Version="8.2.2" /> <PackageReference Include="Volo.Abp.FeatureManagement.Application.Contracts" Version="8.2.2" /> <PackageReference Include="Volo.Abp.SettingManagement.Application.Contracts" Version="8.2.2" /> <PackageReference Include="Volo.FileManagement.Application.Contracts" Version="8.2.2" /> <PackageReference Include="Volo.Saas.Host.Application.Contracts" Version="8.2.2" /> <PackageReference Include="Volo.Abp.AuditLogging.Application.Contracts" Version="8.2.2" /> <PackageReference Include="Volo.Abp.OpenIddict.Pro.Application.Contracts" Version="8.2.2" /> <PackageReference Include="Volo.Abp.LanguageManagement.Application.Contracts" Version="8.2.2" /> <PackageReference Include="Volo.Abp.TextTemplateManagement.Application.Contracts" Version="8.2.2" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Application.Contracts" Version="8.2.2" /> </ItemGroup> </Project>
Domain.Shared project file: <Project Sdk="Microsoft.NET.Sdk">
<Import Project="....\common.props" />
<PropertyGroup> <TargetFramework>net8.0</TargetFramework> <RootNamespace>PartnerPortal</RootNamespace> <GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest> </PropertyGroup>
<ItemGroup> <PackageReference Include="Azure.Storage.Blobs" Version="12.11.0" /> <PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="8.0.0" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc" Version="8.2.2" /> <PackageReference Include="Volo.Abp.OpenIddict.Pro.Domain.Shared" Version="8.2.2" /> <PackageReference Include="Volo.Abp.BackgroundJobs.Domain.Shared" Version="8.2.2" /> <PackageReference Include="Volo.Abp.AuditLogging.Domain.Shared" Version="8.2.2" /> <PackageReference Include="Volo.Abp.FeatureManagement.Domain.Shared" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Localization" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Localization.Abstractions" Version="8.2.2" /> <PackageReference Include="Volo.Abp.PermissionManagement.Domain.Shared" Version="8.2.2" /> <PackageReference Include="Volo.Abp.SettingManagement.Domain.Shared" Version="8.2.2" /> <PackageReference Include="Volo.Abp.BlobStoring.Database.Domain.Shared" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Identity.Pro.Domain.Shared" Version="8.2.2" /> <PackageReference Include="Volo.Abp.LanguageManagement.Domain.Shared" Version="8.2.2" /> <PackageReference Include="Volo.FileManagement.Domain.Shared" Version="8.2.2" /> <PackageReference Include="Volo.Saas.Domain.Shared" Version="8.2.2" /> <PackageReference Include="Volo.Abp.TextTemplateManagement.Domain.Shared" Version="8.2.2" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Domain.Shared" Version="8.2.2" /> <PackageReference Include="Volo.Abp.GlobalFeatures" Version="8.2.2" /> </ItemGroup>
<ItemGroup> <EmbeddedResource Include="Localization\PartnerPortal*.json" /> <Content Remove="Localization\PartnerPortal*.json" /> </ItemGroup>
</Project>
Domain project file: <Project Sdk="Microsoft.NET.Sdk">
<Import Project="....\common.props" />
<PropertyGroup> <TargetFramework>net8.0</TargetFramework> <RootNamespace>PartnerPortal</RootNamespace> </PropertyGroup>
<ItemGroup> <ProjectReference Include="..\PartnerPortal.Domain.Shared\PartnerPortal.Domain.Shared.csproj" /> </ItemGroup>
<ItemGroup> <PackageReference Include="Azure.Storage.Blobs" Version="12.11.0" /> <PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="8.0.0" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Emailing" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Localization" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Localization.Abstractions" Version="8.2.2" /> <PackageReference Include="Volo.Abp.PermissionManagement.Domain.Identity" Version="8.2.2" /> <PackageReference Include="Volo.Abp.OpenIddict.Pro.Domain" Version="8.2.2" /> <PackageReference Include="Volo.Abp.PermissionManagement.Domain.OpenIddict" Version="8.2.2" /> <PackageReference Include="Volo.Abp.BackgroundJobs.Domain" Version="8.2.2" /> <PackageReference Include="Volo.Abp.AuditLogging.Domain" Version="8.2.2" /> <PackageReference Include="Volo.Abp.FeatureManagement.Domain" Version="8.2.2" /> <PackageReference Include="Volo.Abp.SettingManagement.Domain" Version="8.2.2" /> <PackageReference Include="Volo.Abp.BlobStoring.Database.Domain" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Identity.Pro.Domain" Version="8.2.2" /> <PackageReference Include="Volo.Abp.LanguageManagement.Domain" Version="8.2.2" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Domain" Version="8.2.2" /> <PackageReference Include="Volo.FileManagement.Domain" Version="8.2.2" /> <PackageReference Include="Volo.Saas.Domain" Version="8.2.2" /> <PackageReference Include="Volo.Abp.TextTemplateManagement.Domain" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Commercial.SuiteTemplates" Version="8.2.2" /> </ItemGroup>
</Project>
Application project file: <Project Sdk="Microsoft.NET.Sdk">
<Import Project="....\common.props" />
<PropertyGroup> <TargetFramework>net8.0</TargetFramework> <RootNamespace>PartnerPortal</RootNamespace> </PropertyGroup>
<ItemGroup> <ProjectReference Include="..\PartnerPortal.Domain\PartnerPortal.Domain.csproj" /> <ProjectReference Include="..\PartnerPortal.Application.Contracts\PartnerPortal.Application.Contracts.csproj" /> </ItemGroup>
<ItemGroup> <PackageReference Include="Volo.Abp.Account.Pro.Shared.Application" Version="8.2.2" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc" Version="8.2.2" /> <PackageReference Include="Azure.Storage.Blobs" Version="12.21.2" /> <PackageReference Include="Volo.FileManagement.Application" Version="8.2.2" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Application" Version="8.2.2" /> <PackageReference Include="Volo.Abp.PermissionManagement.Application" Version="8.2.2" /> <PackageReference Include="Volo.Abp.FeatureManagement.Application" Version="8.2.2" /> <PackageReference Include="Volo.Abp.SettingManagement.Application" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Application" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.Application" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Identity.Pro.Application" Version="8.2.2" /> <PackageReference Include="Volo.Saas.Host.Application" Version="8.2.2" /> <PackageReference Include="Volo.Abp.AuditLogging.Application" Version="8.2.2" /> <PackageReference Include="Volo.Abp.OpenIddict.Pro.Application" Version="8.2.2" /> <PackageReference Include="Volo.Abp.LanguageManagement.Application" Version="8.2.2" /> <PackageReference Include="Volo.Abp.TextTemplateManagement.Application" Version="8.2.2" /> </ItemGroup>
</Project>