Hi, I am experiencing the following: I am using DNN 4.0, dot net 2.0 and VS 2005. I followed the post on dotnetnuke.com on how to set up a development copy of DNN using the start kit and templates. I then walked through the instructions on how to build a custom module in 4.0 on the same post. In the end everything worked fine, the portal works and the module works.
The problem is that in the modules that I am trying to develop I need to use resources files stored in the app_globalresources. After I add a file to the app_globalresources I should be able to referencec the files by using Resources.[file name] but I cannot, it will not pick up the files. I then created a "hello world" web project using vs 2005 and tried a similar task and it WORKED accesing the resource files using Resources.[file name]. I then opened the DNN source code project and that worked too. I then looked through the source code of DNN and found that there is a file called localization.vb that sets the location of the Resource location. I then checked the defination of Resources in the DNN source and my "hello world" application and the defination points to the app_globaldefination. I then looked at the defination in the DNN 4.0 templated project that I built using the DNN templates and the defination of Resources points to msccorlib.system.resources!!!
Is there a problem with the DNN 4.0 templates where it does not correctly set this? I only experience this when I build a DNN portal using the 4.0 templates. Has anyone else experienced this problem? This is severly hampering my ability to develop anything with DNN 4.0.
Thanks in advance.
Nate