Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

all solution from the latest build failed build on my Visual Studio 2017 #5694


User avatar
0
lanreolawoyin created

I am getting the following build errors/warnings:

C:\Users\olawoyin\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Collections.dll' and 'C:\Users\olawoyin\.nuget\packages\system.collections\4.3.0\ref\netstandard1.3\System.Collections.dll'. Remove one of the duplicate references.
1>CSC : error CS1703: Multiple assemblies with equivalent identity have been imported: 'C:\Users\olawoyin\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Collections.Concurrent.dll' and 'C:\Users\olawoyin\.nuget\packages\system.collections.concurrent\4.3.0\ref\netstandard1.3\System.Collections.Concurrent.dll'. Remove one of the duplicate references.
1>C:\Users\olawoyin\AppData\Local\Temp\.NETStandard,Version=v2.0.AssemblyAttributes.cs(4,46,4,70): error CS0433: The type 'TargetFrameworkAttribute' exists in both 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(14,30,14,54): error CS0433: The type 'AssemblyCompanyAttribute' exists in both 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(15,30,15,60): error CS0433: The type 'AssemblyConfigurationAttribute' exists in both 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(16,30,16,58): error CS0433: The type 'AssemblyDescriptionAttribute' exists in both 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(17,30,17,58): error CS0433: The type 'AssemblyFileVersionAttribute' exists in both 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(18,30,18,67): error CS0433: The type 'AssemblyInformationalVersionAttribute' exists in both 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(19,30,19,54): error CS0433: The type 'AssemblyProductAttribute' exists in both 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(20,30,20,52): error CS0433: The type 'AssemblyTitleAttribute' exists in both 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(21,30,21,54): error CS0433: The type 'AssemblyVersionAttribute' exists in both 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
1>C:\Users\olawoyin\AppData\Local\Temp\.NETStandard,Version=v2.0.AssemblyAttributes.cs(4,71,4,98): error CS0518: Predefined type 'System.String' is not defined or imported
1>C:\Users\olawoyin\AppData\Local\Temp\.NETStandard,Version=v2.0.AssemblyAttributes.cs(4,100,4,120): error CS0246: The type or namespace name 'FrameworkDisplayName' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\olawoyin\AppData\Local\Temp\.NETStandard,Version=v2.0.AssemblyAttributes.cs(4,123,4,125): error CS0518: Predefined type 'System.String' is not defined or imported
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(14,55,14,103): error CS0518: Predefined type 'System.String' is not defined or imported
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(15,61,15,68): error CS0518: Predefined type 'System.String' is not defined or imported
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(16,59,16,80): error CS0518: Predefined type 'System.String' is not defined or imported
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(17,59,17,68): error CS0518: Predefined type 'System.String' is not defined or imported
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(18,68,18,75): error CS0518: Predefined type 'System.String' is not defined or imported
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(19,55,19,103): error CS0518: Predefined type 'System.String' is not defined or imported
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(20,53,20,101): error CS0518: Predefined type 'System.String' is not defined or imported
1>obj\Debug\netstandard2.0\AspenTechnology.EngArchAndCompDemo.Core.Shared.AssemblyInfo.cs(21,55,21,64): error CS0518: Predefined type 'System.String' is not defined or imported
1>CSC : error CS0518: Predefined type 'System.Void' is not defined or imported
1>CSC : error CS0518: Predefined type 'System.Boolean' is not defined or imported
1>Editions\EditionPaymentType.cs(3,17,3,35): error CS0518: Predefined type 'System.Enum' is not defined or imported
1>Chat\ChatMessageReadState.cs(3,17,3,37): error CS0518: Predefined type 'System.Enum' is not defined or imported
1>Friendships\FriendshipState.cs(3,17,3,32): error CS0518: Predefined type 'System.Enum' is not defined or imported
1>EngArchAndCompDemoConsts.cs(3,18,3,42): error CS0518: Predefined type 'System.Object' is not defined or imported
1>MultiTenancy\TenantConsts.cs(3,18,3,30): error CS0518: Predefined type 'System.Object' is not defined or imported
1>MultiTenancy\Payments\CreatePaymentResponse.cs(3,27,3,48): error CS0518: Predefined type 'System.Object' is not defined or imported
1>Validation\ValidationHelper.cs(6,25,6,41): error CS0518: Predefined type 'System.Object' is not defined or imported
1>Authorization\Users\UserConsts.cs(3,18,3,28): error CS0518: Predefined type 'System.Object' is not defined or imported
1>Notifications\AppNotificationNames.cs(6,25,6,45): error CS0518: Predefined type 'System.Object' is not defined or imported
1>Security\PasswordComplexitySetting.cs(3,18,3,43): error CS0518: Predefined type 'System.Object' is not defined or imported
1>Editions\EditionPaymentType.cs(3,17,3,35): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Friendships\FriendshipState.cs(3,17,3,32): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Chat\ChatMessageReadState.cs(3,17,3,37): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Notifications\AppNotificationNames.cs(8,22,8,28): error CS0518: Predefined type 'System.String' is not defined or imported
1>Validation\ValidationHelper.cs(8,22,8,28): error CS0518: Predefined type 'System.String' is not defined or imported
1>EngArchAndCompDemoConsts.cs(5,22,5,28): error CS0518: Predefined type 'System.String' is not defined or imported
1>MultiTenancy\TenantConsts.cs(5,22,5,28): error CS0518: Predefined type 'System.String' is not defined or imported
1>Authorization\Users\UserConsts.cs(5,22,5,25): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Notifications\AppNotificationNames.cs(9,22,9,28): error CS0518: Predefined type 'System.String' is not defined or imported
1>Notifications\AppNotificationNames.cs(10,22,10,28): error CS0518: Predefined type 'System.String' is not defined or imported
1>EngArchAndCompDemoConsts.cs(7,22,7,28): error CS0518: Predefined type 'System.String' is not defined or imported
1>EngArchAndCompDemoConsts.cs(9,22,9,26): error CS0518: Predefined type 'System.Boolean' is not defined or imported
1>EngArchAndCompDemoConsts.cs(11,22,11,25): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>MultiTenancy\TenantConsts.cs(7,22,7,28): error CS0518: Predefined type 'System.String' is not defined or imported
1>MultiTenancy\TenantConsts.cs(9,22,9,25): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>MultiTenancy\Payments\CreatePaymentResponse.cs(5,25,5,31): error CS0518: Predefined type 'System.String' is not defined or imported
1>Validation\ValidationHelper.cs(10,36,10,42): error CS0518: Predefined type 'System.String' is not defined or imported
1>Validation\ValidationHelper.cs(10,23,10,27): error CS0518: Predefined type 'System.Boolean' is not defined or imported
1>Security\PasswordComplexitySetting.cs(5,28,5,53): error CS0518: Predefined type 'System.Object' is not defined or imported
1>Security\PasswordComplexitySetting.cs(5,16,5,20): error CS0518: Predefined type 'System.Boolean' is not defined or imported
1>MultiTenancy\Payments\ExecutePaymentResponse.cs(3,27,3,49): error CS0518: Predefined type 'System.Object' is not defined or imported
1>MultiTenancy\Payments\ExecutePaymentResponse.cs(5,25,5,31): error CS0518: Predefined type 'System.String' is not defined or imported
1>MultiTenancy\Payments\PaymentPeriodType.cs(3,17,3,34): error CS0518: Predefined type 'System.Enum' is not defined or imported
1>MultiTenancy\Payments\PaymentPeriodType.cs(3,17,3,34): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Security\PasswordComplexitySetting.cs(20,16,20,20): error CS0518: Predefined type 'System.Boolean' is not defined or imported
1>Editions\EditionPaymentType.cs(8,27,8,28): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>EngArchAndCompDemoConsts.cs(5,54,5,74): error CS0518: Predefined type 'System.String' is not defined or imported
1>Authorization\Users\UserConsts.cs(5,49,5,51): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Notifications\AppNotificationNames.cs(8,55,8,84): error CS0518: Predefined type 'System.String' is not defined or imported
1>MultiTenancy\TenantConsts.cs(5,48,5,77): error CS0518: Predefined type 'System.String' is not defined or imported
1>Validation\ValidationHelper.cs(8,42,8,91): error CS0518: Predefined type 'System.String' is not defined or imported
1>MultiTenancy\Payments\PaymentPeriodType.cs(5,19,5,21): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Chat\ChatMessageReadState.cs(5,18,5,19): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Friendships\FriendshipState.cs(5,20,5,21): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Editions\EditionPaymentType.cs(13,18,13,19): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Editions\EditionPaymentType.cs(18,19,18,20): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Editions\EditionPaymentType.cs(23,18,23,19): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Chat\ChatMessageReadState.cs(7,16,7,17): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Chat\ChatSide.cs(3,17,3,25): error CS0518: Predefined type 'System.Enum' is not defined or imported
1>Chat\ChatSide.cs(3,17,3,25): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Friendships\FriendshipState.cs(6,19,6,20): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Notifications\AppNotificationNames.cs(9,49,9,72): error CS0518: Predefined type 'System.String' is not defined or imported
1>Notifications\AppNotificationNames.cs(10,51,10,76): error CS0518: Predefined type 'System.String' is not defined or imported
1>Chat\ChatSide.cs(5,18,5,19): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Chat\ChatSide.cs(7,20,7,21): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>MultiTenancy\Payments\PaymentPeriodType.cs(6,18,6,21): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>MultiTenancy\Payments\SubscriptionPaymentGatewayType.cs(3,17,3,47): error CS0518: Predefined type 'System.Enum' is not defined or imported
1>MultiTenancy\Payments\SubscriptionPaymentGatewayType.cs(3,17,3,47): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>EngArchAndCompDemoConsts.cs(7,52,7,61): error CS0518: Predefined type 'System.String' is not defined or imported
1>MultiTenancy\Payments\SubscriptionPaymentGatewayType.cs(5,18,5,19): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>MultiTenancy\TenantConsts.cs(7,49,7,58): error CS0518: Predefined type 'System.String' is not defined or imported
1>MultiTenancy\TenantConsts.cs(9,42,9,45): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>EngArchAndCompDemoConsts.cs(9,49,9,53): error CS0518: Predefined type 'System.Boolean' is not defined or imported
1>EngArchAndCompDemoConsts.cs(11,58,11,60): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Security\PasswordComplexitySetting.cs(20,41,20,45): error CS0518: Predefined type 'System.Void' is not defined or imported
1>Security\PasswordComplexitySetting.cs(22,16,22,20): error CS0518: Predefined type 'System.Boolean' is not defined or imported
1>Security\PasswordComplexitySetting.cs(22,45,22,49): error CS0518: Predefined type 'System.Void' is not defined or imported
1>Security\PasswordComplexitySetting.cs(24,16,24,20): error CS0518: Predefined type 'System.Boolean' is not defined or imported
1>Security\PasswordComplexitySetting.cs(24,51,24,55): error CS0518: Predefined type 'System.Void' is not defined or imported
1>Security\PasswordComplexitySetting.cs(26,16,26,20): error CS0518: Predefined type 'System.Boolean' is not defined or imported
1>Security\PasswordComplexitySetting.cs(26,45,26,49): error CS0518: Predefined type 'System.Void' is not defined or imported
1>Security\PasswordComplexitySetting.cs(28,16,28,19): error CS0518: Predefined type 'System.Int32' is not defined or imported
1>Security\PasswordComplexitySetting.cs(28,42,28,46): error CS0518: Predefined type 'System.Void' is not defined or imported

2 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    have you tried nugest restore and clean + rebuild your solution?

    as described in your error log, System.Collections.Concurrent has conflict between the version netstandard 1.3 and netstandard 2.0

  • User Avatar
    0
    alper created
    Support Team

    Closing the issue as there's no response from the owner. By the way the solution seems to be closing Visual Studio and executing Delete BIN OBJ Folders.bat in the solution folder. (there are multiple DLL files left over after you update a NuGet package.)