I am trying to create a typical solution/project layout using vs code. I created the various libraries using yo aspnet
, but I don't know how to reference projects in vs code. Do I use a single project.json at the root? How does it know what the startup project and entry point are? Also, is there a way to get intellisense on the namespacing?
If you don't use Visual Studio (the full version), then you don't need a solution or xproj files. You just use folders and project.json
files to mark your projects then each project can add a reference to another one in the dependencies
section of the project file, like in this example:
Edit (summary of the comments):
global.json
file