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 did notice on some other solutions that it successfully set the references on some of the projects. I don't know why it's successful with some projects and not others. I tried doing a single project and go the following results.
04:59:57: Running User Interface Version 20.1.20201.104:59:57: Gathering volume and assembly information.04:59:57: Could not find directory C:\Program Files (x86)\Infragistics\2014.2\Ignite UI\MVC\MVC5\Bin\ to search for Infragistics assemblies.05:21:00: Analyzing OpsManager.csproj...05:21:00: The project has references that need to be updated.05:21:01: Could not load the project. Please see the Log file for more details.05:21:01: Object reference not set to an instance of an object.05:21:01: at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.CheckProjectForAdditionalFiles(Boolean isSLProject, XmlNode node) at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Analyze()
Why is it looking for Ignite UI in the 2014.2 folder when it's 2020.1
If the log says "Could not load the project. Please see the Log file for more details." which log is it asking me to look at? Is there another log that I don't know of? The only error in the current log is what I posted above.