locked
Visual Studio Mac 2017 create executable file RRS feed

  • Question

  • Hello everybody,

    I just played something with Visual Studio for Mac and could
    create a first console application. 

    Unfortunately, I find in the folder "/ Bin / Debug" or "/ bin / release" is only a "test.exe" file. 
    Is there a Possibility to create an app for Mac OS X that I can use for testing on other Mac Computers or send to a friend?

    Thanks in advance,

    Best greatings Thommy
    Wednesday, March 8, 2017 5:00 PM

All replies

  • Hi Thommy,

    I think you have created a console project for .net core, in my Mac I have encountered the same issue as yours.

    And in Windows OS, the console application could also not be built as .exe file, it is .dll file too.

    But we could run it with command line (dotnet command) in windows. Please refer to the following step:

    1). Open the command line for VS2015:

    2). Type dotnet yourconsole.dll, please refer to the following screenshot:

    You could try above steps in Mac to see whether it is works.

    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.


    • Edited by Oscar_Wu Thursday, March 9, 2017 6:18 AM
    • Proposed as answer by Oscar_Wu Friday, March 10, 2017 8:24 AM
    Thursday, March 9, 2017 6:17 AM
  • Hi friend,

    If my reply help you resolved your doubts, please remember to mark it, which could be helpful for others. If not, please feel free to let me know.

    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, March 13, 2017 1:48 PM