Build SQLServerSpatialTools with dotnet core on macos #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi there!
This pull requests aligns the
csproj
with dotnet core 9 so that modern users can build and deploy SQLServerSpatialTools without having to resort to finding legacy Visual Studio installs on Windows with out-of-support .net framework versions.I have also modified the project file to use Microsoft.SqlServer.Server and "Microsoft.SqlServer.Types from Nuget, which means users don't have to download any extra files or rely on local filesystem setup in order to build SqlServerSpatial Tools.
While I can't see any reason that this wouldn't build on other platforms, this has not been tested. I'm happy to make corrections should something be discovered all the same.
Apologies for the terse pull request - I found myself in a hole, am digging my way out, and hope that this can help other people suffering from similar!
The .dll is currently running on my test SQL Server 2022 server, and is giving every indication of working well.
Thanks,
Tom.