none
Toolbar shows "Attach," instead of "Start"

    Question

  • A tutor was helping me with an assignment and gave me a link to the work he did. It opened fine in Visual Studio, but I am not able to run it because there is no option to Start and it is grayed out. "Attach" is there instead. I don't know what happened. Any help is appreciated. Thank you
    Thursday, February 16, 2017 1:35 AM

All replies

  • Were you able to build the solution successfully?
    Thursday, February 16, 2017 2:12 AM
  • Probably you opened a source file (.cs) instead of project or solution. If you see several files, then look for ones having .sln or .csproj extension, or ask the tutor for help. You can also create yourself a new project in Visual Studio, then paste the relevant fragments of the given code.

    Thursday, February 16, 2017 6:01 AM
  • Hi BobDoorbell,

    Thank you for posting here.

    According to your question is more related to Visual Studio, I will move it to Visual Studio General Questions forum for suitable support.

    The Visual C# discuss and ask the C# programming language, IDE, libraries, samples and tools.

    If you have some grammar or code errors, please feel free to contact us. We will try our best to give you a solution.

    Thanks for your understanding and cooperation.

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, February 17, 2017 6:58 AM
  • Hi BobDoorbell,

    According to your description, please create a new project, such as console project, to see whether has the same issue.

    And please open a completely project, when you open the project please choose .sln file such as the following screenshot:

    Please remember to mark any useful reply, thank you very much. :)

    Sincerely,

    Oscar


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, February 20, 2017 2:03 AM
    Moderator