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 |
[!INCLUDE sqlserver2019-and-later]
Learn how to package your C# code into a dynamic link library (DLL) file, when using SQL Server Language Extensions.
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