When analyzing a solution it ends with the following error (in the log file)
Could not find directory C:\Program Files (x86)\Infragistics\2014.2\Ignite UI\MVC\MVC5\Bin\ to search for Infragistics assemblies.
The C:\Program Files (x86)\Infragistics\2014.2\Ignite UI\MVC\MVC5 folder is missing on my machine. I only have the Common, MVC2, MVC3, MVC4 folders in that location.
There are no references to Ignite UI in the project. These are the only reference to Infragistics:
<Reference Include="Infragistics4.Shared.v18.2, Version=18.2.20182.130, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> </Reference> <Reference Include="Infragistics4.Win.UltraWinStatusBar.v18.2, Version=18.2.20182.130, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> </Reference> <Reference Include="Infragistics4.Win.v18.2, Version=18.2.20182.130, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> </Reference>
FULL LOG
10:47:11: Running User Interface Version 20.1.20201.110:47:11: Gathering volume and assembly information.10:47:11: Could not find directory C:\Program Files (x86)\Infragistics\2014.2\Ignite UI\MVC\MVC5\Bin\ to search for Infragistics assemblies.11:00:36: ProjectFile element: ActivityLog.csproj is being treated as a proj file.11:00:36: Analyzing ActivityLog.csproj...11:00:36: The project has references that need to be updated.11:00:36: Could not load the project. Please see the Log file for more details.11:00:36: Object reference not set to an instance of an object.11:00:36: at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.CheckProjectForAdditionalFiles(Boolean isSLProject, XmlNode node) at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Analyze()
Hello Sam,
Thank you for posting. In order to investigate this issue I set up a sample using Winform 18.2 assemblies and right-click the solution and choose the option ‘Upgrade Infragistics version 20.1’ and it upgraded the solution successfully.
I am not sure why version utility looking for MVC references? May be check again if you have any mvc dll.
Also after getting this error did your project upgraded?
May be provide more information about your environment like which version of Visual studio you are using ,which CLR version you are using and if you can share the images of your project solution explorer or even share the sample would help to investigate it further.
Looking forward to hear you back.
Sincerely,Divya Jain
10:47:11: Running User Interface Version 20.1.20201.110:47:11: Gathering volume and assembly information.10:47:11: Could not find directory C:\Program Files (x86)\Infragistics\2014.2\Ignite UI\MVC\MVC5\Bin\ to search for Infragistics assemblies.11:00:36: ProjectFile element: ActivityLog.csproj is being treated as a proj file.11:00:36: Analyzing ActivityLog.csproj...11:00:36: The project has references that need to be updated.11:00:36: Could not load the project. Please see the Log file for more details.11:00:36: Object reference not set to an instance of an object.11:00:36: at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.CheckProjectForAdditionalFiles(Boolean isSLProject, XmlNode node)
Thank you, I tried the upgrade from Visual Studio. However, all it does is open the same dialog as Version Utility and the same issue remains.
02:42:55: Running VS2008 Add-in UI Version 20.1.20201.102:42:55: Gathering volume and assembly information.02:42:55: Could not find directory C:\Program Files (x86)\Infragistics\2014.2\Ignite UI\MVC\MVC5\Bin\ to search for Infragistics assemblies.02:42:57: The project entry Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{863825CB-E952-429A-9D5C-2430DAAF7F3C}" ProjectSection(SolutionItems) = preProject AssemblyInfo-Solution.cs = AssemblyInfo-Solution.cs EndProjectSectionEndProject in the solution has been determined to be a solution folder project.
ProjectFile element: AttachmentsEditor\AttachmentsEditor.csproj is being treated as a proj file.02:42:58: Analyzing AttachmentsEditor.csproj...02:42:58: The project has references that need to be updated.02:42:58: Could not load the project. Please see the Log file for more details.02:42:58: Object reference not set to an instance of an object. at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.CheckProjectForAdditionalFiles(Boolean isSLProject, XmlNode node) at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Analyze()
Which version studio you are using ? Is it VS2008? Do you have any upgraded versions like VS2015, VS2017 ?Can you run your 18.2 sample using any latest VS and then try to upgrade the application?As I explained in the doc I attached above, as per our support environment page ,version 20.1 would support visual studio 2017 or higher, and CLR 4.5 or higher .www.infragistics.com/.../supported-environments
You can also try /test one thing , simply creating an empty test sample and add all the 18.2 dlls into it (no code nothing) and build the project ,now follow the process I explained in the doc and if this goes successful then the issue must be something in your project but at least we can narrow down the issue.
VS 2019
When selecting CRL 4.5 there is no option for Windows Forms
Those only show up when selecting CLR 4.0
And the Version Utility shows the option set to Volume 2020.1 CLR 4.0
Hello ,
The version utility showing at the bottom is correct.
when I am upgrading the project I have these options in the dialog,
so maybe do not change anything from 'upgrade option' dialog (utility will take it automatically) and hit the button 'upgrade to latest'.
i also noticed that you have so many .csproj file listed, especially notice the 'WebBrowser' project, not sure if this has and web reference , causing the issue, so is it possible for you if you upgrade one project at a time?
Did you try upgrading any test project?
-Divya Jain
I created a test project and the upgrade was done successfully. Like I said, some solutions are done without problems and others have errors that are not descriptive and don't tell me what the problem is.
Here is the log of the successful one. It still mentions the MVC5 folder, but it seems to always do that, even when converting from 2014 to 2018 a while ago. Is there another log that actually describes what the problem is in more detail?
09:43:05: Running User Interface Version 20.1.20201.109:43:05: Gathering volume and assembly information.09:43:05: Could not find directory C:\Program Files (x86)\Infragistics\2014.2\Ignite UI\MVC\MVC5\Bin\ to search for Infragistics assemblies.09:43:17: ProjectFile element: WindowsFormsApp1\WindowsFormsApp1.csproj is being treated as a proj file.09:43:17: Analyzing WindowsFormsApp1.csproj...09:43:17: The project has references that need to be updated.09:43:30: Upgrading Solution WindowsFormsApp1.sln09:43:30: Updating WindowsFormsApp1.csproj...09:43:30: Updating Infragistics4.Win.Misc.v18.2 Version=18.2.20182.130 to new reference Infragistics4.Win.Misc.v20.1. Version 20.1.20201.1209:43:30: Updating Infragistics4.Win.v18.2 Version=18.2.20182.130 to new reference Infragistics4.Win.v20.1. Version 20.1.20201.1209:43:30: Done Updating WindowsFormsApp1.csproj.
Looks like you created another thread to discuss the same issue, Vasil is from Engineering service team he can provide more detail information about the issue explained in the log file.
https://ko.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/121595/version-utility-not-upgrading-projects
Maybe you can continue discussing the issue with the other thread and provide the information Vasil asked for.
Thank you.-Divya Jain