-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
MSBuild error: module could not be found #8
Comments
Thanks for the report. I can see you're using Visual Studio 2012. Can you please tell me which version of JSLint.NET for Visual Studio you have installed? Edit: I just downloaded and unzipped the latest .vsix from the Visual Studio Gallery, and v8-ia32.dll is definitely in there. If you haven't already, please try uninstalling and reinstalling JSLint.NET, but not before we find out which version it is. |
1.8.2 Reinstalling didn't fix the issue. 😢 Update: I do have the |
Unfortunately I still haven't been able to reproduce this. In the mean time, I recommend switching to the NuGet package if you can. While it's not as feature rich as the VS extension, it's extremely stable. |
Thanks for checking in, Ben! Feel free to close this for now. If I get back to using the VS extension and still have problems, I'll reopen this (or make a new one if the versions change). Cheers! |
I get the same error message when I try to run JSLint from the context menu. |
Thanks for the report. Sounds like the problem is a bit more wide-spread. It's definitely something to do with the ClearScript V8 references, but I'm not sure why it isn't working for Visual Studio. The NuGet package uses exactly the same references in exactly the same way. Can you please confirm that there are two error messages along the lines of "The specified module could not be found". The first one points to a location like Are you using Visual Studio 2012? |
Yes, I am running VS 2012. Cannot load V8 interface assembly. Load failure information for v8-ia32.dll: Thanks. |
I managed to replicate the error, but only by manually mismatching the V8 libraries with the version of ClearScript (i.e. 5.4.1 vs 5.4.2). This is not something that should be happening in release, and I've verified the packages that are currently online are in sync. So, a few more things to check:
|
OK, I think I've gotten to the bottom of it. Seems to be specific to Visual Studio 2012 and the VC libraries. I'll have a new version of the beta to try soon. |
@zackdouglas and @phillhutt: Please try JSLint.NET 2.0.0-beta7. I've switched to wiring up V8 manually which I believe will fix the issue for you. Let me know how it goes. |
I have installed 2.0.0-beta7 but I am still getting the error.
|
That's great information. Thanks for following up. I believe there is a conflict between VS and MSBuild. Please update the NuGet package from 1.6.3 to 2.0.0-beta7. You will need to "Include Prerelease" to see it in the Manage NuGet Packages dialog. Restart Visual Studio and the errors should be gone. |
Today I tried updating my jslintnet NuGet for MS Build from 1.6.3 to 1.8.3. I got the same error that I was getting from the VS extension. But this has a some stack also. Perhaps it will help. See below. |
It looks like I have solved my problem. I installed the error "The program can't start because MSVCR120.dll is missing from your computer. Try reinstalling the program to fix this problem." lead me to install the 2013 C++ runtime redistributable package (x86). I had the x64 one, but not x86. |
Aha, so it's the VC++ runtime. That's fantastic information @phillhutt, thank you. I was under the impression ClearScript depended on the 2012 version, but that's obviously not the case. I'll see if there is some way I can bundle it into the package. |
I've spent most of today investigating this issue. It turns out the only reasonable way to ensure ongoing Visual Studio 2012 support without requiring the VC2013 libraries is to downgrade ClearScript V8. Thankfully I didn't have to go very far back to restore VS2012 compatibility. All the tests are passing so I'm confident we haven't lost anything. So there will be one more release on the v1.x line of JSLint.NET to fix this issue, and then it'll be full steam ahead with v2. |
When trying to run this from the VS context menu, I get the following error from VisualStudio:
Sure enough, I don't have that DLL. I had hoped that the NuGet package would fail if I were missing a dependency. To be clear, I'm attempting to use this for a single-page-app, not for Node.JS; though, I do have Node.JS installed on the host machine, not coming from NuGet/VisualStudio.
The text was updated successfully, but these errors were encountered: