Note that there are some explanatory texts on larger screens.

plurals
  1. POMSBuild: building website using AspNetCompiler - adding references?
    primarykey
    data
    text
    <p>I'm attempting to build a ASP.NET website using MSBuild - specifically the AspNetCompiler tag. I know that, for my project, I need to add some references. Within Visual Studio I have several references, one is a project reference and the others are some DLLS (AjaxControlToolkit etc). I'm happy not referencing the project and referencing the DLL instead - however I just can't work out how to add a reference. I've looked up and down and this is what I've found so far:</p> <pre><code>&lt;Target Name = "PrecompileWeb"&gt; &lt;AspNetCompiler VirtualPath = "DeployTemp" PhysicalPath = "D:\AutoBuild\CruiseControl\Projects\Websites\MyCompany\2.0.0\WorkingDirectory\VSS" TargetPath = "D:\AutoBuild\CruiseControl\Projects\Websites\MyCompany\2.0.0\PreCompiled" Force = "true" Debug = "true" Updateable = "true"/&gt; &lt;/Target&gt; </code></pre> <p>Also - I've picked up this bit of code from around the web somewhere, which I thought might help:</p> <pre><code>&lt;ItemGroup&gt; &lt;Reference Include="My.Web.DataEngine, Culture=neutral, processorArchitecture=MSIL"&gt; &lt;SpecificVersion&gt;False&lt;/SpecificVersion&gt; &lt;HintPath&gt;D:\AutoBuild\CruiseControl\Projects\Components\My.Web.DataEngine\bin\Debug\My.Web.DataEngine.dll&lt;/HintPath&gt; &lt;/Reference&gt; &lt;/ItemGroup&gt; </code></pre> <p>What I want to do is add a attribute to the AspNetCompiler tag, something like:</p> <pre><code>References="@(Reference)" </code></pre> <p>but MSBuild isn't very happy about this.</p> <p>I've been a bit stuck in not being able to find decent references on doing this anywhere: so I'd really apprechiate some pointers or reference material etc. (or just the answer!)</p> <p>Thanks for you help.</p> <p>-tom</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.
    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