Skip to content

Updated T4 template for SQL Script and misc fixes#1031

Merged
uc-msft merged 3 commits intomicrosoft:masterfrom
dbrownems:master
Jul 21, 2022
Merged

Updated T4 template for SQL Script and misc fixes#1031
uc-msft merged 3 commits intomicrosoft:masterfrom
dbrownems:master

Conversation

@dbrownems
Copy link
Copy Markdown
Contributor

@dbrownems dbrownems commented Jul 13, 2022

  1. Embedded the relase assemby in the SQL file as a hex string for portability

  2. Dropped the existing trusted_assembly only if it exists, avoiding error.

  3. Updated targeting to .NET Framework 4.7.1

  4. Forced TLS 1.2 in a static constructor to Curl. Encryption will fail otherwise. Looks like some back-compat behavior in SQLCLR was causing an old encryption suite to be used.

Embedding the assembly bytes in the deployment script to make it portable, and support Managed Instance
@dbrownems dbrownems changed the title Updated T4 template for SQL Script Updated T4 template for SQL Script and misc fixes Jul 13, 2022
@uc-msft uc-msft merged commit 3171a3b into microsoft:master Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants