I'd like to create a new C# solution with Visual Studio Code.
I'm using yo tools.
Now I have a folder with ASP project. And another folder with class library.
How can I reference class library from asp project?
Seems I have to add dependency to the project.json:
"dependencies": {
"ClassLibrar.Name": "*"
}
But to make this possible I need solution file. But VS Code and yo doesn't create a such one.
UPD VS Code can be used from different OS, while VS accessible only from Windows, I'd like o create a new solution with VS Code only.
Simple requirement: create web project and 1+ class libraries.
All this will be packed in docker container
Visual Studio Code provides a way to create the new project templates.
dotnet new
sln
dotnet new
-l
The detailed documentation is Available Here.