首页 > 解决方案 > Visual Studio - .Net 5.0 项目中的外部程序集未更新

问题描述

我正在旧版 Visual Studio 解决方案中添加NUnit项目,该解决方案已经具有和.TestAutoNeatSoftwareNeatSolutionNeatLegacyProjectNeatSlowlyPortingClassLibrary

NeatLegacyProjectNeatClassLibraryInProgress使用.Net Framework 4.8,但我的目标是将整个移植到.Net 5.0,所以TestAutoNeatSoftware使用.Net 5.0。

这三个项目都使用了我们在另一个解决方案中开发的类库,GeneralPurposeLibrary.

当我第一次GeneralPurposeLibrary作为一个程序集添加到 时TestAutoNeatSoftware,一切都很顺利;类、属性和方法很容易使用,并且一切都构建得很顺利。

然后,我在 ; 中添加了GeneralPurposeLibrary用于模拟的接口TestAutoNeatSoftwareGeneralPurposeLibrary正式建成。

当我在 中使用这样的接口时NeatClassLibraryInProgress,构建运行良好。

但是,当我在 中尝试相同时TestAutoNeatSoftware,它似乎不知道GeneralPurposeLibrary已被修改。

我尝试了以下方法:

我能做些什么来让它变得更好?

(除此之外:属性的名称是从 VS 的法语版本翻译回来的,在 Web 搜索的帮助下,但我会感谢有关程序集属性的参考,因为我似乎找不到。)

标签: visual-studio.net-5class-library

解决方案


推荐阅读