C
C#•2y ago
PepeGak

Compiling and adding DLLs in VS Code

Hi. How do I compile my static class into a DLL file and then include that DLL file in my main project? I use VS Code for Linux and .NET 6.0
4 Replies
333fred
333fred•2y ago
Use a project reference from project a to project b
333fred
333fred•2y ago
Common MSBuild Project Items - MSBuild
Learn about common MSBuild project items. Items are named references to one or more files, and have metadata like file names, paths, and version numbers.
PepeGak
PepeGak•2y ago
so I should add <ProjectReference></> in .csproj file? I don't quite understand what is written here, english is not my first language😅
333fred
333fred•2y ago
You can switch the language the docs are in