Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 989 Bytes

create-a-c-sharp-library.md

File metadata and controls

28 lines (21 loc) · 989 Bytes
title description author ms.author ms.date ms.service ms.subservice ms.topic monikerRange
Create a .NET DLL from a C# project
Package your .NET project into a DLL file when using SQL Server Language Extensions to execute C# code.
rwestMSFT
randolphwest
04/29/2024
sql
language-extensions
how-to
>=sql-server-ver15 || >=sql-server-linux-ver15

Create a .NET DLL from a C# project

[!INCLUDE sqlserver2019-and-later]

Learn how to package your C# code into a dynamic link library (DLL) file, when using SQL Server Language Extensions.

Create a .dll file

To create a .dll, navigate to the folder containing your C# project and run this command, where MyProject.csproj is the name of the project file:

dotnet publish MyProject.csproj

Related content