如何使用Powershell在4.6 .NET框架项目中安装4.5框架NuGet包?

编程入门 行业动态 更新时间:2024-10-25 16:19:30
本文介绍了如何使用Powershell在4.6 .NET框架项目中安装4.5框架NuGet包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

以下示例显示了支持库的四个版本的文件夹结构: \lib \ net45 \ MyAssembly.dll \ net46 \ MyAssemblycore.dll 我们有4.6 .Net框架项目。如何安装NuGet包并在该项目中引用MyAssembly.dll? $ 可以在4.6 .NET框架项目中安装不同的框架吗? 你能建议任何其他解决方案吗?

The following example shows a folder structure that supports four versions of a library: \lib \net45 \MyAssembly.dll \net46 \MyAssemblycore.dll We have 4.6 .Net framework project. How to install NuGet package and refer MyAssembly.dll in that project? Its possible to install different framework in 4.6 .NET framework project? Can you please suggest any other solution ?

推荐答案

我们有4.6 .Net框架项目。如何安装NuGet包并在该项目中引用MyAssembly.dll? $ 以下示例显示了支持库的四个版本的文件夹结构: \lib \ net45 \ MyAssembly.dll \ net46 \ MyAssemblycore.dll 可以在4.6 .NET框架项目中安装不同的框架吗? 能否请您提出其他解决方案? We have 4.6 .Net framework project. How to install NuGet package and refer MyAssembly.dll in that project? The following example shows a folder structure that supports four versions of a library: \lib \net45 \MyAssembly.dll \net46 \MyAssemblycore.dll Its possible to install different framework in 4.6 .NET framework project? Can you please suggest any other solution ?

更多推荐

如何使用Powershell在4.6 .NET框架项目中安装4.5框架NuGet包?

本文发布于:2023-11-07 01:07:16,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1565135.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:框架   如何使用   项目   Powershell   NET

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!