I think aspnet_compiler is used for Web "Site" projects not for Web "Application" projects. The difference is that a Web "Site" does not actually have a project (.csproj/.vbproj) file where a web application project does.
So, for a Web Application project msbuild should compile the DLL. There are also web deployment projects which is a project type, basically with customer MSBuild tasks to invoke aspnet_compiler. BOb -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Feldman Sent: Tuesday, October 03, 2006 12:49 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] VS2005 Web Application Projects Nemegeer, Marc wrote: > Not sure I understand. I only have one webservice that relies on other projects not msbuild compatible, so only option to build is nant. > > Start by reading the Microsoft documentation on aspnet_compiler. Then try getting it to build properly by invoking aspnet_compiler directly from the command line. Once that's working, you can go to invoking aspnet_compiler via an <exec> command. Gary > Can you elaborate a little bit ? My webservice is only a thin wrapper around another project with a call to the facade in this project. > > Thanks, > Marc > > > ________________________________ > > Van: Gary Feldman [mailto:[EMAIL PROTECTED] > Verzonden: di 3/10/2006 14:43 > Aan: Nemegeer, Marc > Onderwerp: Re: [NAnt-users] VS2005 Web Application Projects > > > > Nemegeer, Marc wrote: > >> Hi, >> I can't figure out how to build a "web application project" (webproject.scottgu.com) using Nant. Can somebody provide me with a sample or some hints to start from ?? >> >> > Personally, I've taken to invoking aspnet_compiler via the NAnt exec > task. In my case, it gets tricky because the project is dependent upon > other .dlls that are also being built in the primary (non-web) > solution. I wound up having to build twice, once with the NAntContrib > msbuild task, which copies over the shared .dlls, and the second time > with aspnet_compiler, to create the clean tree for inclusion in our > installation kit. I'm not sure if there's a better way. > > Gary > > > > > ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users