473,395 Members | 1,720 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,395 software developers and data experts.

Not all folders in App_Code are compiling

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.

Here is the output from my compilation:

------ Build started: Project: http://localhost/DNN4/, Configuration:
Debug .NET ------
Pre-compiling Web Site

Building directory '/DNN4/App_GlobalResources/'.
Building directory '/DNN4/App_Code/Reports/'.
Building directory '/DNN4/App_Code/'.
Pre-compilation Complete
------ Publish started: Project: http://localhost/DNN4/, Configuration:
Debug .NET ------
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped
==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

The /DNN4/App_Code/ folder should also include a /BugButcherTest folder
and associated DLL, but does not.

Thoughts / comments appreciated.

Thanks -

Matt

Dec 5 '06 #1
1 3704
Found the solution...

Each folder (and subfolder) in App_Code must be entered in the
<compilation><codeSubDirectoriessection in the web.config file.

Matt

ma***********@gmail.com wrote:
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.

Here is the output from my compilation:

------ Build started: Project: http://localhost/DNN4/, Configuration:
Debug .NET ------
Pre-compiling Web Site

Building directory '/DNN4/App_GlobalResources/'.
Building directory '/DNN4/App_Code/Reports/'.
Building directory '/DNN4/App_Code/'.
Pre-compilation Complete
------ Publish started: Project: http://localhost/DNN4/, Configuration:
Debug .NET ------
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped
==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

The /DNN4/App_Code/ folder should also include a /BugButcherTest folder
and associated DLL, but does not.

Thoughts / comments appreciated.

Thanks -

Matt
Dec 8 '06 #2

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

Similar topics

2
by: Bob Hanson | last post by:
Hello All, I noticed in the ASP.NET beta 2 that we have more special folders. Can I get some clarification regarding these folders? I am just making sure of the intent. Thanks in advance, ...
2
by: Johnny Meredith | last post by:
Warning: Tenderfoot I'm playing around with ASP.Net 2.0 b2. The web app I've created has a default, login, recovery, etc. pages in the root and two folders accessible to authenticated users...
11
by: Steve Franks | last post by:
I'm using VS.NET 2005 Beta 2. I have a helper C# class I wrote that I placed in my /App_Code directory. Everything runs fine locally. However when I use the "Copy Web" function to upload the site...
2
by: Alan Silver | last post by:
Hello, I have a custom control that is inside a DLL. Until now, I have had the source file for this DLL in a development folder on my machine, and I've been compiling it using csc on the command...
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...
7
by: Rusty Hill | last post by:
I have a base class that contains code for the profile object that works fine when the code is not in a file within the App_Code folder. Once I put the code into the App_Code folder it will no...
5
by: Randy | last post by:
I've converted a VS 2003 project to VS 2005. I have one utility class that it put in the APP_CODE directory. When I try and compile I'm getting this error... Error 1 The type or namespace name...
1
by: alqui | last post by:
Hi, I'm actually trying to resolve a simple problem. I'm trying to build my Web site. The structure of the Web site looks like that : /Element /Element/App_Code /Element/Admin...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.