You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more
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.
I would help but I only use VS for grown up languages.
I think you might have to tell it which file you want to run.
[url= https://msdn.microsoft.com/en-us/library/a1awth7y.aspx ]Try this[/url]
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.
Ironically. Technicallyinept is bang on.
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!
project files must be a completely alien concept to someone who programs in Java...
molgrips - do you wear glasses ?
Why?
PS I've worked with loads of things besides Java over the years 🙂
molgrips - do you wear glasses ?
Why?
because you can't c# ...
molgrips - do you wear glasses ?
Why?
because you can't c# ...
that might have been a little cruel but, damn, it was funny...
Ah programmer jokes. 😆
“Knock, knock.”
“Who’s there?”
very long pause….
“Java.”
😮
because you can't c# ...
Oh for fu..... Argh