Page 1 of 1

Error on rebuilding the solution afte ranorex upgrade to 3.3

Posted: Wed Jun 06, 2012 2:58 pm
by omayer
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,

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

Posted: Wed Jun 06, 2012 6:52 pm
by omayer
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)

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

Posted: Wed Jun 06, 2012 7:46 pm
by omayer
Ok , workaround by commented out the 3 ranorex references. but how to get perm fixed.
Thank you ,

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

Posted: Wed Jun 06, 2012 8:15 pm
by tallahassee101
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

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

Posted: Wed Jun 06, 2012 9:21 pm
by omayer
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>

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

Posted: Thu Jun 07, 2012 12:20 pm
by Support Team
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