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

'Unable to communicate with NsDepCop service' when building 1 project. Works when building multiple projects. #51

Closed
realvizu opened this issue Jan 11, 2020 · 0 comments
Labels

Comments

@realvizu
Copy link
Owner

Looking at the modules loaded by devenv.exe and msbuild.exe it seems that devenv.exe loaded NsDepCop.MsBuildTask.dll directly (instead of delegating this task to msbuild.exe). And because the NsDepCop VSIX is also loaded by devenv.exe, NsDepCop.MsBuildTask.dll finds a different instance (and version) of NsDepCop.Core.dll than expected. Instead of the one at the NuGet package folder (where NsDepCop.MsBuildTask.dll was loaded from) it finds the one at the VSIX folder where there's no NsDepCop.ServiceHost.exe so it can't activate it.

NsDepCop VSIX version: 1.10.0.240
NsDepCop NuGet package version: 1.9.0.234

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

1 participant