How to create own Scheduler job with Visual Web Developer (no Visual Studio - cannot create DLL)
Last Post 04/30/2009 6:57 AM by Joseph Craig. 3 Replies.
Author Messages
Jens Lemmer
Nuke Newbie
Nuke Newbie
Posts:9


--
04/29/2009 7:29 AM  

I need to create an own scheduler for DNN. Now obviously that needs to have a compiled DLL file. As I am using Visual Web Developer 2008 but not Visual Studio, I cannot compile to a DLL. I already tried the command line tool in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe but that does not work neither, it produces errors that the type or namespace DotNetNuke could not be found.

Can someone help me how I can create my own scheduler with VWD?

Joseph Craig
DNN MVP
Posts:11667


--
04/29/2009 9:58 AM  
You'll need to compile the thing. As I recall, you need to create a doWork class?

If you are getting errors with the command line compiler, it may be that you are just missing some references to the DotNetNuke DLLs.

Do you have any friends who have VS and would compile this for you?

Joe Craig, Patapsco Research Group
Complete DNN Support
Jens Lemmer
Nuke Newbie
Nuke Newbie
Posts:9


--
04/30/2009 6:48 AM  
No, I would need a way to compile it without VS. I found that csc.exe tool from Microsoft which actually is made for compiling to .DLL files even if you only have VWD. Anyways, I do not know how to handle the references to the DNN DLLs, because in the code they are actually set well (no complaints from VWD about missing references, just csc.exe complaints)..
Joseph Craig
DNN MVP
Posts:11667


--
04/30/2009 6:57 AM  
I have not used the command line compiler.  This might be a good question to ask over on the DotNetNuke forums.  More developers hang out there.

But I just did a bit of Googling and found this link.  The note about making a copy of the DotNetNuke.dll may be what you need.

Joe Craig, Patapsco Research Group
Complete DNN Support


---