All,
Hope this is the right forum. I'm trying to upgrade the 2009 Vol 1 control set to the 2011 vol 1 control set. When I opem my solution and click on the Verion Utility to upgrade my solution, I get this error:
ProjectFile element http://localhost is being treated as a Website.
I copied the project files to a new folder and created a new website in IIS. I then get the same error:
ProjectFile element http://localhost:810 is being treated as a Website
Well of course it's a web site! I'm trying to upgrade my development web site on my local machine. Any help would be greatly appreciated.
Details: Win 7, VS 2010, trying to upgrade Asp.Net NetAdvantage for .NET 2009.1 to NetAdvantage for .NET 2011
Hello Joe,
Thank you contacting Infragistics Support Team. Version Upgrade Utility doesn’t support upgrading websites in IIS.
You can upgrade:
· Solution – Upgrade all projects and project files contained in a single Visual Studio solution
· Project – Upgrade all files contained in a single Visual Studio project
· Website – Upgrade all files in a single Visual Studio Website project folder
For more details please refer to: http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=Web_Using_Version_Upgrade_Utility.html
Note that there are changes in the names of the assemblies and namespaces which Version Upgrade Utility cannot change automatically.
For example Infragistics.Documents.dll -> Infragistics.Documents.Reports.dll
All changes can be found in the Known Issues and Breaking changes section.
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=Known_Issues_Known_Issues_and_Breaking_Changes.html
If you cannot upgrade your project using Version Upgrade Utility you can upgrade your project manually:
1. Get a copy of your project that you are not modified with Version Utility
2. Make a backup copy of your project
3. Replace all old assemblies in the Bin folder with the new
4. Open your project with Visual Studio and press Ctrl+H (Quick Replace)
Enter the following Values:
Find what: .v9.1, Version=9.1.200xx.xxxx This should be your current version of ver. 9.1, you may need to change it
Replace with: .v11.1, Version=11.1.20111.1006 This is the current version you are trying to upgrade
Look in: Entire Solution Select Entire Solutions to change all existing references in your project
Click on the “Replace All” button
Please note that it is very important to enter the exact versions
5. Create a new empty project or website and drag any control from ver 11.1. A new ig_res folder will be generated in the project. Copy this folder to your project if there is such folder then overwrite it.
6. Remove licenses.licx and App_Licenses.dll the should be located in:
C:\...\YourPoject:\licenses.licxC:\...\YourPoject:\Bin\App_licenses.dll
7. Clean and rebuild your project.
Please let me know what the result is