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

Notification

Icon
Error

VS2015 RC No Markers
paulrogero
#1 Posted : Thursday, April 30, 2015 3:36:53 PM(UTC)
Rank: Member

Groups: Registered
Joined: 6/4/2012(UTC)
Posts: 27

Was thanked: 4 time(s) in 4 post(s)
Hi,

Just wanted to report the coverage markers do not show up in the VS2015 RC that was released yesterday. At least on my machine. Any plans on releasing an updated build for this new release of VS 2015? Or is there some workaround to get them to display again?

Thanks,
Paul

**Update: In case it is relevant, I also upgraded from CTP 6.
jwmoffat
#2 Posted : Thursday, April 30, 2015 5:54:25 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/30/2015(UTC)
Posts: 2
Location: Canada

Thanks: 1 times
I am also having this issue. Running a repair on NCrunch doesn't resolve the problem either.

It was working on my machine with 2015 CTP6 right before upgrading to 2015 RC.
Remco
#3 Posted : Friday, May 1, 2015 12:21:08 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,979

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi, thanks for sharing this issue.

I'm unable to recreate it with a fresh VM install of VS2015 RC with both the enterprise and community editions.

Would you be able to share some more details about this problem? I'm hoping there is something critical that I'm missing from my environment that is preventing me from reproducing it.

- Which exact release of VS are you using? i.e. enterprise, professional, community
- How was your upgrade of VS applied? Did you run the installer straight over CTP6?
- Do you have any other 3rd party packages installed?
- Does the problem appear for a new empty solution with a single minimal test project?
- Which O/S are you running?
- Does completely uninstalling and reinstalling NCrunch make any difference?
- Does running "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe /setup" as an administrator make any difference?
- Can you share a screenshot of the missing markers? This will help to establish if it's just the markers missing or the entire marker bar
- Can you submit a bug report after trying to run NCrunch over a minimal test project?
VNicholson
#4 Posted : Friday, May 1, 2015 2:32:53 AM(UTC)
Rank: Member

Groups: Registered
Joined: 12/19/2013(UTC)
Posts: 20
Location: New Zealand

Thanks: 5 times
Was thanked: 2 time(s) in 2 post(s)
I can reproduce the issue too.

- Which exact release of VS are you using? i.e. enterprise, professional, community

Visual Studio 2015 RC, Professional Edition (full list of plugins at the bottom of this post).

- How was your upgrade of VS applied? Did you run the installer straight over CTP6?

No, I uninstalled CTP 6 (Enterprise Edition) first, then installed 2015 RC (Professional Edition) afterwards.

- Do you have any other 3rd party packages installed?

Resharper and CodeMaid are the two that are non-standard (full list below).

- Does the problem appear for a new empty solution with a single minimal test project?

No, I created a new class library with the unit test and SUT in the same file and the markers showed up correctly.

- Which O/S are you running?

Windows 7, x64

- Does completely uninstalling and reinstalling NCrunch make any difference?

No, reinstalling didn't make a difference for me.

- Does running "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe /setup" as an administrator make any difference?

No, that command didn't make any difference.

- Can you share a screenshot of the missing markers? This will help to establish if it's just the markers missing or the entire marker bar

I used Snoop to see what was there and compared it to Visual Studio 2013 (which is working). The marker bar is there, but appears to have no child items.

NOTE: I also tried deleting any file or folder under my solution directory that had ncrunch in the name (ncrunch solutions, projects and temporary files) - this also had no effect.

(- BROKEN LINK -)[img](- BROKEN LINK -)[/img][/url]

Code:

Microsoft Visual Studio Professional 2015 RC
Version 14.0.22823.1 D14REL
Microsoft .NET Framework
Version 4.6.00057

Installed Version: Professional

Visual Basic 2015 RC
Microsoft Visual Basic 2015 RC

Visual C# 2015 RC
Microsoft Visual C# 2015 RC

Visual C++ 2015 RC
Microsoft Visual C++ 2015 RC

Visual F# 2015 RC
Microsoft Visual F# 2015 RC

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools RC   14.0.20417.0
ASP.NET and Web Tools RC

ASP.NET Web Frameworks and Tools 2013   5.2.30411.0
For additional information, visit http://www.asp.net/

Code Connect Alpha   1.0
Quickly navigate and edit software on a function-by-function basis.

CodeMaid   #114
CodeMaid is an open source Visual Studio extension to cleanup, dig through and simplify our C#, C++, F#, VB, PHP, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.

Written by Steve Cadwallader, for more information visit http://www.codemaid.net/

Common Azure Tools   1.4
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

DevExpress.DeploymentTool   1.0
A useful tool for deploying DevExpress assemblies.

GenerateUnitTest   1.0
Generates unit test code for methods in classes under test.

JetBrains ReSharper Ultimate 2015.1   Build 102.0.20150408.145317
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2015 JetBrains, Inc.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NCrunch   
Continuous Testing Tool for .NET
Copyright © 2010-2015 Remco Software Ltd

NuGet Package Manager   3.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

SQL Server Data Tools   14.0.50325.0
Microsoft SQL Server Data Tools

Xamarin   3.11.450.0 (2ab5145)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   5.1.0.115
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   8.10.0.0
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified

Xamarin.TestCloud.Integration   1.0
Early preview of Xamarin Test Cloud integration

XtraReports package   1.0
XtraReports package
paulrogero
#5 Posted : Friday, May 1, 2015 3:16:37 AM(UTC)
Rank: Member

Groups: Registered
Joined: 6/4/2012(UTC)
Posts: 27

