ClickOnce Deployment - No Modules loading

Topics: CAB & Smart Client Software Factory
Jan 7, 2006 at 3:16 PM
originally posted by: RichJohn123

My application runs fine when debugging in VS2005. I am able to publish as a full trust application it to a remote server and install. However when I run the application after it installs, my shell opens with none of the Modules that are defined in the ProfileCatalog loaded.

There are no exceptions being thrown.

Has anyone experienced this before?

Thanks

Rich
Jan 7, 2006 at 3:31 PM
originally posted by: mhildner

Did you set up the Application files (set to Include) as outlined in the HOL? Is profile catalog getting deployed ok?

Mike
Jan 10, 2006 at 4:13 PM
originally posted by: rxd9507

Yes, I had the same issue but I realized that ProfileCatalog.xml was not set for Copy always.
Right click on ProfileCatalog.xml file and under "Copy to output directory" set "copy always".
Regards,
RxD
Jan 11, 2006 at 7:01 AM
originally posted by: RichJohn123

It was a problem with the ProfileCatalog.xml file not being deployed correctly. I did have it set to 'copy always' but for some reason when I opened up the list of application files on the publish tab, it had a yellow triangle next to it with a warning saying it was no longer included in the project. I had to excluded it from the project, and then add it back using 'Add Existing'.

This fixed the issue.

Thanks for your response.

Rich