Geeks With Blogs

Soppa Group India
iSmart Panache Inc
R Systems Internationals Ltd
Technovate eSolutions Pvt Ltd
The contents of this blog are my personal opinion and do not represent in any way the view of my employer.
These postings are provided "AS IS" with no warranties, and confer no rights.

Google PR™ - Post your Page Rank with

Narendra Tiwari

We get several assemblies (start with App_*) rather than a single assemblies in bin\ folder in ASP.Net Precompiledweb compilation mode.
Website Compilation in .Net Framework 2.0 with MSBuild Script in this post I wrote how to compile the website through MSBuild script.

Now following commandline shiped with Visual Studio 2005 Web Deployment Projects (Beta Preview), which helps us to merge all the assemblies in a single assembly.

Add following “merge_exe_path” Property in PropertyGroup and Target “Merge” in the script I posted earlier, and call the Target in Main Task.

<Project DefaultTargets="Main" xmlns="
  <Target Name="Main">
    <CallTarget Targets="Merge"/>
  <Target Name="Merge">
    <Exec Command="$(merge_exe_path) -copyattrs -o CSnVB.dll $(PrecompiledAssembliesPath)" />

> merge_exe_path is the fullpath of aspnet_merge.exe
> PrecompiledAssembliesPath is the path of the output folder where \Bin folder resides and not the path of bin folder.


Posted on Friday, February 10, 2006 1:21 PM | Back to top

Comments on this post: Merge the assemblies generated through Precompiled Web

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Narendra Tiwari | Powered by: