asp.net - MSBuild _CopyWebApplication not copying <link> from vbproj -


we have cmd file loads msbuild xml file , builds , publishes our vb .net web app. noticed today 1 of user controls we're using not being copied usercontrols folder in output directory. when build , publish project within visual studio 2008 file there.

i believe reason happening because file in usercontrols folder in project shortcut file in different solution within same project. itemgroup xml in myproject.vbproj file looks this:

<content include="..\othersolution\usercontrolfile.ascx">   <link>usercontrols\usercontrolfile.ascx</link> </content> 

in msbuild.xml file have, following being run after solution has been built:

<msbuild projects="$(projectrootpath)\myproject.vbproj"              targets="_copywebapplication;_builtweboutputgroupoutput"              properties="outdir=$(buildfilespath)\" /> 

does have idea why shortcut not being copied outdir? i've checked bunch of questions on here, , tried google, there doesn't seem solutions specific problem.

thanks

we use number of linked files in our projects, way can them work set 'copy output directory' property 'copy always'


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -