user5405648
user5405648

Reputation:

.NET framework version conflict issue

When I load my application, I receive the following error: enter image description here

I immediately went and tried to install the version but it notified me that it's already installed: enter image description here

What is going on here?

Upvotes: 1

Views: 385

Answers (1)

DavidG
DavidG

Reputation: 118937

You app.config fie contains an invalid value for the SKU id in your supportedRuntime element. For some reason it is this:

<supportedRuntime version="v4.0" sku=".NETFramework,ServerVersion=v4.6.1" />

But it should look more like this:

<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />

You can see the valid list of values in this list.

Upvotes: 3

Related Questions