简体   繁体   English

在VS2012中将参考4.0 Dll添加到4.0 ClientProfile应用程序

[英]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. 一个是4.0版本,另一个是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. 尝试的解决方案:我将4.0客户端更改为4.5,表示其工作正常。 But My project support only for 4.0 clientProfile.How can i achieve this? 但是我的项目仅支持4.0 clientProfile。如何实现?

TanQ, Saars. TanQ,萨尔。

If i directly changing the project version 4.0 ClientProfile to 4.0 Means the application not running. 如果我直接将项目版本4.0 ClientProfile更改为4.0,则表示该应用程序未运行。

But if we Add the Reference of system.web means it will automatically converts to 4.0 . 但是,如果我们添加system.web的引用,则意味着它将自动转换为4.0。

So it supported to 4.0 version assembly reference too. 因此它也支持4.0版本的程序集参考。 Now Project is running good. 现在项目运行良好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM