Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Need to publish?

Need to publish?

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpquestion
4 Posts 3 Posters 31 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Richard Andrew x64R Offline
    Richard Andrew x64R Offline
    Richard Andrew x64
    wrote on last edited by
    #1

    Does a .NET 8 application need to be "published" before it can run properly? Or is building it good enough?

    The difficult we do right away... ...the impossible takes slightly longer.

    D T 2 Replies Last reply
    0
    • Richard Andrew x64R Richard Andrew x64

      Does a .NET 8 application need to be "published" before it can run properly? Or is building it good enough?

      The difficult we do right away... ...the impossible takes slightly longer.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Building it is good enough. Publishing just packages the thing up for distribution. You don't even need to "publish" the app is you know all the files in the app that must be distributed. You can just pick out the files and make an installer with them if you know what files you need.

      Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak

      Richard Andrew x64R 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Building it is good enough. Publishing just packages the thing up for distribution. You don't even need to "publish" the app is you know all the files in the app that must be distributed. You can just pick out the files and make an installer with them if you know what files you need.

        Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak

        Richard Andrew x64R Offline
        Richard Andrew x64R Offline
        Richard Andrew x64
        wrote on last edited by
        #3

        Thanks! I'm making my first foray into .NET 8 coming from the .NET Framework. Never thought I could learn this, but it's coming along.

        The difficult we do right away... ...the impossible takes slightly longer.

        1 Reply Last reply
        0
        • Richard Andrew x64R Richard Andrew x64

          Does a .NET 8 application need to be "published" before it can run properly? Or is building it good enough?

          The difficult we do right away... ...the impossible takes slightly longer.

          T Offline
          T Offline
          TNCaver
          wrote on last edited by
          #4

          I only use Publish if it's an Azure web (Blazor) app or Azure Function app. For console apps I just copy everything in and under \bin\Release\net8.0 to the new destination.

          There are no solutions, only trade-offs.
             - Thomas Sowell

          A day can really slip by when you're deliberately avoiding what you're supposed to do.
             - Calvin (Bill Watterson, Calvin & Hobbes)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups