Ask a questionAsk a question
 

General DiscussionC# Compiler in C#

  • Wednesday, November 04, 2009 3:16 PMphpmartin Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi again,

    At first i made C# Console application.
    Now, when i got Console Application ready i made new Project, but this time Windows Form Application.
    I added one more form to this project, so, i have 2 forms in this project.
    First form is default form, there's also button, and when button click, it compiles.
    And source to compile, comes from second form. There are only public texbox. Comfortable to add source there.
    Source = Console Application source.
    And now, when i try compile it, I get errors: http://www.upload.ee/image/250285/errors.PNG

    Why my compiler fails? Same source works fine in Visual C# 2008 Express Edition.
    I hope someone can help me.

    Thanks,
    Martin

All Replies

  • Wednesday, November 04, 2009 8:41 PMOmegaManMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    It is unclear on what is transpiring....you say it compiles in in VS. Are you trying to compile it on the command line? If so I surmise you are not involving other resources an hence are getting compile errors. I suggest you learn what VS2008 is doing and replicate it on the command line.

    William Wegerson (www.OmegaCoder.Com)
  • Tuesday, November 10, 2009 6:28 AMHarry ZhuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    You might need to provide the project that can reproduce the issue .

    Harry
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Friday, November 13, 2009 4:19 AMHarry ZhuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    We are changing the issue type to “General Discussion” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by opening the Options list at the top of the post  window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.