Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set launch settings in Rider #631

Open
Myaukolka opened this issue Aug 21, 2023 · 0 comments
Open

Set launch settings in Rider #631

Myaukolka opened this issue Aug 21, 2023 · 0 comments

Comments

@Myaukolka
Copy link

While building under JetBrains Rider with both <RunExcelDnaSetDebuggerOptions> and <RunExcelDnaSetDebuggerOptionsOutsideVisualStudio> set to true, no launchSettings.json file is being created on build.
This is caused by a condition of ExcelDnaSetLaunchSettings task in ExcelDna.AddIn.targets, where it is never run if BuildingByReSharper property is set to true (which is the case for Rider). While this condition is correct for ExcelDnaSetDebuggerOptions task to never try to set Visual Studio debugger options using Rider, ExcelDnaSetLaunchSettings task should be run with respect to
<RunExcelDnaSetDebuggerOptions> and <RunExcelDnaSetDebuggerOptionsOutsideVisualStudio> properties.

Condition in question:
https://github.com/Excel-DNA/ExcelDna/blob/65693386abdda677668b934ff86f66df6eef5fef/Package/ExcelDna.AddIn/build/ExcelDna.AddIn.targets#L122C6-L122C6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant