Error on rebuilding the solution afte ranorex upgrade to 3.3

Ranorex Spy, Recorder, and Studio.
omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Error on rebuilding the solution afte ranorex upgrade to 3.3

Post by omayer » Wed Jun 06, 2012 2:58 pm

just upgraded to 3.3 , now getting following error , also long time back i deleted the folder "omaOne"


Error loading code-completion information for Ranorex.Libs.WinForms, Version=3 from C:\SVNviews\Automation\omaOne\bin\Debug\Ranorex.Libs.WinForms.dll:
Error loading assembly:
System.ArgumentException: The path is not of a legal form.
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.Directory.GetDirectories(String path, String searchPattern, SearchOption searchOption)
at ICSharpCode.SharpDevelop.Dom.ProjectContentRegistry.LoadProjectContent(String itemInclude, String itemFileName)
at ICSharpCode.SharpDevelop.Dom.ProjectContentRegistry.GetProjectContentForReference(String itemInclude, String itemFileName)

Thank you,
Tipu

omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Re: Error on rebuilding the solution afte ranorex upgrade to 3.3

Post by omayer » Wed Jun 06, 2012 6:52 pm

Now getting the following error after removing the path 'omaOne', attached csproj file

Error loading code-completion information for Ranorex.Libs.WinForms, Version=3 from C:\SVNviews\Automation\bin\Debug\Ranorex.Libs.WinForms.dll:
Error loading assembly:
System.ArgumentException: The path is not of a legal form.
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.Directory.GetDirectories(String path, String searchPattern, SearchOption searchOption)
at ICSharpCode.SharpDevelop.Dom.ProjectContentRegistry.LoadProjectContent(String itemInclude, String itemFileName)
at ICSharpCode.SharpDevelop.Dom.ProjectContentRegistry.GetProjectContentForReference(String itemInclude, String itemFileName)
Attachments
UtilityTestLibraryCsProj.txt
(12.97 KiB) Downloaded 174 times
Tipu

omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Re: Error on rebuilding the solution afte ranorex upgrade to 3.3

Post by omayer » Wed Jun 06, 2012 7:46 pm

Ok , workaround by commented out the 3 ranorex references. but how to get perm fixed.
Thank you ,
Tipu

tallahassee101
Posts: 169
Joined: Thu Jan 13, 2011 2:06 pm

Re: Error on rebuilding the solution afte ranorex upgrade to 3.3

Post by tallahassee101 » Wed Jun 06, 2012 8:15 pm

Where are the ranorex references you commented out? How did you do this?

Thanks. I'm having some of the same issues with the upgrade.

-Nick

omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Re: Error on rebuilding the solution afte ranorex upgrade to 3.3

Post by omayer » Wed Jun 06, 2012 9:21 pm

file with extension ".csproj" -- if you open the file there are xml nodes, i did hightlight and commented out from ranorex menu bar-

<Reference Include="Ranorex.Core.Injector, Version=$(RanorexVersion)">
<HintPath>..\bin\Debug\Ranorex.Core.Injector.dll</HintPath>
</Reference>
<Reference Include="Ranorex.Core.WinApi, Version=$(RanorexVersion)">
<HintPath>..\bin\Debug\Ranorex.Core.WinApi.dll</HintPath>
</Reference>
<Reference Include="Ranorex.Libs.WinForms, Version=$(RanorexVersion)">
<HintPath>..\bin\Debug\Ranorex.Libs.WinForms.dll</HintPath>
</Reference>
Tipu

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Error on rebuilding the solution afte ranorex upgrade to 3.3

Post by Support Team » Thu Jun 07, 2012 12:20 pm

Actually, those three references (Core.Injector, Core.WinApi, Libs.WinForms) should not be needed by a Ranorex project, so it is safe to remove them. They should not have been there in the first place, did you add these references manually?

The error message you see should not have any impact, since those assemblies do not even contain any code-completion information.
Anyway, we will look into this error message, so thank you for reporting it.

Regards,
Alex
Ranorex Team
.
Image