msbuild - devenv VS aspnet_compiler -
if use aspnet_compiler publish asp.net mvc web site, same tasks devenv do? or pre-compiling minimize startup delay?
i.e. requirnment able compile , publish asp.net web site. in case, should use devenv first build web site, , use aspnet_compiler pre-compile , copy files on (publish)?
or if use aspnet_compiler building (compiling) of source , reference projects relevent dlls?
your responses highly appreciated. lot.
i don't know if ther such thing aspnet_compiler. have @ part of 'visual c# -> asp.net web application' project file:
<import project="$(msbuildbinpath)\microsoft.csharp.targets" /> <import project="$(msbuildextensionspath32)\microsoft\visualstudio\v10.\webapplications\microsoft.webapplication.targets" />
first line standard c# target. second, more interesting asp.net specyfic. if content find definition of of publish target , looking for.
for building , publishing project can use (or publish if there predefined dependencies, haven't check it)
msbuild /t:build,publish <project file>
Comments
Post a Comment