Menu

Problems with compiling DotNetWikiBot

Help
MC Klaus
2007-02-10
2013-05-13
  • MC Klaus

    MC Klaus - 2007-02-10

    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..

     
    • MC Klaus

      MC Klaus - 2007-02-10

      OK problem fixed - i just created a new project in Vistual Studio Express and added both source files & the necessary references - works now :)

       
    • Seth Rees

      Seth Rees - 2009-02-28

      Can you link to the download? I checked the Downloads page and couldn't find it.

       
    • Seth Rees

      Seth Rees - 2009-02-28

      "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.

       
      • CodeDriller

        CodeDriller - 2009-02-28

        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 ...

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.