Tuesday, September 6, 2022

[FIXED] How to prevent an existing file being uploaded via Visual Studio Publish

Issue

Maybe it's a common or silly question but I didn't find any appropriate solution.

I have a JSON file located at my www-root folder, I don't want to upload this file every time I publish my website using Visual Studio.

How can I do that?

I'm using the latest build of Visual Studio 19 and ASP.NET CORE 3.1


Solution

Look at the following links. Should do the trick.

  1. Link1
  2. Link2


Answered By - rohit
Answer Checked By - David Goodson (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.