Bug 56279 - [VS 2013 F#] F# windows console application project get excited with code 0 (0x0)
Summary: [VS 2013 F#] F# windows console application project get excited with code 0 (...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: 4.6.0 (15.3)
Hardware: PC Windows
: Normal major
Target Milestone: 15.3
Assignee: Bugzilla
Depends on:
Reported: 2017-05-12 10:44 UTC by Sumanta Welekar
Modified: 2017-06-05 15:15 UTC (History)
5 users (show)

Is this bug a regression?: No
Last known good build:

F# windows console application error IDE logs (3.00 KB, application/octet-stream)
2017-05-12 10:44 UTC, Sumanta Welekar

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Sumanta Welekar 2017-05-12 10:44:39 UTC
Created attachment 22119 [details]
F# windows console application error IDE logs

When we run F# windows console application it get has exited with code 0 (0x0)

##Reproducibility 100%

The program '[11760] ConsoleApplication2.exe: Program Trace' has exited with code 0 (0x0).
The program '[11760] ConsoleApplication2.exe' has exited with code 0 (0x0).

##Step to reproduce:-
1. Open File >> New >> Project
2. Click on F# >> Windows >> Console Application

Actual result :- Application should get run successfully.

Expected result :- Application get terminated with exited with code 0 (0x0).

Microsoft Visual Studio Ultimate 2013 Version 12.0.40629.00 Update 5
Microsoft .NET Framework Version 4.6.01590
More version details in below gist link

##Screen-cast link

##Logs attached
Comment 1 Joaquin Jares 2017-06-02 16:30:29 UTC
Exit code 0 in this case means that the application runs successfully and terminated. This is what a console application with a printf will do, and nothing's wrong here. Also, this is completely unrelated to xamarin.
Comment 2 Sumanta Welekar 2017-06-05 12:56:13 UTC
OK. Discuss with seniors folks and the same behavior is expected by console application.
So marking as Verified Invalid.