Circular file references not allowed

后端 未结 15 1970
没有蜡笔的小新
没有蜡笔的小新 2020-12-18 19:10

I am having a problem in building my solution in VS2008. Normally, it compiles fine in the environment. Sometimes, it fails with:

/xxx_WEB/secure/CMSManagedT         


        
15条回答
  •  离开以前
    2020-12-18 19:38

    For me it was registering the aspx page on the master page as well.

    For example (in the master page):

    <%@ Register Assembly="MyPage" Namespace="MyPage" TagPrefix="MyPage" %>
    ...
    
    

    And then in the aspx page:

    <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" 
        CodeFile="MyPage.aspx.cs" Inherits="MyPage" Title="Untitled Page" %>
    
    

    Removing the Register fixed it.

提交回复
热议问题