App_Code output not included in setup

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi,

I have a web project, that includes an App_Code folder - code in this folder
gets built into a dll, but I have no control over the name of this dll.

If I create a web setup project, all the content files, and the dll's from
any libraries used by my project all end up in the setup output, but the
App_Code dll does not. How do I get this dll included in the setup so it can
be installed with the rest of my code?

Thanks
Regards
John
 
the aspnet compiler builds the app code into a dll it places in the bin
folder of the target dir.

-- bruce (sqlwork.com)
 
Yes it does on my development machine, or when I do a Publish from within
Visual Studio, but if I build a Web Setup project it doesn't get included in
the project outputs, so doesn't get installed.

John
 
John,
If this kind of behavior bothers you (it bothered me!) then switch to the
Web Application Project add-in and your projects will all behave like VS.NET
2003, with a single assembly in the /bin folder.
Peter
 
If I manually publish my web site before I build the setup program, then I
can include the App_Code.dll generated by the publish in my setup.

How do I get the build of the setup program to automatically do a publish as
part of the build process ?
 
What I needed was the web deployment add-in - this combines the output dll's
into one which I can then install.

The Web Application project looks much better though, as it also allows
debugging of multiple web-projects in a solution. I'll look at porting my
project to this.

Thanks
John
 
Back
Top