getsentry / sentry-dotnet

Sentry SDK for .NET
https://docs.sentry.io/platforms/dotnet
MIT License
599 stars 206 forks source link

Only regenerate the cocoa bindings when they change #3742

Closed jamescrosswell closed 1 week ago

jamescrosswell commented 1 week ago

Currently the ApiDefinitions.cs and StructsAndEnums.cs files are being regenerated every time the src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj project is built... changing the timestamp on these and showing as "changes" that aren't really changes in git.

This PR uses the MS Build Incremental Build features to ensure these files only get regenerated if/when the CocoaSDK version changes.

skip-changelog