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 6 4295
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******** ********@TK2MSF TNGP05.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
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_************ *************@s qlwork.comwrote
in message news:%2******** **********@TK2M SFTNGP02.phx.gb l...
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******** ********@TK2MSF TNGP05.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
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******** ********@TK2MSF TNGP05.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_************ *************@s qlwork.comwrote in message
news:%2******** **********@TK2M SFTNGP02.phx.gb l...
>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******** ********@TK2MSF TNGP05.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
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
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*******@yaho o.nospammin.com wrote in message
news:C8******** *************** ***********@mic rosoft.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
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******** ******@TK2MSFTN GP02.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*******@yaho o.nospammin.com wrote in message
news:C8******** *************** ***********@mic rosoft.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 friendly name, such
as ProjectName.dll or something. I didnt see any parameters to be able to
choose the output assembly name.
|
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 lot of work keeping the
two up to date when making changes in the data access layer.
Im wondering if there is a way to let two websites share the same app_code
or something to that effect.
Has anyone done this
Is this even possible? If so how do...
|
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 the following from Steven Cheng, but am having a hard time following:
In ASP.NET 2.0, the pages and usercontrols and their codebehind classes are
dynamically compiled at runtime. However, the dynamic compilation is
possible to compile the page or...
|
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 new item. I expected the code
behind file (Default.aspx.cs) to automatically go under APP_CODE folder, but
it didnt. I tried to drag and drop the code behind file into the APP_CODE
folder. I also changed the page directive to the following:
...
|
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 VB class
file into a DLL & putting the DLL in the bin directory?
Though while running an ASP.NET app using either of the 2 approaches
doesn't make any difference, Visual Web Developer 2005 Express Edition
behaves erratically sometimes if the...
| |
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 portal) included
the one folder which is compiling, the folder I added is not being
compiled.
Is there a .config file that I have to modify for the compiler to
recognize the second folder.
|
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 identified and included in
the setup. Initial deployment on a workstation works fine all files being
deployed to the correct location (C:\Program Files\Company Name\Application
Name\).
The problem I am seeing occurs when I attempt to deploy an...
|
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.
During the build stages of the CMS, the master pages and classes in
the app_code folder are all referencing okay and working as expected.
|
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 of structure.
First I was getting a 'Type not defined' error, which after
investigating was just because the includes were being ignored. This
turned out to be because the 'schemaLocation' attribute could not be
used to reference other files...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |