The project file looks valid and seems to work fine under visual studio but I get this error trying to upgrade using the version utility:
12:57:38: Running User Interface Version 11.2.20112.1000
12:57:38: Gathering volume and assembly information.
12:57:55: Analyzing Tracker.NET.csproj...
12:57:55: The project has references that need to be updated.
12:57:56: Could not load the project. Please see the Log file for more details.
12:57:56: Root element is missing.
12:57:56: at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
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, Boolean includeCodeBehindFiles, Boolean isWindowsPhone, List`1 listOfAssemblies)
at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.CheckProjectForAdditionalFiles(Boolean isSLProject, Boolean isWP7, XmlNode node)
at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Analyze()
Hello Greg,
I have created a support ticket for you with id CAS-78212-0NXQR4. So you will be able to provide us additional information about this issue trough the case, in order to investigate this for further.
Thank you for using Infragistics Components.
Hello Hristo, I can provide you the entire .proj file that failed if that helps but I would rather not post it publicly. Unfortunately my other time commitments do not allow me to create a small reproducible sample. Since I upgraded manually this problem will not bother me again until the next upgrade.
Greg
Hello,
I have discussed this issue with some of our Release engineers and we do not think that the code in the PrebuildEvent could cause this issue and if you could provide us a small sample where this issue is reproducible I will investigate this further for you.
I am waiting for your feedback.
Isn't this the log file I originally pasted in the first message?
I have since migrated the project manually.
I do see some code in my prebuild event in the project I wonder if this is causing your utility some problems:
<
>
if not exist "$(TargetPath)" GOTO Done
if exist "$(TargetPath).locked" del "$(TargetPath).locked"
if exist "$(TargetPath).locked2" del "$(TargetPath).locked2"
if exist "$(TargetPath).locked3" del "$(TargetPath).locked3"
if exist "$(TargetPath).locked4" del "$(TargetPath).locked4"
if exist "$(TargetPath).locked5" del "$(TargetPath).locked5"
if exist "$(TargetPath).locked6" del "$(TargetPath).locked6"
if exist "$(TargetPath).locked7" del "$(TargetPath).locked7"
if exist "$(TargetPath).locked8" del "$(TargetPath).locked8"
if exist "$(TargetPath).locked9" del "$(TargetPath).locked9"
if exist "$(TargetPath).locked10" del "$(TargetPath).locked10"
if exist "$(TargetPath).locked11" del "$(TargetPath).locked11"
if exist "$(TargetPath).locked12" del "$(TargetPath).locked12"
if exist "$(TargetPath).locked13" del "$(TargetPath).locked13"
if exist "$(TargetPath).locked14" del "$(TargetPath).locked14"
if exist "$(TargetPath).locked15" del "$(TargetPath).locked15"
if exist "$(TargetPath).locked16" del "$(TargetPath).locked16"
if exist "$(TargetPath).locked17" del "$(TargetPath).locked17"
if exist "$(TargetPath).locked18" del "$(TargetPath).locked18"
if exist "$(TargetPath).locked19" del "$(TargetPath).locked19"
if exist "$(TargetPath).locked20" del "$(TargetPath).locked20"
if not exist "$(TargetPath).locked" move "$(TargetPath)" "$(TargetPath).locked"
if not exist "$(TargetPath).locked2" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked2"
if not exist "$(TargetPath).locked3" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked3"
if not exist "$(TargetPath).locked4" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked4"
if not exist "$(TargetPath).locked5" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked5"
if not exist "$(TargetPath).locked6" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked6"
if not exist "$(TargetPath).locked7" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked7"
if not exist "$(TargetPath).locked8" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked8"
if not exist "$(TargetPath).locked9" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked9"
if not exist "$(TargetPath).locked10" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked10"
if not exist "$(TargetPath).locked11" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked11"
if not exist "$(TargetPath).locked12" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked12"
if not exist "$(TargetPath).locked13" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked13"
if not exist "$(TargetPath).locked14" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked14"
if not exist "$(TargetPath).locked15" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked15"
if not exist "$(TargetPath).locked16" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked16"
if not exist "$(TargetPath).locked17" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked17"
if not exist "$(TargetPath).locked18" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked18"
if not exist "$(TargetPath).locked19" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked19"
if not exist "$(TargetPath).locked20" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked20"
:Done
</
Hello ,
Please see attached video, which shows what you should do in order to save and provide us the log file.
Yes, it will be helpful if we have a test dummy project, which demonstrates your issue, in order to investigate it.
Also you could review at the following link “Migration Procedure” section, which could help you in upgrading. http://blogs.infragistics.com/blogs/MainFeed.aspx
I am waiting for your details.