views:

20

answers:

0

Hi,

I am using nant to compile and publish my web applications and am unsure whether to use nantconribs msbuild task or aspnet_compiler.exe.

I have a number of projects in my solution for business logic and data access.

When msbuild runs it compiles the solution and outputs to my /dist/ folder. All the dlls are in the root of this folder with an _publishedwesites subfolder which has the published web application in it. (on a side note, how would I just have the published web app in the root of /dist and not the dlls?)

using aspnet_compiler.exe publishes the web app to the root of /dist/ and in the bin folder where there are a couple of new dlls with compile in their name which are the compiled code behind.

My question is which solution should I be using. Does msbuild precompile the published web application like aspnet_compiler.exe does?