Search code examples
c#.netvisual-studio-2012.net-client-profile

Add Reference 4.0 Dll to 4.0 ClientProfile application in VS2012


I am working on Multiple versioned projects. One is 4.0 Version and another is 4.0 ClientProfile.

   How could i add 4.0 Assembly to 4.0 ClientProfile. 

   If i adding like normal reference means its not adding properly or the classes i cannot access it.

Tried Solution: I changed 4.0 client to 4.5 means its working fine. But My project support only for 4.0 clientProfile.How can i achieve this?

TanQ, Saars.


Solution

  • If i directly changing the project version 4.0 ClientProfile to 4.0 Means the application not running.

    But if we Add the Reference of system.web means it will automatically converts to 4.0 .

    So it supported to 4.0 version assembly reference too. Now Project is running good.