❔ How to install a new .net project from github
I want to share my .net project in github what should be the installation steps for it?
I can see all the dependencies in the .csproj file but how to install all of them in one go?
11 Replies
doesn't quite work, is that the complete syntax?
I have nuget dependency itself.
my folder structure
I expected to see files under
Dependencies
but dotnet build is failing, with an error messages that some
namespace "name"
does not exist.
you mean the first line of Program.cs?
Mongo
I was using MongoDB.Driver
Sure, just a secGitHub
GitHub - shivam-51/Play.Catalog: Sample .net API
Sample .net API. Contribute to shivam-51/Play.Catalog development by creating an account on GitHub.
I had removed that mistakenly, thinking restore will fix it.
so if someone clones this repo, what should be the set of commands to install everything and get the app running?
dotnet run
itself?
okay so no build
and no restore
or anythingThat's done automatically
Restore always happens, and build happens if there are changes, or no build
perfect.
One more thing, does the folder structure look good?
restore places the dependencies in
obj
iircWas this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.