Open bruno-garcia opened 3 years ago
Instead of relying on a solution-based configuration, which doesn't get triggered when you build individual projects, e.g. dotnet build samples/....
, we could maybe use this: https://git-scm.com/docs/git-config#Documentation/git-config.txt-submodulerecurse (@jamescrosswell linked this a while back on Discord)
In order to restore
git submodule
before running the first build throughdotnet build
, ideally we'd hook intoValidateSolutionConfiguration
. That wasn't possible (see https://github.com/dotnet/msbuild/issues/6452) so as a work around we added before.Sentry.sln.targets to the repo.Once the fix ships on msbuild/.NET SDK, remove
before.Sentry.sln.targets
in favor of usingValidateSolutionConfiguration