uno
uno copied to clipboard
Add docs to improve build times on Rider
What would you like clarification on
Building on rider rebuilds (almost) everything everyime. This matters mostly to core devs, but this should also affect any large uno project. Using "resharper build" fixes this, but sadly it has the opposite problem; it fails to rebuild out-of-date assemblies. I found a way to work around this, but only for Windows.
- Instead of using the preexisting
launchSettings.json
, openEdit Configurations
in the debugging menu and add a new configuration. - Make the new configuration a
.NET executable
config. - Set the executable path to the output exe path. You could also make the executable
dotnet
itself and then set the arguments to be the path to the entry dll. - In the
Before Launch
section, create a newRun External tool
task and set it to run before launching the debugger. The task program should bedotnet
and the arguments should be similar to how you'd build the project from cli, e.g.build -f net7.0 -p:RunAnalyzers=false
- Enjoy vastly improved performance while keeping your debugging experience the same
Concern
Developing with Uno
Affected platforms
No response
Any feedback?
No response