Skip to content

Need to clear up confusion around run, build, and publish #1509

Closed

Description

@Petermarcu

Our topics on how to build apps all need to be clearer that dotnet build and dotnet run just get you an intermediate outputs that are good for running on your local machine in development mode only. They are not meant to build a final output to run in production. We need to find a way to make that really clear and point people to how to publish their assets from the command line, in VS, and in VS Code.

Activity

  1. self-assigned this
    on Feb 6, 2017
  2. added this to the milestone on Feb 6, 2017
  3. mairaw commented on Feb 7, 2017

    @mairaw
    Contributor

    That's a good point @Petermarcu! So for topics such as the one I'm working on for PR #1507 (Getting Started with CLI), should we have dotnet publish in that topic or create a new topic on how to deploy .NET Core apps?

    /cc @BlackDwarf

  4. thesmithee commented on Feb 8, 2017

    @thesmithee

    We already have a topic on how to deploy .NET Core apps. But we should start stringing this together. For instance, in the getting started, we should add that in order to get an app that runs on another machine, you should use publish. For full docs, please refer to deployment topic. And the like.

    Another thing we need to add is the overall table that has a split between dev-time and production-time usage of verbs.

  5. mairaw commented on Feb 8, 2017

    @mairaw
    Contributor

    I see now that the deploying topic has both the overview and step-by-step instructions.
    But what I was thinking was more along the lines of continuing to build up on the Getting Started, similar to what was done for the VS topics: https://docs.microsoft.com/en-us/dotnet/articles/csharp/getting-started/publishing-with-visual-studio-2017, so you go on a progression.

  6. mairaw commented on Feb 8, 2017

    @mairaw
    Contributor

    And I'll something about publishing to my PR pointing to the deployment topic for now.

  7. Petermarcu commented on Feb 8, 2017

    @Petermarcu
    MemberAuthor

    Ideally there is at least one place that takes me through all the way to the point where the app in my output folder is a real app that looks like an app I could run somewhere else. Not the one without my dependencies locally and depending on the nuget cache.

  8. added a commit that references this issue on Mar 7, 2017
  9. modified the milestones: March 2017, on Mar 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions