© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
40 replies
RDasher

❔ Running .NET Framework Project off of command line

I primarily work with .NET core, and it is a breeze with
dotnet
dotnet

But I've recently come across a .NET Framework web project, and I wanted to know if it was possible to build and run it off the command line

Firstly I have managed to build it using
msbuild
msbuild
. and I know I can host using IIS, so in theory, I can write a simple batch file to:
1) Build the project
2) Copy the contents of the build to the web directory
3) Start the IIS site

But I wanted to know if there was a way to do this without going through this like I can with
dotnet
dotnet
for .NET Core
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Running cmd line command via c# not working
C#CC# / help
2y ago
.Net framework async controllers
C#CC# / help
11mo ago
Publish .NET Framework App
C#CC# / help
3y ago