Total noob with Vis...
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

[Closed] Total noob with Visual Studio

13 Posts
9 Users
0 Reactions
47 Views
Posts: 91000
Free Member
Topic starter
 

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.


 
Posted : 17/01/2016 9:12 pm
Posts: 11402
Free Member
 

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


 
Posted : 17/01/2016 9:18 pm
Posts: 0
Free Member
 

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]


 
Posted : 17/01/2016 9:22 pm
Posts: 1
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.


 
Posted : 17/01/2016 9:23 pm
Posts: 5686
Full Member
 

Ironically. Technicallyinept is bang on.


 
Posted : 17/01/2016 9:48 pm
Posts: 91000
Free Member
Topic starter
 

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!


 
Posted : 18/01/2016 9:52 am
Posts: 0
Free Member
 

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


 
Posted : 18/01/2016 11:09 am
Posts: 0
Free Member
 

molgrips - do you wear glasses ?


 
Posted : 18/01/2016 11:10 am
Posts: 91000
Free Member
Topic starter
 

Why?

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


 
Posted : 18/01/2016 11:29 am
Posts: 0
Free Member
 

molgrips - do you wear glasses ?
Why?

because you can't c# ...


 
Posted : 18/01/2016 4:19 pm
Posts: 0
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...


 
Posted : 18/01/2016 4:22 pm
Posts: 31206
Full Member
 

Ah programmer jokes. 😆


 
Posted : 18/01/2016 4:36 pm
Posts: 13594
Free Member
 

“Knock, knock.”

“Who’s there?”

very long pause….

“Java.”

😮


 
Posted : 18/01/2016 4:44 pm
Posts: 91000
Free Member
Topic starter
 

because you can't c# ...

Oh for fu..... Argh


 
Posted : 18/01/2016 4:47 pm

6 DAYS LEFT
We are currently at 95% of our target!