I'm new to .NET, and have the following issue: I've written a simple application that references a few NuGet packages. I'd like to create an executable for my project, that can be run on one of our Windows servers.
The myproject.exe
file that Visual Studio generates for me doesn't seem to include the referenced NuGet packages, which mean I can't copy the myproject.exe
file over to our Windows server and run it there.
How can I go about creating an .exe
file that includes all the dependencies my application requires, so that it can be run on our Windows server?