Open Closed

The solution failed to build successfully #7828


User avatar
0
liyingji created
  • ABP Framework version: v8.0
  • UI Type: MVC
  • Database System: EF Core (SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue: The solution failed to build successfully, error code cs0006 cs0246

8 Answer(s)
  • User Avatar
    0
    liyingji created

    严重性 代码 说明 项目 文件 行 禁止显示状态 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Application.Contracts\obj\Debug\net8.0\ref\Lee.Application.Contracts.dll” Lee.Web E:\Lee\src\Lee.Web\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain.Shared\obj\Debug\net8.0\ref\Lee.Domain.Shared.dll” Lee.Web E:\Lee\src\Lee.Web\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.HttpApi.Client\obj\Debug\net8.0\ref\Lee.HttpApi.Client.dll” Lee.Web E:\Lee\src\Lee.Web\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.HttpApi\obj\Debug\net8.0\ref\Lee.HttpApi.dll” Lee.Web E:\Lee\src\Lee.Web\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Application.Contracts\obj\Debug\net8.0\ref\Lee.Application.Contracts.dll” Lee.HttpApi.Host E:\Lee\src\Lee.HttpApi.Host\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Application\obj\Debug\net8.0\ref\Lee.Application.dll” Lee.HttpApi.Host E:\Lee\src\Lee.HttpApi.Host\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain\obj\Debug\net8.0\ref\Lee.Domain.dll” Lee.HttpApi.Host E:\Lee\src\Lee.HttpApi.Host\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain.Shared\obj\Debug\net8.0\ref\Lee.Domain.Shared.dll” Lee.HttpApi.Host E:\Lee\src\Lee.HttpApi.Host\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.EntityFrameworkCore\obj\Debug\net8.0\ref\Lee.EntityFrameworkCore.dll” Lee.HttpApi.Host E:\Lee\src\Lee.HttpApi.Host\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.HttpApi\obj\Debug\net8.0\ref\Lee.HttpApi.dll” Lee.HttpApi.Host E:\Lee\src\Lee.HttpApi.Host\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Application.Contracts\bin\Debug\netstandard2.1\Lee.Application.Contracts.dll” Lee.HttpApi.Client (netstandard2.1) E:\Lee\src\Lee.HttpApi.Client\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain.Shared\bin\Debug\netstandard2.1\Lee.Domain.Shared.dll” Lee.HttpApi.Client (netstandard2.1) E:\Lee\src\Lee.HttpApi.Client\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Application.Contracts\bin\Debug\netstandard2.0\Lee.Application.Contracts.dll” Lee.HttpApi.Client (netstandard2.0) E:\Lee\src\Lee.HttpApi.Client\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain.Shared\bin\Debug\netstandard2.0\Lee.Domain.Shared.dll” Lee.HttpApi.Client (netstandard2.0) E:\Lee\src\Lee.HttpApi.Client\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Application.Contracts\obj\Debug\net8.0\ref\Lee.Application.Contracts.dll” Lee.HttpApi.Client (net8.0) E:\Lee\src\Lee.HttpApi.Client\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain.Shared\obj\Debug\net8.0\ref\Lee.Domain.Shared.dll” Lee.HttpApi.Client (net8.0) E:\Lee\src\Lee.HttpApi.Client\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Application.Contracts\obj\Debug\net8.0\ref\Lee.Application.Contracts.dll” Lee.HttpApi E:\Lee\src\Lee.HttpApi\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain.Shared\obj\Debug\net8.0\ref\Lee.Domain.Shared.dll” Lee.HttpApi E:\Lee\src\Lee.HttpApi\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain\obj\Debug\net8.0\ref\Lee.Domain.dll” Lee.EntityFrameworkCore E:\Lee\src\Lee.EntityFrameworkCore\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain.Shared\obj\Debug\net8.0\ref\Lee.Domain.Shared.dll” Lee.EntityFrameworkCore E:\Lee\src\Lee.EntityFrameworkCore\CSC 1 错误(活动) CS0234 命名空间“Volo.Abp”中不存在类型或命名空间名“Emailing”(是否缺少程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 7 错误(活动) CS0234 命名空间“Volo.Abp.PermissionManagement”中不存在类型或命名空间名“Identity”(是否缺少程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 14 错误(活动) CS0234 命名空间“Volo.Abp”中不存在类型或命名空间名“Commercial”(是否缺少程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 20 错误(活动) CS0234 命名空间“Volo.Abp.PermissionManagement”中不存在类型或命名空间名“OpenIddict”(是否缺少程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 23 错误(活动) CS0246 未能找到类型或命名空间名“AbpAuditLoggingDomainModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 35 错误(活动) CS0246 未能找到类型或命名空间名“AbpBackgroundJobsDomainModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 37 错误(活动) CS0246 未能找到类型或命名空间名“AbpFeatureManagementDomainModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 38 错误(活动) CS0246 未能找到类型或命名空间名“AbpIdentityProDomainModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 39 错误(活动) CS0246 未能找到类型或命名空间名“AbpPermissionManagementDomainIdentityModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 40 错误(活动) CS0246 未能找到类型或命名空间名“AbpOpenIddictProDomainModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 41 错误(活动) CS0246 未能找到类型或命名空间名“AbpPermissionManagementDomainOpenIddictModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 42 错误(活动) CS0246 未能找到类型或命名空间名“AbpSettingManagementDomainModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 43 错误(活动) CS0246 未能找到类型或命名空间名“SaasDomainModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 44 错误(活动) CS0246 未能找到类型或命名空间名“TextTemplateManagementDomainModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 45 错误(活动) CS0246 未能找到类型或命名空间名“LanguageManagementDomainModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 46 错误(活动) CS0246 未能找到类型或命名空间名“VoloAbpCommercialSuiteTemplatesModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 47 错误(活动) CS0246 未能找到类型或命名空间名“AbpEmailingModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 48 错误(活动) CS0246 未能找到类型或命名空间名“AbpGdprDomainModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 49 错误(活动) CS0246 未能找到类型或命名空间名“CmsKitProDomainModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 50 错误(活动) CS0246 未能找到类型或命名空间名“BlobStoringDatabaseDomainModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 51 错误(活动) CS0246 未能找到类型或命名空间名“ChatDomainModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 53 错误(活动) CS0246 未能找到类型或命名空间名“FileManagementDomainModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 54 错误(活动) CS0246 未能找到类型或命名空间名“FormsDomainModule”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 55 错误(活动) CS0246 未能找到类型或命名空间名“NewsletterOptions”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 88 错误(活动) CS0246 未能找到类型或命名空间名“NewsletterPreferenceDefinition”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 92 错误(活动) CS0246 未能找到类型或命名空间名“IEmailSender”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 101 错误(活动) CS0246 未能找到类型或命名空间名“NullEmailSender”(是否缺少 using 指令或程序集引用?) Lee.Domain.Shared (net8.0), Lee.Domain.Shared (netstandard2.0), Lee.Domain.Shared (netstandard2.1) E:\Lee\src\Lee.Domain.Shared\LeeDomainModule.cs 101 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain.Shared\obj\Debug\net8.0\ref\Lee.Domain.Shared.dll” Lee.Domain E:\Lee\src\Lee.Domain\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain\obj\Debug\net8.0\ref\Lee.Domain.dll” Lee.AuthServer E:\Lee\src\Lee.AuthServer\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain.Shared\obj\Debug\net8.0\ref\Lee.Domain.Shared.dll” Lee.AuthServer E:\Lee\src\Lee.AuthServer\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.EntityFrameworkCore\obj\Debug\net8.0\ref\Lee.EntityFrameworkCore.dll” Lee.AuthServer E:\Lee\src\Lee.AuthServer\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain.Shared\bin\Debug\netstandard2.1\Lee.Domain.Shared.dll” Lee.Application.Contracts (netstandard2.1) E:\Lee\src\Lee.Application.Contracts\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain.Shared\bin\Debug\netstandard2.0\Lee.Domain.Shared.dll” Lee.Application.Contracts (netstandard2.0) E:\Lee\src\Lee.Application.Contracts\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain.Shared\obj\Debug\net8.0\ref\Lee.Domain.Shared.dll” Lee.Application.Contracts (net8.0) E:\Lee\src\Lee.Application.Contracts\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Application.Contracts\obj\Debug\net8.0\ref\Lee.Application.Contracts.dll” Lee.Application E:\Lee\src\Lee.Application\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain\obj\Debug\net8.0\ref\Lee.Domain.dll” Lee.Application E:\Lee\src\Lee.Application\CSC 1 错误(活动) CS0006 未能找到元数据文件“E:\Lee\src\Lee.Domain.Shared\obj\Debug\net8.0\ref\Lee.Domain.Shared.dll” Lee.Application E:\Lee\src\Lee.Application\CSC 1

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    Please try to clean and rebuild the solution and then try to run again.

    Thanks

  • User Avatar
    0
    liyingji created

    hi, How to clean?

  • User Avatar
    0
    liyingji created

    I have cleaned my solution and rebuilt it, the problem still exists

  • User Avatar
    0
    liyingji created

    I have tried to build every project; only the project of TestBase was built successfully.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Use abp clean command to clear the project.

    Then run dotnet build /graphbuild command.

  • User Avatar
    0
    liyingji created

    Hi, I have solved the problem; thanks

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    : )

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11