Recently I deployed a new software developed in VS 2008 .net 3.5 using NetAdvantage 9.1 in our test server (Windows Server 2008).
In the development environment it works fine, however in the test environment I get the followin error:
Compiler Error Message: CS0433: The type 'Infragistics.WebUI.Shared.BorderDetails' exists in both 'c:\Windows\assembly\GAC\Infragistics.WebUI.Shared.v5.1\5.1.20051.37__7dd5c3163f2cd0cb\Infragistics.WebUI.Shared.v5.1.dll' and 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\integration\8717a60c\29f2e110\assembly\dl3\5fb082f7\c7fac668_45afca01\Infragistics35.WebUI.Shared.v9.1.DLL'
The server has installed an old application developed in asp.net 1.1 which uses assembly: Infragistics.WebUI.Shared.v5.1 among others of that version.
The new application has no references to v5.1, the web config or aspx files only refer to v9.1.
The application that uses version 5.1 is deployed also in the production environment and there are no plans to upgrade or remove it as it still being used by hundreds of user.
It is possible that both applications coexist in the same server some how?
If I remove the v5.1 assemblies from the GAC and copy them to the bin folder of the old application, will that application to continue working, but without conflicts with the new one?
Thanks for your help.
Something to watch out for...
Once you've updated your project.Go and have a look in the damned Bin file...
I've been going around in circles thinking "This is ridiculous", cleaning and building and rebuilding and wondering quite why it wasn't working.
It seems that someone had copied everything local and v8.2 was lurking in my Bin folder, and as they were no longer referenced, the Clean in VS2008 wasn't deleting them.Deleted them, and everythings... well now I'm onto the Shared problem it seems.