Note that there are some explanatory texts on larger screens.

plurals
  1. POCircular file references not allowed
    primarykey
    data
    text
    <p>I am having a problem in building my solution in VS2008. Normally, it compiles fine in the environment. Sometimes, it fails with:</p> <pre><code>/xxx_WEB/secure/CMSManagedTargetPage.aspx(1): error ASPPARSE: Circular file references are not allowed. </code></pre> <p>I rebuild and it works fine.</p> <p>Now, however, I am in the middle of setting up a CruiseControl.NET system and am testing my checked out code with MSBuild before I integrate the build into CC. Now, everytime I MSBuild, I get:</p> <pre><code>"Q:\cc\xxx\checked out from svn\xxx.sln" (default target) (1) -&gt; (xxx_WEB target) -&gt; /xxx_WEB/secure/CMSManagedTargetPage.aspx(1): error ASPPARSE: Circular file references are not allowed. </code></pre> <p>Problem is, I can't see where this reference is.</p> <ul> <li><p>I have searched for the reference across the entire solution and canf ind no references to the page itself (CMSManagedTargetPage) anywhere other than in the page or its codebehind, or within a string, eg: </p> <p>C:\dev2008\xxx\IWW.xxx.ASPNET\AspxHttpHandler.cs(82): inputFile = context.Server.MapPath("~/secure/CMSManagedTargetPage.aspx"); C:\dev2008\xxx\IWW.xxx.ASPNET\AspxHttpHandler.cs(83): virtualPath = "~/secure/CMSManagedTargetPage.aspx";</p></li> </ul> <p>My assembly references are also fine (as far as I know). My Web Application is at the "top" of the dependencies, and nothing references it and therefore the faulting page so cannot cause a circular reference. Of course, the page itself may reference something such as a UserControl within the same assembly/web site, but as mentioned earlier, a search on CMSManagedTargetPage yielded no results so this is not happening.</p> <p>Changing the batch attribute in web.config had no effect on MSBuild.</p> <p>I find it very odd that it "sometimes" fails in VS and always fails in MSBuild. Am I missing some subtlety?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload