I have never been able to get the upgrade add-in to work in VS2005. The AddIn log shows:
The upgrading process failed with the following error:Object reference not set to an instance of an object.Failure
Is there something I can do to make this work? Entering every dang project file into the standalone tool is a pain and of course it doesn't handle VCC checkout.
Does this work for anyone?
I am using 2008 v2 and I'm installing the latest hotfix...
I'm having the same problem with Visual Studio 2008.
I backed up and removed the UpgradeToolBase2.dll and UpgradeUtility_PlugIn2.dll files as well as the UpgradeUtility_PlugIn2_VS2008.AddIn file. I loaded Visual Studio 2008 again and verified that the Add-in did not show up in the Tools menu any more.
Then I installed the latest hotfix for 2008 vol 3, and it put new versions of the 2 DLL files back into the My Documents\Visual Studio 2008\Addins folder, but it did not create a new Addin file. So I took the old one (it's just XML, right?) and put it back in the folder.
Visual Studio shows the add-in but still gives the error:
The upgrading processed failed with the following error in a message box: Object reference not set to an instance of an object.
After clicking OK, I get a second error message box: There were errors during the upgrade process. Please see the add-in log file for details.
Unfortunately it doesn't tell me where this file is. One of the only hits I found on Google for this second message is a link to an old Infragistics Forum Post without an answer: http://forums.archive.infragistics.com/readmessage?id=%3C34d6a15b$1aa5556c$2569b8@news.infragistics.com%3E&group=infragistics.products.netadvantage.windowsforms.installs
Note that the upgrade add-in did check out the projects it was upgrading, so that aspect of it succeeded.
Trying to upgrade to 2008.1 also gives the same problem (I remember trying to fix it last year and giving up, and I tried it again so it doesn't seem to be a version issue). The error also occurs regardless of whether "backup files" is checked.
I have Visual Studio 2003, 2005, and 2008 installed along with various versions of NetAdvantage from 2006 through 2008.
shaunhayward said: I'm having the same problem with Visual Studio 2008. I backed up and removed the UpgradeToolBase2.dll and UpgradeUtility_PlugIn2.dll files as well as the UpgradeUtility_PlugIn2_VS2008.AddIn file. I loaded Visual Studio 2008 again and verified that the Add-in did not show up in the Tools menu any more.Then I installed the latest hotfix for 2008 vol 3, and it put new versions of the 2 DLL files back into the My Documents\Visual Studio 2008\Addins folder, but it did not create a new Addin file. So I took the old one (it's just XML, right?) and put it back in the folder.Visual Studio shows the add-in but still gives the error:The upgrading processed failed with the following error in a message box: Object reference not set to an instance of an object.After clicking OK, I get a second error message box: There were errors during the upgrade process. Please see the add-in log file for details.Unfortunately it doesn't tell me where this file is. One of the only hits I found on Google for this second message is a link to an old Infragistics Forum Post without an answer: http://forums.archive.infragistics.com/readmessage?id=%3C34d6a15b$1aa5556c$2569b8@news.infragistics.com%3E&group=infragistics.products.netadvantage.windowsforms.installs Note that the upgrade add-in did check out the projects it was upgrading, so that aspect of it succeeded. Trying to upgrade to 2008.1 also gives the same problem (I remember trying to fix it last year and giving up, and I tried it again so it doesn't seem to be a version issue). The error also occurs regardless of whether "backup files" is checked.I have Visual Studio 2003, 2005, and 2008 installed along with various versions of NetAdvantage from 2006 through 2008.
I built a simple project consisting of an Application and a DLL (with the DLL having a Windows Form in it).I put a bunch of 7.1 controls on the form, ran the add-in to move to 8.3, and it worked. So there must be something with my other solution.
The solution that failed has 31 Windows projectors (including 7 applications and 24 DLLs), 2 web sites, and 5 setup projects. The DLLs may include Windows Forms, Windows Controls, and Crystal Reports files. The solution started out life as a Visual Studio 2003 project, was upgraded to 2005, and finally 2008. Much of the code has been ported from VB to C#. It has seen Infragistics controls dating back to 2005.
The big thing is: where can I find the add-in log? The error message tells me to refer to it but I'm not sure where it is. Ideally, the log would tell me what's causing the issue.
Thanks again
- Shaun
shaunhayward said: I built a simple project consisting of an Application and a DLL (with the DLL having a Windows Form in it).I put a bunch of 7.1 controls on the form, ran the add-in to move to 8.3, and it worked. So there must be something with my other solution. The solution that failed has 31 Windows projectors (including 7 applications and 24 DLLs), 2 web sites, and 5 setup projects. The DLLs may include Windows Forms, Windows Controls, and Crystal Reports files. The solution started out life as a Visual Studio 2003 project, was upgraded to 2005, and finally 2008. Much of the code has been ported from VB to C#. It has seen Infragistics controls dating back to 2005.The big thing is: where can I find the add-in log? The error message tells me to refer to it but I'm not sure where it is. Ideally, the log would tell me what's causing the issue. Thanks again- Shaun
If the Add-In generated an error log then this could really help us to track the issue down. I know that it's ultimately not the main focus of Infragistics (you guys are busy making the best .NET UI components known to mankind) but it sure is a handy tool.
Thanks Again
There doesn't seem to be a way to insert image directly into the forum, so here it is from one of the websites I worked on:
Please note that this isn't the original project with which I had the problem, but I'm having trouble with this one also. It, too, started life as a Visual Studio 2003 solution, went to 2005, and then 2008. It has seen several versions of Infragistics.