【发布时间】:2015-06-04 17:47:54
【问题描述】:
我将 DNN 7.3 用于结合了 VB 和 C# 代码的网站项目。我使用 Visual Studio 2013 来构建项目。 如果属性页中的 MSBuid 选项配置为允许此预编译站点可更新并且项目已发布。 会有一个成功的构建。但是当它签入到 TFS 时,会抛出以下异常:
/compiled/DesktopModules/Admin/Security/manageusers.ascx (8): Circular file references are not allowed.
/compiled/DesktopModules/Admin/Security/manageusers.ascx (67): Unknown server tag 'dnn:profile'.
/compiled/DesktopModules/Admin/Security/EditUser.ascx (5): Circular file references are not allowed.
/compiled/DesktopModules/Admin/Security/EditUser.ascx (163): Unknown server tag 'dnn:Profile'.
/compiled/admin/Users/ViewProfile.ascx (4): Unknown server tag 'dnn:Profile'.
此外,当我选中使用固定命名和单页程序集以及允许此预编译站点可更新时。它会抛出:
ASPNETCOMPILER: Object reference not set to an instance of an object.
当我在网上搜索时,我得到了来自this blog的两个选项。
我已经尝试了这两个,但仍然有同样的错误。 我不知道我做错了什么。
【问题讨论】:
标签: asp.net visual-studio-2013 dotnetnuke