question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

What sets the command line arguments in Properties/Debug/Start options?

See original GitHub issue

I’m trying to remove the command line arguments in Properties/Debug/Start options but each time I delete it, when the project rebuilds it’s re-assigned. What setting affects this and how do I keep it blank?

Untitled

I’ve tried editing the ExcelDna.Build.props file by commenting out the following lines but these don’t appear to affect it


<!--<RunExcelDnaSetDebuggerOptions Condition="'$(RunExcelDnaSetDebuggerOptions)' == ''">true</RunExcelDnaSetDebuggerOptions>-->
<!--<ExcelDnaExcelExePath Condition="'$(ExcelDnaExcelExePath)' == ''"></ExcelDnaExcelExePath>-->
<!--<ExcelDnaAddInForDebugging Condition="'$(ExcelDnaAddInForDebugging)' == ''"></ExcelDnaAddInForDebugging>-->

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
cirrusonecommented, Aug 20, 2020

Thanks, that’s working.

I’m testing with both 32bit and 64bit Excel on the same PC so the command line arguments sometimes get in the way depending on what I’m testing.

0reactions
augustoproietecommented, Mar 18, 2021

@PhilippeRaemy Thanks. FYI in the next version of Excel-DNA opening a new Excel instance will be the default behavior (i.e. the /x will be added for you automatically). See https://github.com/Excel-DNA/ExcelDna/pull/344

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debugging with command line arguments in Visual Studio ...
Net builds, open project properties and select the Debug tab. Command line args can be added under the 'Start Options' section. For native ......
Read more >
Command Line Arguments in C/C++
They are parameters/arguments supplied to the program when it is invoked. They are used to control programs from outside instead of hard coding ......
Read more >
Command-Line Arguments (The Java™ Tutorials ...
A Java application can accept any number of arguments from the command line. This allows the user to specify configuration information when the...
Read more >
What are good habits for designing command line ...
If your CLI app is intended for Linux/Unix use the -p value or --parameter value convention. Linux has tools for parsing such parameters...
Read more >
Changing Command-Line Arguments in Bash
Again, set assigns new values to the positional parameters, effectively changing the command-line arguments. In particular, ${@:1:3} ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found