Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1135
Problem upgrading Web Project to v13.2 for .NET 4.5.1
posted

Good day All,

I am having trouble upgrading our solution (previously .NET 4.0 using SR 2077 of Volume 13.2, using VS 2013) to .NET 4.5.1 and the 4.5 Infragistics libraries. When I use the version utility tool it tells me there is nothing to upgrade. The log file looks as follows:

01:16:03: Gathering volume and assembly information.
01:16:03: Gathering volume and assembly information.
01:16:04: Analyzing CallCentreMgrWeb.csproj...
01:16:04: The project has references that need to be updated.
01:16:04: Could not load the project. Please see the Log file for more details.
01:16:04: Root element is missing.
01:16:05: at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(TextReader txtReader)
at Infragistics.VersionUtilitySupport.Core.File.Types.DataSourceFile..ctor(String path, FileBase owner)
at Infragistics.VersionUtilitySupport.Core.File.Types.AdditionalFiles.AddFile(String fileName, List`1 listOfAssemblies)
at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.CheckProjectForAdditionalFiles(Boolean isSLProject, XmlNode node)
at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Analyze()

Am I doing something wrong?

Thanks,

 

Parents
No Data
Reply
  • 10685
    Offline posted

    Hello Eduard,
    Thank you for posting in the community! 

    You could find detailed information regarding the use of VersionUtility at:Web_Using_Version_Upgrade_Utility 
    Please notice, there are a couple of pre-requirements in order to successfully use the VersionUtility, and the last two seem relevant to your case.

    Before You Start pre-requirements
    Before upgrading your content, be sure to consider the following:

    -If you are moving your solution from one version of Visual Studio to another, the Visual Studio upgrade should be done before using the utility. The supported versions for the Visual Studio are 2008 and above and the utility can upgrade the Infragistics ASP.NET versions 2005 and later.
    -If you are upgrading the .Net version of your projects, you should perform it before using the Version Utility
    -Before executing the version utility you should ensure that the files in the solution are not marked read-only. If the files are under source control you should check them out before launching the utility. 

    So if you are using TFS, please make sure all files on the solution are checked out before attempting to upgrade, so they are read/write. 

    I have also attached a screenshot in order to illustrate the settings required to upgrade to CLR 4.5.1. Please notice I have also included version 13.2 to be upgraded to and it is only to demonstrate the option to choose specific Infragistics product as well as the CLR version. The ASP.NET Options section depends on the project upgraded and in general you could not go wrong enabling these checkmarks. 

    If the issue persists and you find it time consuming, you could also try to manually change the assembly references. It is possible there is some project specific issue causing this exception. From the stack trace I can see that the project is missing the root element and without your project I cannot investigate further why this happens. Try to change the versions manually and if the same error still exist it would be helpful if you are able to attach to the case a project that reproduces this. 

    Please let me know how these suggestions work for you!

Children