Try to use this exact startup tag in your app.config under configuration node
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
<requiredRuntime version="v4.0.20506" />
</startup>
More Related Contents:
- Change C++/CLI project to another framework than 4.0 with vs2010
- How can I run PowerShell with the .NET 4 runtime?
- Differences between Microsoft .NET 4.0 full Framework and Client Profile
- How can I query for null values in entity framework?
- .NET 4.0 has a new GAC, why?
- How do I run Visual Studio as an administrator by default?
- IDictionary in .NET 4 not covariant
- What is the significance of ProjectTypeGuids tag in the visual studio project file
- An error occurred while validating. HRESULT = ‘8000000A’
- Can I set Option Explicit and Option Strict on a Project/Solution level?
- How do you enable “Enable .NET Framework source stepping”?
- Cannot install Windows SDK 7.1 on Windows 10
- Maximum value of maxRequestLength?
- Why is the first WCF client call slow?
- Can Visual Studio 2012 be installed side-by-side w/ Visual Studio 2010?
- How are .NET 4 GUIDs generated?
- Session state can only be used when enableSessionState is set to true either in a configuration
- Correct way to escape characters in a DataTable Filter Expression
- Is it possible to send a collection of ID’s as a ADO.NET SQL parameter?
- Getting the PublicKeyToken of .Net assemblies [duplicate]
- Windows SDK 7.1 Setup failure
- How do I use a dump file to diagnose a memory leak?
- Why Tuple’s items are ReadOnly?
- Drag and drop a DLL to the GAC (“assembly”) in windows server 2008 .net 4.0
- Where can I find a TPL dataflow version for 4.0?
- Change the Target Framework for all my projects in a Visual Studio Solution
- Do you think it’s advantageous to switch to Entity Framework? [closed]
- Visual Studio CPU High Usage
- How to serialize a large graph of .NET objects into a SQL Server BLOB without creating a large buffer?
- Does the .Net Framework 4.0 Installer include the .Net Framework 3.5?