When I try to use the Compile & Run.bat, I get the following error message:
fatal error CS0009: Metadata file 'c:\Dokumente und
Einstellungen\Hada\Desktop\dot_net_wiki_bot\DotNetWikiBot.dll' could not
be opened -- 'Error importing module 'BotInfo.netmodule' of assembly
'c:\Dokumente und
Einstellungen\Hada\Desktop\dot_net_wiki_bot\DotNetWikiBot.dll' -- Das
System kann die angegebene Datei nicht finden. '
Note I had to change the bat file to include the c# compiler folder (c:\windows\microsoft.net\...), since changing the path variable didn't seem to work. Do I have to copy the DotNetWikiBot.dll to any special folder in order for it to work?
Any help would be appreciated, thanks for the work on DotNetWikiBot anyways..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"C:\Documents and Settings\max rees\My Documents\Downloads\DotNetWikiBot_2.55 (1)
>csc BotScript.cs /debug:full /o- /reference:DotNetWikiBot.dll
'csc' is not recognized as an internal or external command,
operable program or batch file.
C:\Documents and Settings\max rees\My Documents\Downloads\DotNetWikiBot_2.55 (1)
>BotScript.exe
'BotScript.exe' is not recognized as an internal or external command,
operable program or batch file.
C:\Documents and Settings\max rees\My Documents\Downloads\DotNetWikiBot_2.55 (1)
>pause
Press any key to continue . . ."
I got the above now.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In order to compile the .cs file, you must either include the path to your C# compiler "csc.exe" into your Windows PATH environment variable, or manually insert the path to your C# compiler into "Compile & Run.bat" file.
For example:
C:\Program Files\Microsoft.NET\SDK\v2.0\bin\csc.exe BotScript.cs
/debug:full ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I try to use the Compile & Run.bat, I get the following error message:
fatal error CS0009: Metadata file 'c:\Dokumente und
Einstellungen\Hada\Desktop\dot_net_wiki_bot\DotNetWikiBot.dll' could not
be opened -- 'Error importing module 'BotInfo.netmodule' of assembly
'c:\Dokumente und
Einstellungen\Hada\Desktop\dot_net_wiki_bot\DotNetWikiBot.dll' -- Das
System kann die angegebene Datei nicht finden. '
Note I had to change the bat file to include the c# compiler folder (c:\windows\microsoft.net\...), since changing the path variable didn't seem to work. Do I have to copy the DotNetWikiBot.dll to any special folder in order for it to work?
Any help would be appreciated, thanks for the work on DotNetWikiBot anyways..
OK problem fixed - i just created a new project in Vistual Studio Express and added both source files & the necessary references - works now :)
Can you link to the download? I checked the Downloads page and couldn't find it.
Current version is located at:
http://downloads.sourceforge.net/dotnetwikibot/DotNetWikiBot_2.55.zip
"C:\Documents and Settings\max rees\My Documents\Downloads\DotNetWikiBot_2.55 (1)
>csc BotScript.cs /debug:full /o- /reference:DotNetWikiBot.dll
'csc' is not recognized as an internal or external command,
operable program or batch file.
C:\Documents and Settings\max rees\My Documents\Downloads\DotNetWikiBot_2.55 (1)
>BotScript.exe
'BotScript.exe' is not recognized as an internal or external command,
operable program or batch file.
C:\Documents and Settings\max rees\My Documents\Downloads\DotNetWikiBot_2.55 (1)
>pause
Press any key to continue . . ."
I got the above now.
In order to compile the .cs file, you must either include the path to your C# compiler "csc.exe" into your Windows PATH environment variable, or manually insert the path to your C# compiler into "Compile & Run.bat" file.
For example:
C:\Program Files\Microsoft.NET\SDK\v2.0\bin\csc.exe BotScript.cs
/debug:full ...