Base solution for your next web application
Open Closed

The download solution is failing to compile, when project name is "App" #8226


User avatar
0
amitchaudhary created

I download the project with the name, "App" but it's compiling/building is failed, without any change. Please help asap.

Severity Code Description Project File Line Tool Suppression State Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Configuration\Tenants\TenantSettingsAppService.cs 314 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Authorization\Users\Importing\UserListExcelDataReader.cs 18 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Authorization\Users\Profile\ProfileAppService.cs 225 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Gdpr\ProfileUserCollectedDataProvider.cs 71 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Install\InstallAppService.cs 119 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\MultiTenancy\Payments\StripePaymentAppService.cs 173 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Sessions\SessionAppService.cs 39 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Sessions\SessionAppService.cs 40 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Sessions\SessionAppService.cs 41 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Tenants\Dashboard\DashboardRandomDataGenerator.cs 115 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Tenants\Dashboard\DashboardRandomDataGenerator.cs 118 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Tenants\Dashboard\DashboardRandomDataGenerator.cs 121 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Tenants\Dashboard\DashboardRandomDataGenerator.cs 124 Compiler Active Error CS0006 Metadata file 'D:\github\App\aspnet-core\src\App.Application\bin\Debug\netcoreapp3.1\App.Application.dll' could not be found App.Test.Base D:\github\App\aspnet-core\test\App.Test.Base\CSC 1 Compiler Active Error CS0006 Metadata file 'D:\github\App\aspnet-core\src\App.Application\bin\Debug\netcoreapp3.1\App.Application.dll' could not be found App.GraphQL.Tests D:\github\App\aspnet-core\test\App.GraphQL.Tests\CSC 1 Compiler Active Error CS0006 Metadata file 'D:\github\App\aspnet-core\src\App.GraphQL\bin\Debug\netcoreapp3.1\App.GraphQL.dll' could not be found App.GraphQL.Tests D:\github\App\aspnet-core\test\App.GraphQL.Tests\CSC 1 Compiler Active Error CS0006 Metadata file 'D:\github\App\aspnet-core\test\App.Test.Base\bin\Debug\netcoreapp3.1\App.GraphQL.Test.Base.dll' could not be found App.GraphQL.Tests D:\github\App\aspnet-core\test\App.GraphQL.Tests\CSC 1 Compiler Active Error CS0006 Metadata file 'D:\github\App\aspnet-core\src\App.Application\bin\Debug\netcoreapp3.1\App.Application.dll' could not be found App.Tests D:\github\App\aspnet-core\test\App.Tests\CSC 1 Compiler Active Error CS0006 Metadata file 'D:\github\App\aspnet-core\test\App.Test.Base\bin\Debug\netcoreapp3.1\App.GraphQL.Test.Base.dll' could not be found App.Tests D:\github\App\aspnet-core\test\App.Tests\CSC 1 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\AppAppServiceBase.cs 25 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Authorization\Users\Importing\ImportUsersToExcelJob.cs 61 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.GraphQL D:\github\App\aspnet-core\src\App.GraphQL\Queries\UserQuery.cs 95 Compiler Active


3 Answer(s)
  • User Avatar
    0
    amitchaudhary created

    A day lost. Can some one from AspNetZero look into it, I'm stuck on start.

  • User Avatar
    0
    maliming created
    Support Team

    hi @amitchaudhary

    There are two files in the template project:

    aspnet-zero-core/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core.Shared/AbpZeroTemplateConsts.cs
    aspnet-zero-core/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Application.Shared/AppConsts.cs
    

    AbpZeroTemplateConsts will be replaced according to your project name, but when your project name is App, they will have the same name.(AbpZeroTemplate => App)

    You can handle the conflict manually.

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.