Visual Studio, csproj: How can I specify a linked file in DependentUpon? -
suppose have default.aspx.cs in project, want make dependent upon default.aspx file that's linked. e.g.:
<content include="..\somedir\default.aspx"> <link>default.aspx</link> </content>
this doesn't work:
<compile include="default.aspx.cs"> <dependentupon>default.aspx</dependentupon> <subtype>aspxcodebehind</subtype> </compile>
this doesn't work:
<compile include="default.aspx.cs"> <dependentupon>..\somedir\default.aspx</dependentupon> <subtype>aspxcodebehind</subtype> </compile>
for both, error:
the parent file, 'default.aspx', file 'default.aspx.cs' cannot found in project file.
is possible have file dependent upon linked file?
i tried same thing , seems not supported. check this: https://bitbucket.org/jfromaniello/nestin/issue/4/error-when-nesting-linked-files "dependentupon not work linked files."
Comments
Post a Comment