Hi everyone,
I have a strange problem in my VB.NET project when I want to compile it as x64.
If I set the target CPU to Any CPU, it will be fine and on x64 systems it will run as x64.
But if I set the target CPU to only x64, my project will show up some error/warnings and won't compile at all, here are them:
-
Error 1 : An attempt was made to load an assembly with an incorrect format
Warning 2 : Possible problem detected while building assembly 'x': Referenced assembly 'mscorlib.dll' targets a different processor
Warning 3 : Possible problem detected while building assembly 'x': Referenced assembly 'System.Data.dll' targets a different processor
Warning 4 : Possible problem detected while building assembly 'x': Referenced assembly 'System.EnterpriseServices.dll' targets a different processor
-
This is very strange, those are system assemblies and my project is .NET Framework 2.0.
How they can run when my application is set to any CPU but not at x64 only?!
If anyone had this problem or know a solution please help me
I have a strange problem in my VB.NET project when I want to compile it as x64.
If I set the target CPU to Any CPU, it will be fine and on x64 systems it will run as x64.
But if I set the target CPU to only x64, my project will show up some error/warnings and won't compile at all, here are them:
-
Error 1 : An attempt was made to load an assembly with an incorrect format
Warning 2 : Possible problem detected while building assembly 'x': Referenced assembly 'mscorlib.dll' targets a different processor
Warning 3 : Possible problem detected while building assembly 'x': Referenced assembly 'System.Data.dll' targets a different processor
Warning 4 : Possible problem detected while building assembly 'x': Referenced assembly 'System.EnterpriseServices.dll' targets a different processor
-
This is very strange, those are system assemblies and my project is .NET Framework 2.0.
How they can run when my application is set to any CPU but not at x64 only?!
If anyone had this problem or know a solution please help me