Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

New and Learning, but Cannot get code to compile with CSC.EXE

$
0
0

I drew two buttons on a form, got it to run in SharpDevelop, but for the sake of learning, I want to get it to run in CSC.EXE

Here is the code    http://pastebin.com/raw.php?i=a1Qrxhr9

 

But I get this error when I try to compile it with csc

C:\blah>csc picprog.cs

Microsoft (R) Visual C# Compiler version 4.0.30319.18408

for Microsoft (R) .NET Framework 4.5

Copyright (C) Microsoft Corporation. All rights reserved.

picprog.cs(26,4): error CS0103: The name 'InitializeComponent' does not exist in  the current context

C:\blah>


Viewing all articles
Browse latest Browse all 1764

Trending Articles