Print Page | Close Window

[SOLVED] Firing the Infrastructure.Foundation assembly

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=367
Printed Date: 12-Jun-2026 at 1:26am


Topic: [SOLVED] Firing the Infrastructure.Foundation assembly
Posted By: Linguinut
Subject: [SOLVED] Firing the Infrastructure.Foundation assembly
Date Posted: 13-Aug-2007 at 11:28am
Thought I would break this out into a separate thread...
 
I am a little stumped at how this dll gets called.  I have not changed the section in the profile catalog file.  It is exactly the same as it is in the Cabana app.  The ShellApplication runs all the way through to the ShellForm but never fires the FoundationModule class in order to fill the workspaces.  What wires have I crossed or not connected?
 
Thanks,
Bill



Replies:
Posted By: Linguinut
Date Posted: 13-Aug-2007 at 2:48pm
The issue was that the Infrasctructure.Foundation.dll was not getting called.  It was in the profilecatalog.xml file, so the question then was, why isn't the profilecatalog.xml file being read.  I created the xml file from scratch and copied the basic structure from the Cabana app.  At that point, I figured the CAB application will read it and run the assemblies once they were found.  The problem was that the CAB could not find the profilecatalog.xml file.  The reason was that the "Copy to Output Directory" setting on the file was defaulted to "Do not copy."  The setting needed to be "Copy if newer."  Once I changed this, the app ran as expected.  The layout was loaded and my new module kicked in beautifully!
 
Wow...that took a long time to figure out.  Boy, am I dense.
Bill



Print Page | Close Window