Home Dashboard Directory Help
Search

Visual Studio 11 - Start options/Command line arguments by Svein Blad


Status: 

Closed
 as By Design Help for as By Design


1
0
Sign in
to vote
Type: Bug
ID: 736167
Opened: 4/10/2012 1:06:22 AM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

The command line arguments specified in the Start options of the startup project in a solution are not visible trough Environment.GetCommandLineArgs( )
Details
Sign in to post a comment.
Posted by Microsoft on 4/13/2012 at 2:23 PM
Thanks for your feedback. The hosting process is a performance optimization for debugging start. Sometimes it can cause issues, and in cases like this we recommend disabling it.
Posted by Svein Blad on 4/11/2012 at 12:31 AM
Hi,

I've found out that this bug only applies to my project if I enable the Visual Studio hosting process.

When unchecking this option, the Environment.GetCommandLineArgs( ) yields the correct result.

Regards,
Svein Blad
Posted by MS-Moderator10 [Feedback Moderator] on 4/10/2012 at 4:14 AM
Hi Svein,

Thanks for your feedback. But we are unable to reproduce the issue with the steps you provided. Could you please give us a demo project and some screenshots to help us reproduce this scenario?

Thanks.
Microsoft Visual Studio Connect Support Team
Posted by MS-Moderator01 on 4/10/2012 at 3:48 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.