I am trying to get used to the new 'Add Item' method of DNN 4 w/VS 2005. In converting a module from DNN 3 to DNN 4, I am getting the following error:
Error 4 'Public WriteOnly Property CreatedByUser() As String' is declared in project 'DotNetNuke.dll', which is not referenced by project '3_DesktopModules_Word_EditWord.ascx'. Add a reference to 'DotNetNuke.dll' to your project '3_DesktopModules_Word_EditWord.ascx'. This error could also be due to mixing a file reference with a project reference to assembly 'DotNetNuke. In this case, try replacing the file reference to 'DotNetNuke.dll' in project 'DotNetNuke.News' with a project reference to 'DotNetNuke.Library'. C:\websites\mysite\website\DesktopModules\Word\EditWord.ascx.vb 73 15 http://192.168.0.89/
There is not a 'references' folder any longer in the module, so I have no clue exactly where I should be adding a reference to the DotNetNuke.dll. There is already a reference to the dll in the only references file I can see, which is the DNN solution.
Could someone point me to what this error means? And where to add this reference?
One a related note, is anyone considering adding a VS Template for a DNN Module project? Like it used to be? I would try it, but I know nothing about creating VS templates, and until I understand it, it wouldn't do anyone any good anyway.
Thanks for your help. Just to be clear, I am using the DNN solution with the source download, created the DNN module with 'Add New Item', select DotNetNuke module, and the name of the Module is 'Word'. I then updated all the Edit, Info, View, etc. files with the code from my 3.x module, making the changes in the ascx files as specified elsewhere.