Solution: The file does not exists.

Bug reports.
thiede
Posts: 18
Joined: Thu Oct 27, 2016 12:13 pm

Solution: The file does not exists.

Post by thiede » Fri Mar 31, 2017 6:57 am

Hi,

Yesterday I installed Ranorex 7.

Now I get a warning:

Code: Select all

The file does not exist. File: E:\ranorex-test\nuget\NuGet.Config LinkedFrom: E:\ranorex-test\RanorexTest.rxsln - E:\ranorex-test\nuget\NuGet.Config
The Folder is .nuget instead of nuget as mentioned in the warning and it is configured in the rxsln as following:

Code: Select all

Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{CA035E93-D1EA-418B-B56B-4A7B143AF518}"
	ProjectSection(SolutionItems) = preProject
		.nuget\NuGet.Config = .nuget\NuGet.Config
		.nuget\NuGet.exe = .nuget\NuGet.exe
		.nuget\NuGet.targets = .nuget\NuGet.targets
	EndProjectSection
EndProject
In the solution it works fine. But the warning is disturbing me.

thiede
Posts: 18
Joined: Thu Oct 27, 2016 12:13 pm

Re: Solution: The file does not exists.

Post by thiede » Wed Apr 05, 2017 6:49 am

Is it a bug or is there any suggestion for a solution?

McTurtle
Posts: 297
Joined: Thu Feb 23, 2017 10:37 am
Location: Benedikt, Slovenia

Re: Solution: The file does not exists.

Post by McTurtle » Wed Apr 05, 2017 11:23 am

Hello Thiede,

Is it possible that E:\ is a network drive? Storing Solutions on network drives is not supported by Ranorex.

Regards,
McTurtle

thiede
Posts: 18
Joined: Thu Oct 27, 2016 12:13 pm

Re: Solution: The file does not exists.

Post by thiede » Wed Apr 05, 2017 8:09 pm

Hi,

no, it's not. It's a real hard drive.
I don't know if there was a warning with Ranorex 6.2 but there is a warning at Ranorex 7. But the items are shown correctly in the solution. There is only a warning.

McTurtle
Posts: 297
Joined: Thu Feb 23, 2017 10:37 am
Location: Benedikt, Slovenia

Re: Solution: The file does not exists.

Post by McTurtle » Thu Apr 06, 2017 9:48 am

Hello Thiede,

I have not seen this before. Maybe if you post a compressed Ranorex Solution I could take a look. Instructions on how to create a compressed Ranorex solution can be found at the following link: http://www.ranorex.com/support/user-gui ... ution.html

What happens if you change the name of the "nuget" folder in "E:\ranorex-test\nuget\" to "E:\ranorex-test\.nuget\"? You need to do this by renaming the folder to ".nuget." as Windows will not let you make a dot only before the folder name.

Because we are now in a porcelain shop I would suggest you do this kind of experiment on a copy of the test suite and not on the live version :)

Kind regards,
McTurtle

thiede
Posts: 18
Joined: Thu Oct 27, 2016 12:13 pm

Re: Solution: The file does not exists.

Post by thiede » Wed Apr 12, 2017 8:54 am

Hi,

the folder name is already ".nuget".

Should I change it in the solution file?

I add a new empty solution for you. Good luck!

Best regards

Christopher
You do not have the required permissions to view the files attached to this post.

McTurtle
Posts: 297
Joined: Thu Feb 23, 2017 10:37 am
Location: Benedikt, Slovenia

Re: Solution: The file does not exists.

Post by McTurtle » Thu Apr 13, 2017 4:40 pm

Hello Christopher,

I see ... Well, I did rename it in the solution and now I don't get any warnings. I can also open the "test.txt" file. I only removed the dot character. When changing the folder name in Windows Explorer I received the "File does not exist" warning, like you.

In the project view it now looks like this:
2017-04-13 17_35_57-Ranorex Studio.png
Is this OK now?

Regards,
McTurtle
You do not have the required permissions to view the files attached to this post.

thiede
Posts: 18
Joined: Thu Oct 27, 2016 12:13 pm

Re: Solution: The file does not exists.

Post by thiede » Mon Apr 24, 2017 9:02 am

Hi,

in my opinion, it is a bug. The name of the folder is .nuget and I want to see it in the Ranorex Solution as well.
Will you put this error into your bug list?

McTurtle
Posts: 297
Joined: Thu Feb 23, 2017 10:37 am
Location: Benedikt, Slovenia

Re: Solution: The file does not exists.

Post by McTurtle » Fri Apr 28, 2017 2:42 pm

Hey thiede,

If I now understand correctly, this has appeared after you have upgraded the solution?
In the project folder a backup of the solution must have been created by the upgrader before the upgrade.

Can you also send this? I would like to see if the upgrader has done something wrong.

Regards,
McTurtle

thiede
Posts: 18
Joined: Thu Oct 27, 2016 12:13 pm

Re: Solution: The file does not exists.

Post by thiede » Mon Jul 31, 2017 8:58 am

Hi,

sorry for my very late response. I didn't keep the upgrade generated folder. But the rxsln file has only one change: # Ranorex Studio 6.2 -> 7.0

Code: Select all

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
# Ranorex Studio 6.2 (old value)
# Ranorex Studio 7.0 (new value)
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{CA035E93-D1EA-418B-B56B-4A7B143AF518}"
    ProjectSection(SolutionItems) = preProject
        .nuget\NuGet.Config = .nuget\NuGet.Config
        .nuget\NuGet.exe = .nuget\NuGet.exe
        .nuget\NuGet.targets = .nuget\NuGet.targets
    EndProjectSection
EndProject
...

McTurtle
Posts: 297
Joined: Thu Feb 23, 2017 10:37 am
Location: Benedikt, Slovenia

Re: Solution: The file does not exists.

Post by McTurtle » Tue Aug 01, 2017 1:11 pm

Hello thiede,

If this was a bug, it seems to have been fixed with Ranorex 7.1. Only during the upgrade process a warning comes, but later it is not displayed anymore. Did you already try it out with Ranorex 7.1?

Regards,
McTurtle