I get the following error in the upgrade log when i try to upgrade a Visual studio project.
12:06:19: web.config has been backed up.
12:06:19: Updating LatonClient.csproj...
12:06:19: LatonClient.csproj has been backed up.
12:06:19: No matching assembly located in available assemblies Infragistics2.Win.UltraWinCalcManager.v10.1.FormulaBuilder
12:06:19: at Infragistics.VersionUtilitySupport.Core.ProductAssemblies.AssemblyList.AssemblyNameChange(String assemblyName, Int32 versionLocation, XmlNamespaceManager xmlNamespaceManager, String& assemblyNameNoVersion, Boolean ignoreErrors)
at Infragistics.VersionUtilitySupport.Core.ProductAssemblies.AssemblyList.FindNewAssemblyNode(String assemblyName)
at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.FetchNewAssemblyNode(String assemblyOldName)
at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Upgrade(String rootDirectory)
I am trying to upgrade to 2010 Volume 2
Hello Donor,
Is there any specific reason you're trying to access an assembly in the Infragistics2.Win namespace from a web project?
I used the Version Utility that comes with Infragistics NetAdvantage 2010 Volume 2, and it upgraded your project with no errors. It seems to me like the Version Utility is looking for the our Windows Forms assemblies and not finding them. You might want to try uninstalling and then reinstalling Infragistics NetAdvantage for Windows Forms 2010 Volume 2. Let me know how that works out.
Dave,
It looks like the version I sent you will upgrade when it's in a directory on its own.. I sucessfully upgraded it on another pc.
Instead of uninstalling and re-installing, I tried to upgrade the project on three different PC's and it still will not work. It looks like there is something in the project directory that is stopping it from updating. The version of the upgrade utility is 10.2.20102.1004 on all 3 PC's
I don't know where to go from here. I have tried creating another test project that replicates the issue with no success. Other than sending you the complete project (which i don't want to do). i think i will have to manually upgrade the project.
I also have a completely separate project which is giving the same issue, although it gives out about a different DLL. Its log is as follows
03:06:44: Updating CodeGenerator.csproj...
03:06:44: CodeGenerator.csproj has been backed up.
03:06:44: Updating Infragistics2.Win.UltraWinExplorerBar.v10.1 to new reference Infragistics2.Win.UltraWinExplorerBar.v10.2.
03:06:44:
03:06:44: Updating Infragistics2.Win.UltraWinGauge.v10.1 to new reference Infragistics2.Win.UltraWinGauge.v10.2.
03:06:44: Updating Infragistics2.Win.UltraWinListView.v10.1 to new reference Infragistics2.Win.UltraWinListView.v10.2.
03:06:44: Updating Infragistics2.Win.UltraWinDock.v10.1 to new reference Infragistics2.Win.UltraWinDock.v10.2.
03:06:44: Updating Infragistics2.Win.UltraWinEditors.v10.1 to new reference Infragistics2.Win.UltraWinEditors.v10.2.
03:06:44: Updating Infragistics2.Win.UltraWinTree.v10.1 to new reference Infragistics2.Win.UltraWinTree.v10.2.
03:06:44: Updating Infragistics2.Shared.v10.1 to new reference Infragistics2.Shared.v10.2.
03:06:44: Updating Infragistics2.Win.AppStylistSupport.v10.1 to new reference Infragistics2.Win.AppStylistSupport.v10.2.
03:06:44: Updating Infragistics2.Win.Misc.v10.1 to new reference Infragistics2.Win.Misc.v10.2.
03:06:44: Updating Infragistics2.Win.SupportDialogs.v10.1 to new reference Infragistics2.Win.SupportDialogs.v10.2.
03:06:44: No matching assembly located in available assemblies Infragistics2.Win.UltraChart.v10.1.Design
03:06:44: at Infragistics.VersionUtilitySupport.Core.ProductAssemblies.AssemblyList.AssemblyNameChange(String assemblyName, Int32 versionLocation, XmlNamespaceManager xmlNamespaceManager, String& assemblyNameNoVersion, Boolean ignoreErrors)
Has your issue been resolved, or can I be of further assistance?
I have done some more testing on this trying to figure out what was going on. In the main project folder where the solution files is located, i have several other folders (including the usual bin and obj folders) related to the project. These folders are not included as part of the actual solution file in Visual studio. I have one folder in particular called "Builds" that obviously has a history of all the builds on the project so far. The directory has about 600 files totalling about 150mb.
As in my first post the upgrade fails when the "Builds" directory is present in the folder structure. If i move this directory to another location outside the project directory structure the upgrade will actually suceed. If i move the folder back again the project will again fail to upgrade.
I wonder is this some sort of threading issue... the directory that contains the solution file has about 1200 files in total and 18 subfolders....
Regards,
R
Hello,
Would it be possible for you to open your solution folder in Windows Explorer, switch the left-hand side to Folder View, expand all the child nodes of your solution folder in that folder view, and take a screen-shot? This would let us know the exact folder structure.
Hello, I have a similar problem with Visual Studio when I try to upgrade either the solution or the project files. I only use Windows Forms (I don't use Silverlight neither ASP). I get this in the upgrade log:
04:56:56: Running User Interface Version 12.2.20122.100004:56:56: Gathering volume and assembly information.04:56:56: Gathering volume and assembly information.04:56:56: Could not locate registry entry Software\Microsoft\Microsoft SDKs\Silverlight\v5.0\AssemblyFoldersEx where we look for installed products.04:56:57: Referencia a objeto no establecida como instancia de un objeto.04:56:57: en Infragistics.VersionUtilitySupport.Core.Product.IGProductManager.FindInstalledProductsUsingRegistry(String volumeToUpgradeTo, String clrToUpgradeTo)04:56:57: Could not locate registry entry Software\Microsoft\Microsoft SDKs\Silverlight\v5.0\AssemblyFoldersEx where we look for installed products.04:56:57: Referencia a objeto no establecida como instancia de un objeto.04:56:57: en Infragistics.VersionUtilitySupport.Core.Product.IGProductManager.FindInstalledProductsUsingRegistry(String volumeToUpgradeTo, String clrToUpgradeTo)04:57:37: Analyzing OrtsTorres.vbproj...04:57:37: The project has references that need to be updated.04:57:37: The project has publishfile entries that need to be updated.04:57:42: Updating OrtsTorres.vbproj...04:57:42: C:\ORTS TORRES\OrtsTorres\OrtsTorres\OrtsTorres.vbproj has been backed up.04:57:42: Updating Infragistics2.Win.Misc.v10.1 Version=10.1.20101.1007 to new reference Infragistics4.Win.Misc.v12.2. Version 12.2.20122.100604:57:42: Updating Infragistics2.Win.UltraWinEditors.v10.1 Version=10.1.20101.1007 to new reference Infragistics4.Win.UltraWinEditors.v12.2. Version 12.2.20122.100604:57:42: Updating Infragistics2.Shared.v10.1 Version=10.1.20101.1007 to new reference Infragistics4.Shared.v12.2. Version 12.2.20122.100604:57:42: No matching assembly located in available assemblies Infragistics2.Win.UltraChart.v10.1.Design04:57:42: en Infragistics.VersionUtilitySupport.Core.Product.AssemblyXmlFile.LocateNewAssembliesNodeforCurrentAssembly(String assemblyName) en Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Upgrade(String rootDirectory)
Thank you :)
no, as there are historical builds of the application at a point in time...
Do you want the Version Upgrade Utility to upgrade the web.config files in the Builds folder that reference our assemblies?
I have logged this as an issue with our development team.
Because of the way the Version Upgrade Utility is designed, your best solution is to move the "Builds" folder out of the solution folder when you upgrade the project. The utility looks through the folder tree for any web.config files and that's what's causing the issue.