Was thanked: 4 time(s) in 4 post(s)
Hi Remco,

It has happened to me on two computers. Please find my answers below

- Which exact release of VS are you using? i.e. enterprise, professional, community
* Enterprise
- How was your upgrade of VS applied? Did you run the installer straight over CTP6?
* Straight over CTP6 in both cases
- Do you have any other 3rd party packages installed?
* Like extensions? I have viasfora & resharper installed on both as well as some addins for DevExpress control libraries (not CodeRush)
- Does the problem appear for a new empty solution with a single minimal test project?
* It does not appear. It appears to work just like its supposed to on the single class project.
- Which O/S are you running?
* Windows 8.1 x64 on both
- Does completely uninstalling and reinstalling NCrunch make any difference?
* Haven't had a chance to try yet.
- Does running "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe /setup" as an administrator make any difference?
* Did not make a difference.
- Can you share a screenshot of the missing markers? This will help to establish if it's just the markers missing or the entire marker bar
* http://i.imgur.com/GjfXVMf.png
- Can you submit a bug report after trying to run NCrunch over a minimal test project?
* Do you still want a bug report even though it works in the minimal test project?

Other details from VS about box:
Code:

Microsoft Visual Studio Enterprise 2015 RC
Version 14.0.22823.1 D14REL
Microsoft .NET Framework
Version 4.6.00057

Installed Version: Enterprise

Architecture and Modeling Tools   00269-30000-00001-AA346
Microsoft Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Visual Basic 2015 RC   00269-30000-00001-AA346
Microsoft Visual Basic 2015 RC

Visual C# 2015 RC   00269-30000-00001-AA346
Microsoft Visual C# 2015 RC

Visual C++ 2015 RC   00269-30000-00001-AA346
Microsoft Visual C++ 2015 RC

Visual F# 2015 RC   00269-30000-00001-AA346
Microsoft Visual F# 2015 RC

Windows Phone SDK 8.0 - ENU   00269-30000-00001-AA346
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools RC   14.0.20417.0
ASP.NET and Web Tools RC

ASP.NET Web Frameworks and Tools 2013   5.2.30411.0
For additional information, visit http://www.asp.net/

BusinessObjectEditor   1.0
Information about my package

Code Connect Alpha   1.0
Quickly navigate and edit software on a function-by-function basis.

Common Azure Tools   1.4
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

DevExpress.ExpressApp.Design.DesignDynamicPackage   1.0
DevExpress VSIX Package

DevExpress.ExpressApp.DesignPackage   1.0
DevExpress VSIX Package

GenerateUnitTest   1.0
Generates unit test code for methods in classes under test.

GitHub.VisualStudio   1.0
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

JetBrains ReSharper Ultimate 2015.1   Build 102.0.20150408.145317
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2015 JetBrains, Inc.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Microsoft Code Digger   0.9
Microsoft Code Digger

Microsoft GDB-based Debugger   1.0
Provides support for connecting Visual Studio to GDB

Microsoft.Pex.VisualStudio   1.0
Pex

NCrunch   
Continuous Testing Tool for .NET
Copyright © 2010-2015 Remco Software Ltd

NuGet Package Manager   3.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Office Developer Tools for Visual Studio 2015 RC ENU   14.0.22810
Microsoft Office Developer Tools for Visual Studio 2015 RC ENU

SQL Server Data Tools   14.0.50325.0
Microsoft SQL Server Data Tools

Visual C++ for Cross Platform Mobile Development   1.0
Visual C++ for Cross Platform Mobile Development

Visual C++ for Cross Platform Mobile Development   1.0
Visual C++ for Cross Platform Mobile Development

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   3.11.450.0 (2ab5145)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   5.1.0.115 (d23da369e436488f38c8ab8fe8a9ae7d9ea5256b)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   8.10.0.0 (7741cc495ab0baf04ff0405d0604bc27f0ecae2e)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified

Xamarin.TestCloud.Integration   1.0
Early preview of Xamarin Test Cloud integration
Remco
#6 Posted : Friday, May 1, 2015 4:17:02 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,979

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Thanks for all this information. With the details you've given me, I've been able to reproduce the problem. It seems that Microsoft have introduced a change to the PDB file format to include additional metadata for edit and continue. NCrunch doesn't know what to do with it, so it just drops all debug data and continues without any instrumentation.

This will require a code fix to NCrunch to resolve. As far as I can tell, there is no feasible way to work around the problem. I'll try to get a fix for this out next week. Meanwhile, I recommend staying on CTP6 until a new NCrunch build can be made available.
2 users thanked Remco for this useful post.
rneeft on 5/1/2015(UTC), jwmoffat on 5/1/2015(UTC)
paulrogero
#7 Posted : Friday, May 1, 2015 11:47:05 AM(UTC)
Rank: Member

Groups: Registered
Joined: 6/4/2012(UTC)
Posts: 27

Was thanked: 4 time(s) in 4 post(s)
Sounds good, thanks for looking into it!
jwmoffat
#8 Posted : Thursday, May 7, 2015 5:00:53 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/30/2015(UTC)
Posts: 2
Location: Canada

Thanks: 1 times
Looks like a new version (2.15.0.9) was released yesterday but I didn't notice it until this morning. Installed it and that seems to have resolved the issue, at least for me. :)
Remco
#9 Posted : Thursday, May 7, 2015 9:53:47 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,979

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Yes! The new version was released specifically to fix this. Sorry, I'd intended to put a post here to let you know.
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.062 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download