chore: restructure dotnet build targets for local development#2680
chore: restructure dotnet build targets for local development#2680bitsandfoxes wants to merge 10 commits into
Conversation
There was a problem hiding this comment.
These are the targets used to build players for tests, or utility to help with setup.
There was a problem hiding this comment.
These targets are intended to allow for iterative building, to overwrite the output inside of package-dev/Plugins/ on each call. No more manual deletion before building.
The Ensure targets are hooked up to the regular build to allow calling dotnet build from the root and the repo automatically builds itself and its native layer.
There was a problem hiding this comment.
This is a helper to build sentry-native for sentry-java locally. These will get picked up from sentry-java via mavenLocal.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 7c5fd74. Configure here.

QOL feature for local development, so we (I) don't have to clean and build with every change.
Sample usage:
dotnet build- builds the entire SDK stack including native sdksdotnet msbuild /t:BuildAndroidSDK src/Sentry.Unitycleans the output artifacts, and rebuildssentry-nativeandsentry-java#skip-changelog