Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Warren Harding 132 posts 275 karma points
    Oct 14, 2021 @ 22:55
    Warren Harding
    0

    dotnet building and kestrel n00b

    Is it possible when running kestrel via the terminal, to rebuild without stopping and running again?

    I'm currently using Models Builder in SourceCodeAuto mode and am very attached to working with strongly typed models so I can see any errors when creating razor views.

    Thanks for your help.

  • Paul Johnson 18 posts 109 karma points
    Oct 15, 2021 @ 18:32
    Paul Johnson
    100

    Indeed it is

     $ dotnet watch run --project src/my_v9_site/my_v9_site.csproj
     # or from dir with csproj just dotnet watch run
    
  • Thomas 319 posts 606 karma points c-trib
    Jun 14, 2022 @ 11:45
    Thomas
    0

    When I run dotnet watch run and rebuilds models, it fails to rebuild my models because of to many changes ?

    Have tried with SourceCodeAuto and SourceCodeManual..

    Am I doing somthing wrong ?

  • Thomas 319 posts 606 karma points c-trib
    Jun 14, 2022 @ 13:05
    Thomas
    0

    Added a Watch="false" in the project file to the Models folder

Please Sign in or register to post replies

Write your reply to:

Draft