Yes, use the <supportedRuntime>
element in the .exe.config file. For example:
<configuration>
<startup>
<supportedRuntime version="v2.0.50727"/>
</startup>
</configuration>
More Related Contents:
- For Each Loop in Visual Basic: IndexOutOfRangeException [closed]
- How do I get an animated gif to work in WPF?
- Image UriSource and Data Binding
- Difference between LoadFile and LoadFrom with .NET Assemblies?
- How to implement shared memory in .NET?
- WebAPI Multiple Put/Post parameters
- XML – Data At Root Level is Invalid
- How do you loop through currently loaded assemblies?
- Log4Net: set Max backup files on RollingFileAppender with rolling Date
- .NET How to check if path is a file and not a directory?
- How to tell if a .NET application was compiled in DEBUG or RELEASE mode?
- .NET – Dictionary locking vs. ConcurrentDictionary
- What is the difference between HashSet and List?
- Dependency Injection in .NET with examples?
- Retrieve the current view name in ASP.NET MVC?
- When is an HTTP response finished?
- DataGridTextColumn.IsReadOnly seems to be faulty
- Why doesn’t Dapper dot net open and close the connection itself?
- Merging .net managed dlls
- Start a Task in the Form Shown event
- WPF TextBox won’t fill in StackPanel
- Is it possible to catch an access violation exception in .NET?
- What is the best EXIF library for .Net?
- Can strong naming an assembly be used to verify the assembly author?
- What version of .NET ships with what version of Windows?
- Get Current .NET CLR version at runtime?
- How to determine ACTUAL windows form size (with all nonclient elements) when running Aero?
- InvalidOperationException: Unable to resolve service for type ‘Microsoft.AspNetCore.Http.IHttpContextAccessor’
- Integrate existing ASP.NET MVC application with Orchard CMS
- Serializing a list of Key/Value pairs to XML