Not all folders in App_Code are compiling

M

matt.merchant

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
 
B

BugButcher

Found the solution...

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

Matt
 

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

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top