Hey
I just bought a new module + source which im trying to configure. Now it comes with all the .ascx , .vb files etc. I have added them into a new module in a new website in Visual Studio. Here is my problem which I cant seem to get around:
In the install directory is a .dll for the module. (I dont see why I would need this as I have the source and would only be compiling .dll files later on?) Anyways, if i dont add it under my bin directory, it gives me errors for every .ascx file "Could Not Create Type:" blah blah, the same error as when your namespace is wrong. I have double and triple checked that my .ascx INHERITS property is set correctly, and also that the .VB file has the same namespace and also file name etc. I even tried changing namespaces with no luck
<%@ Control language="vb" Inherits="DotNetNuke.jb_ClassifiedsSearch" CodeBehind="jb_ClassifiedsSearch.ascx.vb" AutoEventWireup="false" Explicit="True" %>
Namespace DotNetNuke
Public MustInherit Class jb_ClassifiedsSearch
Now, as soon as I add this .dll into the bin folder, these namespace issues dissapear. but now a NEW error appears. Many methods are now being detected as ambigious (Prolly cause its detecting the methods in the .dll AND the source code files) However, I cant access these methods, when I try DotNetNuke.jb_Utility. for example. I try be specific and call the methods from the actual source code, but its not picking it up. Almost like a conflict.
Any ideas?
Do I need the .dll in the first place?
Why is it when I change the namespace from DotNetNuke (the way it came) to for example 'AA' it doest work. Like the namespace is wrong, yet I know ive typed it in correctly. Are these source files somehow dependant on the .dll?