Ask a questionAsk a question
 

General Discussionusing different references for my projects

  • Friday, October 23, 2009 6:25 PMnibs Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi

    I'm developing a web project under Visual Studio 2008 SP1 and Windows XP. My working machine is 32 bits, but both my testing and deployment environments are 64bits. I wolud like to use the same solution for compiling for 32 and 64 bits, but depending of this configuration i need to use different project dependencies. Is it possible to automatically switch these dependencies? i have them stored in different folders.

    For example:

    Dependencies
      |-   x86
      |-   x64

    In both folders there is a myAssembly.dll compiled in each architecture.
    Can i reference them as:  C:\Dependencies\%ARCHITECTURE%\myAssembly.dll?

    Thank you in advance
    .net developer