codingadventures / LINQBridgeVs

Dumps the content of variables during debugging in Visual Studio to LINQPad
MIT License
127 stars 21 forks source link

No visualizers generated in VS2017 15.8 Preview 3 #47

Closed MikeStacey-Gee closed 6 years ago

MikeStacey-Gee commented 6 years ago

I have rebuilt my solution several times, but the visualizer assemblies are not being generated. Are there any other VS2017 extensions that may be blocking the operation?

codingadventures commented 6 years ago

Hi, I doubt other extensions could conflict with this one but I can't exclude it for sure. The visualizer assembly generation is bound to the compilation process, so the problem lies either in the installation process or on the folder permissions --> Documents\Visual Studio 2017\Visualizers .

One thing that could help me identify the issue is to have the log files (you have to enable logging in the option menu), Also if you could enable error reporting I would see the exceptions coming through in Sentry.

Please check out the guide on how to enable logs and/or error reporting here

MikeStacey-Gee commented 6 years ago

Will do

Get Outlook for iOShttps://aka.ms/o0ukef


From: codingadventures notifications@github.com Sent: Friday, July 6, 2018 12:00:22 PM To: codingadventures/LINQBridgeVs Cc: Mike Stacey-Gee; Author Subject: Re: [codingadventures/LINQBridgeVs] No visualizers generated (#47)

Hi, I doubt other extensions could conflict with this one but I can't exclude it for sure. The visualizer assembly generation is bound to the compilation process, so the problem lies either in the installation process or on the folder permissions --> Documents\Visual Studio 2017\Visualizers .

One thing that could help me identify the issue is to have the log files (you have to enable logging in the option menu), Also if you could enable error reporting I would see the exceptions coming through in Sentry.

Please check out the guide on how to enable logs and/or error reporting herehttps://github.com/codingadventures/LINQBridgeVs#bridgevs-option-menu

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/codingadventures/LINQBridgeVs/issues/47#issuecomment-403002075, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQGEzUJNJYzYqUzSrnTD3zr3T2ZeiRMCks5uD0NGgaJpZM4VFKPO.

MikeStacey-Gee commented 6 years ago

Hi,

I have enabled error reporting and logging. After several rebuilds there is no log file.

Regards

Mike

From: codingadventures notifications@github.com Sent: 6 July 2018 12:00 To: codingadventures/LINQBridgeVs LINQBridgeVs@noreply.github.com Cc: Mike Stacey-Gee MikeStacey-Gee@esdm.co.uk; Author author@noreply.github.com Subject: Re: [codingadventures/LINQBridgeVs] No visualizers generated (#47)

Hi, I doubt other extensions could conflict with this one but I can't exclude it for sure. The visualizer assembly generation is bound to the compilation process, so the problem lies either in the installation process or on the folder permissions --> Documents\Visual Studio 2017\Visualizers .

One thing that could help me identify the issue is to have the log files (you have to enable logging in the option menu), Also if you could enable error reporting I would see the exceptions coming through in Sentry.

Please check out the guide on how to enable logs and/or error reporting herehttps://github.com/codingadventures/LINQBridgeVs#bridgevs-option-menu

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/codingadventures/LINQBridgeVs/issues/47#issuecomment-403002075, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQGEzUJNJYzYqUzSrnTD3zr3T2ZeiRMCks5uD0NGgaJpZM4VFKPO.

codingadventures commented 6 years ago

That is very odd. I haven't got anything new either in Sentry. Please check the registry here \HKEY_CURRENT_USER\Software\LINQBridgeVs (refers to the section How it works in the readme). If the installation went well and also you bridged your solution correctly you should find in the registry your solution listed: \HKEY_CURRENT_USER\Software\LINQBridgeVs\15.0\Solutions\yoursolution

As a side note: which OS are you using? What type of solution are you trying to map (c#, vb, f#)

MikeStacey-Gee commented 6 years ago

Hi,

The registry appears to be ok:

[cid:image002.png@01D41546.26736DE0]

[cid:image001.png@01D41545.FED5ACD0]

I am running under VS2017 15.8.0 Preview 3, and the solution(s) are all VB with a minimum of 40 projects, though the release solution gets to 67 projects.

From: codingadventures notifications@github.com Sent: 6 July 2018 16:13 To: codingadventures/LINQBridgeVs LINQBridgeVs@noreply.github.com Cc: Mike Stacey-Gee MikeStacey-Gee@esdm.co.uk; Author author@noreply.github.com Subject: Re: [codingadventures/LINQBridgeVs] No visualizers generated (#47)

That is very odd. I haven't got anything new either in Sentry. Please check the registry here \HKEY_CURRENT_USER\Software\LINQBridgeVs (refers to the section How it workshttps://github.com/codingadventures/LINQBridgeVs#how-it-works in the readme). If the installation went well and also you bridged your solution correctly you should find in the registry your solution listed: \HKEY_CURRENT_USER\Software\LINQBridgeVs\15.0\Solutions\yoursolution

As a side note: which OS are you using? What type of solution are you trying to map (c#, vb, f#)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/codingadventures/LINQBridgeVs/issues/47#issuecomment-403063050, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQGEzYYC-SYVFhBdhDJVj3pN3-4eh_oNks5uD35vgaJpZM4VFKPO.

codingadventures commented 6 years ago

Hi,

I found out the problem. The preview version of Visual Studio install itself in C:\Program Files (x86)\Microsoft Visual Studio\Preview instead of C:\Program Files (x86)\Microsoft Visual Studio\2017 which is the default installation folder for Visual Studio 2017. Thus during the first configuration the relevant .target files needed to override the MSBuild process don't end up in the correct folder.

To fix this issue please copy the folder v15.0 and its content from C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\v15.0 to C:\Program Files (x86)\Microsoft Visual Studio\Preview\Enterprise\MSBuild\v15.0

The next time the solution is rebuilt the visualizers are correctly generated

MikeStacey-Gee commented 6 years ago

Thank you for investigating, very much appreciated. This explains why it works on a remote VM in my office where the standard VS2017 is installed.

Get Outlook for iOShttps://aka.ms/o0ukef


From: codingadventures notifications@github.com Sent: Saturday, July 7, 2018 11:41:39 AM To: codingadventures/LINQBridgeVs Cc: Mike Stacey-Gee; Author Subject: Re: [codingadventures/LINQBridgeVs] No visualizers generated in VS2017 15.8 Preview 3 (#47)

Hi,

I found out the problem. The preview version of Visual Studio install itself in C:\Program Files (x86)\Microsoft Visual Studio\Preview instead of C:\Program Files (x86)\Microsoft Visual Studio\2017 which is the default installation folder for Visual Studio 2017. Thus during the first configuration the relevant .target files needed to override the MSBuild process don't end up in the correct folder.

To fix this issue please copy the folder v15.0 and its content from C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\v15.0 to C:\Program Files (x86)\Microsoft Visual Studio\Preview\Enterprise\MSBuild\v15.0

The next time the solution is rebuilt the visualizers are correctly generated

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/codingadventures/LINQBridgeVs/issues/47#issuecomment-403206501, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQGEzfsCPvvVqVZT5fY3xjyu269UXiRzks5uEJBjgaJpZM4VFKPO.

codingadventures commented 6 years ago

Thanks for reporting the issue, I added a section in the README in case someone else has the same problem.