VSHOST Strong Name Validation Failed

I converted a .NET 1.1 application to the new VS2005 .NET 2.0 framework.  Whenever I load the solution, I get a "Strong name validation failed" as it tries to load the "myapp.vshost.exe".  I would like to take advanteage of the vshost but it is saying the the strong name validation failed because it the key was tampered with.  Anybody know why it would do this or how to fix it

Thank you,

John R


Answer this question

VSHOST Strong Name Validation Failed

  • chriswillis

    We are also experiencing this problem with a VS 2005 WinForms application. The "Strong name validation failed" error on <app>.vshost.exe occurs when the solution is opened.

    We have tried disabling/enabling etc. the hosting process: Project Properties > Debug > "Enable the Visual Studio hosting process" and the bug remains.

     

     


  • Malcatrazz

    We've seen this problem as well. In our case, it was caused by the requiredRuntime/supportedRuntime settings in the relevant .exe.config file specifying the .NET Framework 1.1 instead of 2.0.

    We changed the lines in the relevant .exe.config file from:

    <configuration>
    <startup>
    <requiredRuntime version="V1.1.4322" safemode="true" />
    <supportedRuntime version="V1.1.4322" />
    </startup>
    </configuration>

    to:

    <configuration>
    <startup>
    <supportedRuntime version="v2.0.50727" />
    </startup>
    </configuration>

    and the problem was cured.



  • ImNoScrub

    Redirecting again... This is more of a debugger issue.

  • JonCole

    I've moved this thread to the VS forum, where an expert in VS Host will more likely see the thread.

    -Shawn



  • VSHOST Strong Name Validation Failed