Josephur
-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Applications
Posts posted by Josephur
-
-
Since I reformatted it seems to be fixed, now when I try and validate that code I get the correct message:
'Ketarin.ApplicationJob' does not contain a definition for 'Filename'
-
I looked on MediaWiki's page and there is an extension so that you can syntax highlight source code.. aparently the Ketarin Wiki is lacking this feature? I posted a C# example on the Wiki to complete the example section that was missing but had to use the pre tag instead of the <source lang=csharp></source>
Please see: http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi/de
-
Can we please get a sub form for custom Batch/C# scripts? Would be very nice...
-
Very reproducable bug:
When you made C# code such as ...
MessageBox.Show(app.Filename); (this is invalid as app.Filename does not evaluate)
The file will download to 100%, then start all over again, and again, and again, and again... etc
-
Issue resolved, Ketarin is not as friendly as Visual Studio when dealing with line breaks.
Make sure all of your code is on a single line for things such as:
using (System.IO.StreamWriter outfile = new System.IO.StreamWriter("test.bin" + @".md5"))
and not
using (System.IO.StreamWriter outfile =
new System.IO.StreamWriter("test.bin" + @".md5"))
-
I've been trying for an hour now to get a small snippet of C# code to execute after downloading a file, but to no avail :/
I even dumbed my code down to the point that it should not fal, alas no success.
I would love to get C# code working and even provide the wiki with some example code on whats possible to do with it, but I cant even get a simple write to file snip to work.
It works fine when compiled in a C# compiler.. such as Visual Studio 2010.
Code is as follows:
using (System.IO.StreamWriter outfile =
new System.IO.StreamWriter("test.bin" + @".md5"))
{
outfile.Write("MD5_GOES_HERE");
}
C# code not working?
in Bugs
Posted
I never recieved any errors, however ... again now that I've reformatted this seems to be working as well.. I have no idea what the heck is going on, LOL