User372121194 posted
Hi,
In your case, we can try to add the Web Deployment Project to your solution to precompile this website and then add the compiled output of this Web Deploy project to your web setup project.
If you do so, we need to add the Web Deployment Project in Visual Studio 2005. We can download and install it from
http://msdn.microsoft.com/en-us/asp.net/aa336619.aspx.
You also can refer to
http://weblogs.asp.net/scottgu/archive/2005/11/06/429723.aspx.
I look forward to hearing from you.