如何在另一个框架版本项目中安装NuGet包时添加特定的框架版本程序集 [英] How to add the particular framework version assemblies while installing the NuGet package in another framework version project

查看:106
本文介绍了如何在另一个框架版本项目中安装NuGet包时添加特定的框架版本程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

Hi All,

我试图用一些依赖的NuGet包安装MVC4 NuGet包,这些包在4.6框架应用程序中具有以下结构。

I have tried to install the MVC4 NuGet package with the some dependent NuGet packages which is in below structure in the 4.6 framework application.

依赖包结构是,




但是在MVC4应用程序中,程序集(在依赖包中可用)是在4.5框架版本而不是4.0框架版本中添加的。但是父MVC4 NuGet包
程序集是4.0框架版本程序集作为依赖。在我这边我需要在安装上面的依赖NuGet包时添加4.0框架版本程序集。

But in MVC4 application the assemblies (which is available in the dependent package) are added in the 4.5 framework version instead of the 4.0 framework version. But the parent MVC4 NuGet packages assemblies are have the 4.0 Framework version assemblies as a dependent. In my side I need to add the 4.0 framework version assemblies while installing the above dependent NuGet package.

我的父包规范文件结构是,

My parent package spec file structure is,

我的问题是,

如何在安装上述结构NuGet包时参考4.6框架版本项目中的4.0框架版程序集?

以上是否需要进行任何更改NuGet结构?

How can I refer the 4.0 framework version assemblies in the 4.6 framework version project while installing the above structure NuGet package?
Is there any changes are need in the above NuGet structure?

请提出任何有关此事的想法,

Please suggest any idea regarding this,

提前致谢。

问候,

Ganesan R。

Regards,
Ganesan R.

推荐答案

大家好,





请更新我有什么建议吗?





谢谢,

Ganesan R。


这篇关于如何在另一个框架版本项目中安装NuGet包时添加特定的框架版本程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