Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

ncrunch and parallels desktop not working since version 3.16
ruinunes
#1 Posted : Tuesday, January 8, 2019 10:43:14 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/8/2019(UTC)
Posts: 3
Location: Netherlands

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Hello everyone, I tried to submit a bug report but I was not able to, it told me to check my internet connection..

I have been using parallels and ncrunch for a long time and since version 3.17 ncrunch stopped working for me.

I am using Parallels desktop 13 with windows 10. Running VS 2017 latest version.
My code is located under my Mac (i.e: //Mac/Home/code_folder/solution_folder)
Until version 3.16 ncrunch would run my tests and everything would work just fine. After version 3.16 I started getting the following error message:

"System.IO.IOException: The path '' could not be processed because it is not of legal form
at nCrunch.Common.IO.DiskPath..ctor(String absolutePath, Boolean pathIsChecked)
..."

When my solution is under my C:/ drive on my windows instance then everything works just fine, but that workaround doenst really work for me since I only use windows to run VS.. I'd rather have all the code under my mac intead.

I hope this information can help you to fix the issue
michaelkroes
#2 Posted : Tuesday, January 8, 2019 7:03:58 PM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 51
Location: Netherlands

Thanks: 24 times
Was thanked: 9 time(s) in 9 post(s)
Hi, thanks for posting.

I'm sorry you are having this issue.

I tried to reproduce this issue. I'm also using Parallels 13 and Windows 10 with the latest version VS 2017 and NCrunch. I've stored a new test project under the mapped folder on my Mac. This worked without any issues.

Would you mind trying to create just a solution with a single project with a test in it and see if NCrunch can handle that?

Is there a complete stack trace or was this all that was in the output?

Is the VM connected via the Mac to the internet? Can you browse the web? I tried the bug reporter via parallels and that worked for me.

Have you tried downgrading to the old version of NCrunch that worked for you?

Michael
ruinunes
#3 Posted : Wednesday, January 9, 2019 8:37:15 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/8/2019(UTC)
Posts: 3
Location: Netherlands

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Hello michaelkroes, so my ncrunch license does not allow me to use the latest version (support ended in Aug2018) but I'm using the 30 day trial of the latest version of ncrunch and I still get the same error.
The full stack trace:
System.IO.IOException: The path '' could not be processed because it is not of legal form
at nCrunch.Common.IO.DiskPath..ctor(String absolutePath, Boolean pathIsChecked)
at nCrunch.Common.IO.DirectoryPath.FromAbsolutePath(String absoluteFilePath)
at nCrunch.Client.ComponentLoader.SnapshotComponentLoader.()
at nCrunch.Client.ComponentLoader.SnapshotComponentLoader.(EffectiveProcessorArchitecture , String )
at nCrunch.Client.ComponentLoader.SnapshotComponentLoader.CreateComponentFromXml(FilePath projectFilePath, ParsedBuildXml projectXml, FilePath solutionFilePath, String[] additionalFilesToIncludeAtSolutionLevel, Boolean isLoadedFromFile, VisualStudioVersion vsVersion, ComponentUniqueName componentName, TaskSettings componentTaskSettings, Exception parseException, String targetFramework)

full stack trace

I did create a new solution with one project and one test project, on the NCrunch test window I see both projects with the status 'Load failure'
NCrunch test window

My project is located under my mac
project location

My solution looks like this
Solution

I forgot to mention my projects are under the dotnet core framework

About the bug report, my windows VM is connected to the internet via my mac, i can access the internet from my windows VM. I think the problem was because I was using an older version of ncrunch?! (version 3.16)
1 user thanked ruinunes for this useful post.
michaelkroes on 1/9/2019(UTC)
michaelkroes
#4 Posted : Wednesday, January 9, 2019 9:52:08 AM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 51
Location: Netherlands

Thanks: 24 times
Was thanked: 9 time(s) in 9 post(s)
Thanks for the extra info! I can reproduce it now. I'll report back later about the issue.
michaelkroes
#5 Posted : Wednesday, January 9, 2019 7:17:33 PM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 51
Location: Netherlands

Thanks: 24 times
Was thanked: 9 time(s) in 9 post(s)
This is fixed in the next release of NCrunch, it will be released in the coming days.

Thanks again for your help :)
michaelkroes
#6 Posted : Thursday, January 10, 2019 8:16:14 AM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 51
Location: Netherlands

Thanks: 24 times
Was thanked: 9 time(s) in 9 post(s)
The release is live with a fix for this.
1 user thanked michaelkroes for this useful post.
ruinunes on 1/10/2019(UTC)
ruinunes
#7 Posted : Thursday, January 10, 2019 10:57:00 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/8/2019(UTC)
Posts: 3
Location: Netherlands

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Hey michaelkroes, thank you for the quick fix. I will see if I can put my hands on a new license for NCrunch!

Once again thank you for the quick response!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.041 seconds.