Andrew Stopford's Weblog

poobah

Sponsors

News

Articles

Family

Old Blogs

aspnet_compiler pain

Ever tried to use aspnet_compiler to compile your website? I tried it on a known good VS2005 building set of source, works a treat. I then tried on clean set of source (not been built before) and it bombs out, the aspnet_compiler is not getting referancing the target.dll files and getting the latest set of dll's before it starts a compile. I am using the release version of .NET so am I missing something here or is time to visit betty bug again.

Comments

Plip said:

Are you compiling directly on the command line or from within VS.NET ?
# November 18, 2005 10:29 AM

Plip said:

Are you compiling directly on the command line or from within VS.NET ?
# November 18, 2005 10:29 AM

Robert W. Anderson said:

Definitely bugs. I haven't been able to figure out what causes this, but something triggers:
referenced DLLs being ignored (i.e., deleted from web.config)
DLLs being added when they are not explicitly referenced.
DLLs being added to the project (for source control) when they shouldn't be.
Certainly frustrating.
# November 18, 2005 10:31 AM

Andy Stopford said:

Running from the command line Phil.
# November 18, 2005 10:38 AM

Robert W. Anderson said:

BTW: I don't think it matters how you are building it -- I think the IDE is messing up the web.config file.
# November 18, 2005 11:05 AM

BradleyB said:

You might want to checkout Web Deploymnet Projects. http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/default.aspx

It does integrate into the IDE but it also fully supports command line MSBuild. It will honor the .refresh files and any project to project references that are part of the website.
# November 18, 2005 1:28 PM