I have been struggling with this all day
My code runs fine and works OK but when I try to publish my site it fails with error :
Object reference not set to an instance of an object.
No File name or line information
The output window has the following
Building directory '/DotNetNuke/App_GlobalResources/'.
Building directory '/DotNetNuke/App_Code/Reports/'.
Building directory '/DotNetNuke/App_Code/GR_Marquee/'.
Building directory '/DotNetNuke/App_Code/GR_EMail/'.
Building directory '/DotNetNuke/App_Code/GuestBook/'.
Building directory '/DotNetNuke/App_Code/'./: Publication (web): Object reference not set to an instance of an object.
Pre-compilation Complete
------ Skipped Publish: Project http://localhost/DotNetNuke/, Configuration: Debug .NET ------
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
========== Publish: 0 succeeded, 0 failed, 1 skipped ==========
-
It looks to me as if its trying to compile the App_Code directory - why there isnt anything there???
I have followed Michael Washingtons tutorials and cant see what I have done wrong
The config has the following in it
<codeSubDirectories
>
<add directoryName="Reports" />
<add directoryName="GR_Marquee" />
<add directoryName="GR_EMail" />
<add directoryName="GuestBook" />
these appear in the codeSubDirectories in the compilation section of the config
Most confused as I dont know how they got there