473,405 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

App_Code output not included in setup

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
Oct 27 '06 #1
6 4258
the aspnet compiler builds the app code into a dll it places in the bin
folder of the target dir.

-- bruce (sqlwork.com)

"John" <jo******@yahoo.co.ukwrote in message
news:er****************@TK2MSFTNGP05.phx.gbl...
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

Oct 27 '06 #2
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
"bruce barker (sqlwork.com)" <b_*************************@sqlwork.comwrote
in message news:%2******************@TK2MSFTNGP02.phx.gbl...
the aspnet compiler builds the app code into a dll it places in the bin
folder of the target dir.

-- bruce (sqlwork.com)

"John" <jo******@yahoo.co.ukwrote in message
news:er****************@TK2MSFTNGP05.phx.gbl...
>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


Oct 27 '06 #3
You could manually compile the helper files you have in App_Code,
and place *that* in the /bin directory.

The Web setup project *will* pick it up.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"John" <jo******@yahoo.co.ukwrote in message news:ee****************@TK2MSFTNGP05.phx.gbl...
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
"bruce barker (sqlwork.com)" <b_*************************@sqlwork.comwrote in message
news:%2******************@TK2MSFTNGP02.phx.gbl...
>the aspnet compiler builds the app code into a dll it places in the bin folder of the target dir.

-- bruce (sqlwork.com)

"John" <jo******@yahoo.co.ukwrote in message news:er****************@TK2MSFTNGP05.phx.gbl...
>>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



Oct 27 '06 #4
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

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"John" wrote:
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
Oct 27 '06 #5
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 ?

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comwrote in message
news:C8**********************************@microsof t.com...
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

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"John" wrote:
>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

Oct 30 '06 #6
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

"John" <jo******@yahoo.co.ukwrote in message
news:Of**************@TK2MSFTNGP02.phx.gbl...
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 ?

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comwrote in message
news:C8**********************************@microsof t.com...
>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

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"John" wrote:
>>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


Oct 30 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: AZ | last post by:
During the Pre-compile process of an ASP.Net 2.0 app, it compiles the code-behind & optionally the presentation files into an assembly named App_Code.dll. Can that not be renamed to a more project...
3
by: Howard | last post by:
I have two websites that basically use the same data access layer. the code in the app_code folder are identical for these two website. Each has a different presentation layer (html stuff). It's a...
5
by: sck10 | last post by:
Hello, I am trying to add the following to a App_Code class. The error I am getting references "Page.Controls". I would like to call this from my content page which uses MasterPages I read...
2
by: pradeep_TP | last post by:
Hello, I am trying to use APP_CODE folder for all my class files under VS 2005. After adding APP_CODE in the solution explorer, I added a new web page by right clicking project and selecting add...
9
by: rn5a | last post by:
Is putting a VB class file in the special directory named App_Code the same as relocating the VB class file from the App_Code directory to another directory & then using the VBC tool, compiling the...
1
by: matt.merchant | last post by:
All, When publishing a site with the "Used Fixed Naming and Single Page Assemblies" option checked, only one of my two App_Code folders are compiled into .DLL's. The original code (DotNetNuke...
1
by: =?Utf-8?B?S2VpdGggRHVQb250?= | last post by:
I have created a setup project for a forms application that I will be deploying in the near future. I have added the primary output to the setup project and all dependencies have been correctly...
0
by: TonyBushell | last post by:
Hi All, I need some help with the following: I am building a CMS to bolt onto an existing website. The CMS will be uploaded to the existing site off a folder say CMS_ADMIN/ for example. ...
0
by: Alexis Christoforides | last post by:
Hello everyone, I've been trying to have increasingly complex XSD Schemas in the App_Code folder of my application, but it seems that I cannot easily use the <xsd:includeelement to have any sort...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.