79392140

Date: 2025-01-27 20:53:32
Score: 1.5
Natty:
Report link

I hope I didn’t arrive too late. The definitive solution to my problem was to create a pre-build script that deletes the path. In Solution Explorer, search for the project name -> properties -> build -> build events. And write:

if exist "$(ProjectDir)bin\x64\Debug\app.publish" ( rmdir /s /q "$(ProjectDir)bin\x64\Debug\app.publish" )

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Josè Bravo