Viewing 14 posts - 1 through 14 (of 14 total)
  • Total noob with Visual Studio
  • molgrips
    Free Member

    Sorry guys – have not got time to train myself in VS, so I thought I’d ask here in case anyone’s feeling charitable.

    I’ve installed it, got a .cs file from someone which contains a Main method. However the run icon only contains an ‘attach to process’ option and the debug option is greyed out. I want to step through it to see what it does and where it’s failing.

    Klunk
    Free Member

    I would help but I only use VS for grown up languages.

    whatnobeer
    Free Member

    I think you might have to tell it which file you want to run.

    Try this

    technicallyinept
    Free Member

    Trying creating a c# console app. It should scaffold a file with a ‘main’ method. Replace that file with the one you have, build it and try running it, adding breakpoints where you want.

    toby1
    Full Member

    Ironically. Technicallyinept is bang on.

    molgrips
    Free Member

    Ah yes apparently I can’t run the cs file in isolation, it needs a project. I have the author of the code sending me his. Thanks!

    TurnerGuy
    Free Member

    project files must be a completely alien concept to someone who programs in Java…

    TurnerGuy
    Free Member

    molgrips – do you wear glasses ?

    molgrips
    Free Member

    Why?

    PS I’ve worked with loads of things besides Java over the years 🙂

    TurnerGuy
    Free Member

    molgrips – do you wear glasses ?
    Why?

    because you can’t c# …

    allthegear
    Free Member

    molgrips – do you wear glasses ?
    Why?
    because you can’t c# …

    that might have been a little cruel but, damn, it was funny…

    GrahamS
    Full Member

    Ah programmer jokes. 😆

    footflaps
    Full Member

    “Knock, knock.”

    “Who’s there?”

    very long pause….

    “Java.”

    😮

    molgrips
    Free Member

    because you can’t c# …

    Oh for fu….. Argh

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘Total noob with Visual Studio’ is closed to new replies.