Error after upgrading from 4.0 to 4.1

Posts   
 
    
jsspam
User
Posts: 18
Joined: 16-Mar-2012
# Posted on: 06-Jan-2014 17:18:36   

I am getting the following error after upgrading from 4.0 to 4.1. It appears to be coming from the basepage on our intranet which is stored in the asp.net app_code folder. I double checked and all referenced projects are now on 4.1. Using visual studio 2013. Any help?

Error 4 'Public Function Fill() As Boolean' is declared in project 'SD.LLBLGen.Pro.ORMSupportClasses.dll', which is not referenced by project '1_App_Code'. Add a reference to 'SD.LLBLGen.Pro.ORMSupportClasses.dll' to your project '1_App_Code'. This error could also be due to mixing a file reference to 'C:\Program Files (x86)\Solutions Design\LLBLGen Pro v4.1\Frameworks\LLBLGen Pro\RuntimeLibraries\CompiledRuntimeLibraries\SD.LLBLGen.Pro.ORMSupportClasses.dll' in project 'Intranet' with a file reference to 'C:\Program Files (x86)\Solutions Design\LLBLGen Pro v4.0\Frameworks\LLBLGen Pro\RuntimeLibraries\CompiledRuntimeLibraries\SD.LLBLGen.Pro.ORMSupportClasses.dll' in project '1_App_Code'. If both assemblies are identical, try replacing these references so both references are from the same location. C:_Source\DotNet\WebSites\Intranet\Intranet\App_Code\BasePage.vb 220 9 Intranet

Error 5 'Public Function GetEnumerator() As System.Collections.Generic.IEnumerator(Of T)' is declared in project 'SD.LLBLGen.Pro.ORMSupportClasses.dll', which is not referenced by project '1_App_Code'. Add a reference to 'SD.LLBLGen.Pro.ORMSupportClasses.dll' to your project '1_App_Code'. This error could also be due to mixing a file reference to 'C:\Program Files (x86)\Solutions Design\LLBLGen Pro v4.1\Frameworks\LLBLGen Pro\RuntimeLibraries\CompiledRuntimeLibraries\SD.LLBLGen.Pro.ORMSupportClasses.dll' in project 'Intranet' with a file reference to 'C:\Program Files (x86)\Solutions Design\LLBLGen Pro v4.0\Frameworks\LLBLGen Pro\RuntimeLibraries\CompiledRuntimeLibraries\SD.LLBLGen.Pro.ORMSupportClasses.dll' in project '1_App_Code'. If both assemblies are identical, try replacing these references so both references are from the same location. C:_Source\DotNet\WebSites\Intranet\Intranet\App_Code\BasePage.vb 230 27 Intranet

Error 6 'Public Function GetMulti(selectFilter As SD.LLBLGen.Pro.ORMSupportClasses.IPredicate) As Boolean' is declared in project 'SD.LLBLGen.Pro.ORMSupportClasses.dll', which is not referenced by project '1_App_Code'. Add a reference to 'SD.LLBLGen.Pro.ORMSupportClasses.dll' to your project '1_App_Code'. This error could also be due to mixing a file reference to 'C:\Program Files (x86)\Solutions Design\LLBLGen Pro v4.1\Frameworks\LLBLGen Pro\RuntimeLibraries\CompiledRuntimeLibraries\SD.LLBLGen.Pro.ORMSupportClasses.dll' in project 'Intranet' with a file reference to 'C:\Program Files (x86)\Solutions Design\LLBLGen Pro v4.0\Frameworks\LLBLGen Pro\RuntimeLibraries\CompiledRuntimeLibraries\SD.LLBLGen.Pro.ORMSupportClasses.dll' in project '1_App_Code'. If both assemblies are identical, try replacing these references so both references are from the same location. C:_Source\DotNet\WebSites\Intranet\Intranet\App_Code\BasePage.vb 246 9 Intranet

jsspam
User
Posts: 18
Joined: 16-Mar-2012
# Posted on: 06-Jan-2014 17:46:19   

ok I have fixed my problem. It seems to be related to Visual Studio 2013.

I searched google for '1_App_Code' and only came up with this http://forums.asp.net/t/878775.aspx which made me think it might be a VS issue.

I opened the sollution in VS2010 and rebuilt OK I then opened the sollution back up in VS2013 and built OK

So something funky was going on with the reference change in VS2013.

Feel free to rename this thread to something more accurate.