problem | |
c# idiot fucken error!!! (microsoft SUCKS) --------------------------- The current project settings specify that the project will be debugged with specific security permissions. In this mode, command line arguments will not be passed to the executable. Do you want to continue debugging anyway? [Yes] [No] --------------------------- | |
difficulty level | |
3/10 :| | |
compatibility | |
vs2008 .net 2.5 | |
solution | |
- open the properties of the application - go to at security tab - click "Enable ClickOnce security settings" - select "This is a partial trust" (at the end you may turn it back) - Under all these, there is a button "Advanced" where it is not displayed sometimes if your monitor has lo resolution, scroll down to see it, press it and there you may find the settings if you with to use this "permission set" on debug execution. If you selected to use this settings you cannot use the specified command line arguments at "debug" tab of the parameters (one more reason why Microsoft sucks). Your application will use the command line arguments finally in "release" version. Who fucks Microsoft anyway, add some code to feed your application with the command line argument from inside your code. This is not so professional but with Microsoft we can't be professionals anyway! - SAVE the parameters window and then ReBuild! |
Developing with CSharp many time you feel a strange feeling... then feeling of lost and how to solve it. Fortunately MSDN has done a good work to help the developers. .net offers thousand ways to do several things! This is the worst thing… because, you do not know where to start from and what works in real world! I hope to help you with your CSharpache.
Tuesday, 28 June 2011
Design time error: In this mode, command line arguments will not be passed
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment