When I run a .net framework 4.6.1 empty web app with a target platform of x86, it works fine. As soon as I change the platform target to x64 I get this error message:
Could not load file or assembly 'AssemblyName' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I need to run the web app on x64 as I need to use a NuGet package that requires this. It also requires .net framework 4.6.1, hence the reason I'm using this.
Could someone please explain to me how I can get the web app to run on x64 platform?