我想建立一个解决方案,并得到以下错误:类型或命名空间名称‘命名空间’“无法在全局命名空间中找到(是否缺少程序集引用?)
Severity Code Description Project File Line Suppression State Error CS0400 The type or namespace name 'CMSInstall_Controls_WizardSteps_CollationDialog' could not be found in the global namespace (are you missing an assembly reference?) Fortius.CMS D:\Kentico10Migration\GithubMegha\Fortius.CMS\CMS\CMSInstall\install.aspx.designer.cs 390 Active
Designer file is not recognising
"CMSInstall_Controls_WizardSteps_CollationDialog"
/// /// ucCollationDialog control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// protected global::CMSInstall_Controls_WizardSteps_CollationDialog ucCollationDialog;
但另一个解决方案文件具有相同的install.aspx install.aspx.cs install.aspx.desginer.cs文件,但在构建它时没有错误。
该项目是否有相同的参考文件.... – Reniuz
可能有一个nuget包,你已经安装到一个项目,但没有到另一个。 – NineBerry
可能重复的[获取“类型或名称空间名称找不到”,但一切似乎没问题吗?](http://stackoverflow.com/questions/3304741/getting-type-or-namespace-name-could-not-be -found,但是,一切-似乎-OK) –