Freitag, 27. August 2010

C# Coding: Errors and Solutions

These are just some small Problems and their solutions i encountered so far in C#:

  • Situation: Creating a C# Console Application
  • Error Message [English]: "The type or namespace name
    'Windows' does not exist in the namespace 'System' (are you missing an
    assembly reference?)"
  • Error Message [German]: "Der Typ oder Namespacename 'Windows' ist in der Klasse oder dem Namespace 'System' nicht vorhanden (fehlt ein Assemblyverweis?)"
  • Solution: You need to add the file "System.Windows.Forms.dll" as a reference to your project (Right click on references -> Add Reference -> .net tab)

Keine Kommentare:

Kommentar veröffentlichen