Skip to main content


NxDotnet Serve Executor

Uses dotnet run and chokidar to run a .NET app.



  • (string): Defines the build configuration. The default for most projects is Debug, but you can override the build configuration settings in your project.


  • (string): Builds and runs the app using the specified framework. The framework must be specified in the project file.


  • (boolean): Forces all dependencies to be resolved even if the last restore was successful. Specifying this flag is the same as deleting the project.assets.json file.


  • (string): The name of the launch profile (if any) to use when launching the application. Launch profiles are defined in the launchSettings.json file and are typically called Development, Staging, and Production. For more information, see Working with multiple environments.


  • (boolean): Doesn't try to use launchSettings.json to configure the application.


  • (string): Specifies the target runtime to restore packages for. For a list of Runtime Identifiers (RIDs), see the RID catalog. -r short option available since .NET Core 3.0 SDK.


  • (string): Sets the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]. The default value is m. Available since .NET Core 2.1 SDK.


  • (boolean): Determines if the serve should watch files or just run the built packages