Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No visualizers generated in VS2017 15.8 Preview 3 #47

Closed
MikeStacey-Gee opened this issue Jul 6, 2018 · 8 comments
Closed

No visualizers generated in VS2017 15.8 Preview 3 #47

MikeStacey-Gee opened this issue Jul 6, 2018 · 8 comments
Assignees
Labels

Comments

@MikeStacey-Gee
Copy link

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
Copy link
Owner

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
Copy link
Author

MikeStacey-Gee commented Jul 6, 2018 via email

@MikeStacey-Gee
Copy link
Author

MikeStacey-Gee commented Jul 6, 2018 via email

@codingadventures
Copy link
Owner

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
Copy link
Author

MikeStacey-Gee commented Jul 6, 2018 via email

@codingadventures codingadventures changed the title No visualizers generated No visualizers generated in VS2017 15.8 Preview 3 Jul 7, 2018
@codingadventures
Copy link
Owner

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
Copy link
Author

MikeStacey-Gee commented Jul 7, 2018 via email

@codingadventures
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants