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

Notification

Icon
Error

Crash in VS2019 with NCrunch 3.27
GibSral
#1 Posted : Tuesday, May 7, 2019 12:32:56 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/1/2014(UTC)
Posts: 8
Location: Germany

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
On loading a large solution (~100 projects) via command line (devenv.exe $Solution) ncrunch crashes Visual Studio. Visual Studio restarts -> crashes again and again and so on.
When I start VS after a crash without solution it tells me that ncrunch caused the crash
I enabled logging of VS but unfortunately there is nothing in the log files indicating an error.
When i disable ncrunch the solution loads perfectly.
I do not have the issue with smaller solutions
michaelkroes
#2 Posted : Tuesday, May 7, 2019 12:44:58 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 64 times
Was thanked: 28 time(s) in 26 post(s)
Hi thanks for posting.

Sorry this is happening. VS2019 handles loading of extensions pretty differently than under VS2017. All of this code is pretty new.

Does this same solution work under VS2017 with NCrunch?

Normally I would ask you to submit a bug report, but it seems you aren't getting that far. If you could confirm this works with vs2017, I'll prepare a build that should give a live log dump to disk for you to submit if you are willing to try that.
GibSral
#3 Posted : Tuesday, May 7, 2019 1:09:05 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/1/2014(UTC)
Posts: 8
Location: Germany

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
yes it works with 2017. I worked on this solution for years with ncrunch and had no problems prior to updating to VS2019.

If you give me a version with advanced loggin I would gladly test it and provide the generated logs
1 user thanked GibSral for this useful post.
michaelkroes on 5/7/2019(UTC)
michaelkroes
#4 Posted : Tuesday, May 7, 2019 2:41:13 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 64 times
Was thanked: 28 time(s) in 26 post(s)
Thanks for confirming that it works with 2017.

NCrunch_VS2019_3.28.0.1.msi

This release should (hopefully) write logging to c:\temp. Could you mail those files to michael@ncrunch.net.
Der-Albert.com
#5 Posted : Thursday, August 8, 2019 8:45:37 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 171

Thanks: 8 times
Was thanked: 37 time(s) in 34 post(s)
Btw. this was what I had got yesterday after installing 3.30.1, crashed two times. Solution had 83 Projects. Now it seems working.
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.040 seconds.