我刚将blogengine.net整合到我的exting webapplication(不是网站)
为此,我已将所有博客引擎页面转换为webapplication页面。根据应用程序文件夹设置名称空间引用
我已经成功构建了解决方案。但是当我运行主应用程序时发生错误。
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0433: The type 'MyStore.App_Code.Controls.PostPager' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\6332283b\32bb0d6a\App_Code.afjt0bia.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\6332283b\32bb0d6a\assembly\dl3\faca6d87\a3e83425_6ad8cd01\MyStore.DLL'
我检查了所有的命名空间引用,但我没有发现任何重复的引用。
请帮我摆脱这个。
答案 0 :(得分:0)
将代码文件移出App_Code
文件夹并将其放在Classes
文件夹中。