ademanuele / VSMac-CodeCoverage

A Visual Studio for Mac code coverage extension.
MIT License
75 stars 16 forks source link

Extension Window Is Blank #12

Closed Axemasta closed 3 years ago

Axemasta commented 3 years ago

I have been using this extension for months and use it almost daily. Really helpful tool for checking test coverage is adequate.

Today I noticed that the coverage window is not completely blank: image

The test project is building and I am able to run all tests successfully. I tried creating another project with a class lib and test project and the same was true for that solution. The test project builds and all tests run / succeed and the coverage tool is blank.

I am on extension version 1.1, here is my Visual Studio For Mac Information:

=== Visual Studio Enterprise 2019 for Mac ===

Version 8.8.7 (build 18)
Installation UUID: 5ace1c1d-a3b5-4f6d-bd18-5325ddc6dd47
    GTK+ 2.24.23 (Raleigh theme)
    Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638)

    Package version: 612000113

=== Mono Framework MDK ===

Runtime:
    Mono 6.12.0.113 (2020-02/4fdfb5b1fd5) (64-bit)
    Package version: 612000113

=== Roslyn (Language Service) ===

3.8.0-5.20519.18+4c195c3ac1974edcefa76774d7a59a2350ec55fa

=== NuGet ===

Version: 5.8.0.6860

=== .NET Core SDK ===

SDK: /usr/local/share/dotnet/sdk/5.0.102/Sdks
SDK Versions:
    5.0.102
    5.0.101
    5.0.100
    3.1.405
    3.1.404
    3.1.403
MSBuild SDKs: /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks

=== .NET Core Runtime ===

Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
    5.0.2
    5.0.1
    5.0.0
    3.1.11
    3.1.10
    3.1.9
    2.1.23

=== .NET Core 3.1 SDK ===

SDK: 3.1.405

=== Xamarin.Profiler ===

Version: 1.6.15.68
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Updater ===

Version: 11

=== Xamarin.Android ===

Version: 11.1.0.26 (Visual Studio Enterprise)
Commit: xamarin-android/d16-8/a36ce73
Android SDK: /Users/alex.duffell/Library/Developer/Xamarin/android-sdk-macosx
    Supported Android versions:
        None installed

SDK Tools Version: 26.1.1
SDK Platform Tools Version: 30.0.5
SDK Build Tools Version: 29.0.2

Build Information: 
Mono: 5e9cb6d
Java.Interop: xamarin/java.interop/d16-8@79d9533
ProGuard: Guardsquare/proguard/proguard6.2.2@ebe9000
SQLite: xamarin/sqlite/3.32.1@1a3276b
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-8@2fb1cbc

=== Microsoft OpenJDK for Mobile ===

Java SDK: /Users/alex.duffell/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Android SDK Manager ===

Version: 16.8.0.32
Hash: 01a7774
Branch: remotes/origin/d16-8
Build date: 2021-01-14 00:34:58 UTC

=== Android Device Manager ===

Version: 16.8.0.46
Hash: 0a81419
Branch: remotes/origin/d16-8
Build date: 2021-01-14 00:35:22 UTC

=== Xamarin Designer ===

Version: 16.8.0.510
Hash: 44e3f3ce9
Branch: remotes/origin/d16-8
Build date: 2020-12-10 00:06:14 UTC

=== Apple Developer Tools ===

Xcode 12.4 (17801)
Build 12D4e

=== Xamarin.Mac ===

Version: 7.2.0.3 (Visual Studio Enterprise)
Hash: c51fabee8
Branch: xcode12.3
Build date: 2020-12-10 21:05:04-0500

=== Xamarin.iOS ===

Version: 14.8.0.3 (Visual Studio Enterprise)
Hash: c51fabee8
Branch: xcode12.3
Build date: 2020-12-10 21:05:05-0500

=== Build Information ===

Release ID: 808070018
Git revision: 0f6def3c0ff5f9cee230e65718561cb41c8eedc0
Build date: 2021-01-29 08:24:09-05
Build branch: release-8.8
Xamarin extensions: 0f6def3c0ff5f9cee230e65718561cb41c8eedc0

=== Operating System ===

Mac OS X 10.16.0
Darwin 20.2.0 Darwin Kernel Version 20.2.0
    Wed Dec  2 20:39:59 PST 2020
    root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64

=== Enabled user installed extensions ===

DeepClean 1.2.5
MFractor 4.4.6
Code Coverage 1.1
Code Distribution Extension 1.1
LightSwitch 💡 1.0
ademanuele commented 3 years ago

Haha. That's what I wanna hear! Glad to know I can help make at least one person's dev experience a bit easier.

That's an interesting issue.

I'm guessing it persists even after you close and reopen Visual Studio? How about when closing and re-opening the Coverage pad?

Axemasta commented 3 years ago

Yes I have tested it after completely closing vs, I have closed the pad and reopened and even tried moving it around. I also tried reinstalling the extension.

Axemasta commented 3 years ago

I have good news, after the latest update for vsmac the coverage extension appears to be working!

image 🥳🥳🥳

Any tips on debugging the issue if vsmac breaks the extension in the future? 😁

ademanuele commented 3 years ago

Ah! Interesting.

Most likely what happened then is that I built the extension with a more up to date version of Visual Studio than what you were running.

I had never seen VS not load the extension before tbh so I was lost for debugging this as well.

That's good to know for the future. 😀 Thanks for the feedback!