Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6773547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:40:52+00:00 2026-05-26T15:40:52+00:00

I came across a strange error when using NGen from .NET Framework 4 to

  • 0

I came across a strange error when using NGen from .NET Framework 4 to compile a bunch of DLL assemblies. The install worked for some of the DLLs, but for some others it produced the following error message:

Failed to load the runtime. (Exception from HRESULT: 0x80131700). Assembly AseemblyFileLocation requires version v4.0.30319 of the runtime to run.
Assembly will be compiled once the correct runtime is installed.

I am certain that I have the correct runtime version. I found that no one had come across this when I tried a search on web for answers, which is even stranger.

Any leads on this? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T15:40:53+00:00Added an answer on May 26, 2026 at 3:40 pm

    I ran into this issue as well and it turned out the culprit was the following entry in the assembly .config file:

    <startup>
      <supportedRuntime version="v3.5"/>
    </startup>
    

    Once I removed it, Ngen ran fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While refactoring some code, I came across this strange compile error: The constructor call
During development I came across a strange scenario using DD with Macedonian_FYROM_90_CI_AS Collation. declare
Today I came across a very strange JavaScript regular expression issue. When using the
I came across some strange results when using Code Coverage for our unit tests.
I came across a very strange behavior in asp.net's ObjectDataSource , the description to
I came across a strange Boost (v1.38) mutex deadlock in a preexisting .NET (C#,
I came across a strange behaviour when doing some regular expressions in JavaScript today
I came across a strange behavior while theming Drupal. I turned a few modules
I came across this strange bit of CSS tonight... display: inline !ie; Now I've
Came across this error today. Wondering if anyone can tell me what it means:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.