Visual Studio 2008 64bit and .net 3.5

i noticed that there are 2 folder for .net 3.5 on a 64bit machine. xeon not itanium

C:\Windows\Microsoft.NET\Framework64

and

C:\Windows\Microsoft.NET\Framework

i have my flag set to x64 in my c# project. but then i get the following warning

Assembly generation -- Referenced assembly 'mscorlib.dll' targets a different processor

when i run a build vs.net solution in FB 6, i get

Running C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.com with parameters : /rebuild "Release|x64" "C:\qnxt 4.6\UI\TaskScheduler\TaskScheduler.sln"
------
Microsoft (R) Visual Studio Version 9.0.30729.1.
Copyright (C) Microsoft Corp. All rights reserved.
------ Rebuild All started: Project: TaskScheduler, Configuration: Release x64 ------
C:\Windows\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /nowarn:1701,1702 /platform:x64 /errorreport:prompt /doc:bin\Release\TaskScheduler.xml /baseaddress:285212672 /define:TRACE /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /filealign:4096 /optimize+ /out:obj\x64\Release\TaskScheduler.dll /target:library AssemblyInfo.cs ScheduledTasks.cs Scheduler.cs Task.cs TaskList.cs TaskSchedulerInterop.cs Trigger.cs TriggerList.cs


notice the path to the framework folder does not have 64 in it. i believe the issue is that VS 2008 is a 32 bit app so it is using the 32 bit framework.

is there anyway to use the framework64 folder with using a command line? or is the framework64 folder for something else like itanium?

Hi Nick,

It looks like this is a Visual Studio problem (you'll see the same output from the VS IDE in the Output window), from what I can find you can safely ignore these warnings as the output assemblies are correctly set as 64-bit only and will use the 64-bit assemblies from the Framework64 directory at runtime. You can verify this by running Corflags.exe (http://msdn.microsoft.com/en-us/library/ms164699(VS.80).aspx) on the assemblies.

Regards,
Paul.