UserControl.ascx が 1 つあり、この ascx で別のライブラリ (プロジェクト)にある分離コードを使用 (参照) したい。したがって、@control
ディレクティブで次のことを行います
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="..\CodeBehinds\ucBehind1.cs" %>
しかし、ページを実行するとエラーが表示されます
Parser Error Message: Cannot use a leading .. to exit above the top directory.
それを達成する方法はありますか?