Using Hintpath on x86 and x64 machines

On my 64-bit machine, I created a project that as a link to a DLL

C: \ Program Files (x86) \ Microsoft SDK \ Silverlight \ v5.0 \ Libraries \ Server \ System.ServiceModel.PollingDuplex.dll

If I open this project on my x86 machine, this link will fail because the directory is really "C: \ Program Files"

Is there a way to do this so that it works in both environments?

+3
source share
2 answers

Use the environment variable property $ (ProgramFiles)

$(ProgramFiles)\SDKs\Silverlight\v5.0\Libraries\Server\System.ServiceModel.PollingDuplex.dll

It did.

+3
source

, dll , ​​ lib. Silverlight SDK, WCF.

+1

All Articles