本文介绍了更改程序集名称会导致错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我更改项目的程序集名称时,即从"Gui"更改为"Gui2"时,在构建过程中会出现很多错误.其中大多数错误包含找不到xxxx(您是否缺少using指令或程序集引用?)
When I change the assembly name of my project, i.e from "Gui" to "Gui2", I get many errors during build. Most of these errors contain "xxxx could not be found (Are you missing a using directive or an assembly reference?)
我在做什么错了?
推荐答案您需要修复对该程序集的所有引用,才能使用新名称.根据您所做的更改,您可能还需要修复名称空间引用.
You'll need to fix up all of the references to that assembly to use the new name. Depending on how you made the change, you may also need to fix up namespace references.
更多推荐
更改程序集名称会导致错误
发布评论