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. The Lounge
  3. Dang it, Visual Studio!

Dang it, Visual Studio!

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studioquestion
4 Posts 2 Posters 0 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.
  • T Offline
    T Offline
    TNCaver
    wrote on last edited by
    #1

    Which part of the Do Not Copy setting do you (or I) not understand?! Does it not apply to web.config files? :mad: </rant> Thank you, I feel better now. As you were.

    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)

    D 1 Reply Last reply
    0
    • T TNCaver

      Which part of the Do Not Copy setting do you (or I) not understand?! Does it not apply to web.config files? :mad: </rant> Thank you, I feel better now. As you were.

      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)

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

      No, it doesn't, because it's an integral part of the ASP.NET framework. The thing no workie without it.

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

      T 1 Reply Last reply
      0
      • D Dave Kreskowiak

        No, it doesn't, because it's an integral part of the ASP.NET framework. The thing no workie without it.

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

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

        Correct, but I do not need it to overwrite the copy in production with the copy on my development machine, even if there are changes.

        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)

        D 1 Reply Last reply
        0
        • T TNCaver

          Correct, but I do not need it to overwrite the copy in production with the copy on my development machine, even if there are changes.

          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)

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

          OK, so that's Publishing the app. Click on the file once in Solution Explorer and change the "Build Type" from "Content" to "None" and change "Copy to output Directory" to "Do not copy". If that doesn't do it for you, there's another way to exclude files from the Publish, described at Excluding Files and Folders from Deployment | Microsoft Learn[^].

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

          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