App_Code output not included in setup

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
 
B

bruce barker \(sqlwork.com\)

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

-- bruce (sqlwork.com)
 
J

John

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
 
G

Guest

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
 
J

John

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 ?
 
J

John

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top