visual j# not working in .net 4

前端 未结 5 1979
面向向阳花
面向向阳花 2020-12-29 09:36

I tried to convert a project that relies on the vjs runtime to vs2010, but it errors out when trying to run.

It\'s giving the error that \"Could not load f

5条回答
  •  一整个雨季
    2020-12-29 10:06

    To add to the existing answers, I found that the solutions didn't work for me.

    First thing I did was to repair the Microsoft Visual J# 2.0 Redistributable Package -SE (x64) using Windows Control Panel (Just right click and click repair). This was in case I did any damage in my previous attempts to fix the problem.

    I had already implemented the solution provided by David Thielen.

    1 Extra step closed the deal for me (solved the problem): Copy "vjscor.dll", "vjslib.dll" and "vjsnativ.dll" from C:\Windows\Microsoft.NET\Framework64\v2.0.50727 To C:\Windows\Microsoft.NET\Framework\v2.0.50727

    So basically the Microsoft package placed the correct dlls into the 64-bit .NET framework and I had to manually move them into the 32-bit folder which is then copy-pasted into my solution folder by David Thielen's solution (above).

提交回复
热议问题