Publish skips copying files that are different but not newer.
See original GitHub issueHi Team,
I’m coming from issue dotnet/sqlclient#445 where providing --runtime linux-x64
fails to load DLL from runtimes\unix\...
folder.
Is that expected behavior?
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (10 by maintainers)
Top Results From Across the Web
VS 2017 File System Publish Not Copying Files but reports ...
I have an MVC Project .NET 4.7 with a file system based publish profile setup. I have a repeatable process that I can...
Read more >Visual Studio 2012 Web Publish doesn't copy files
Solution was to edit the publish profile, change the mode from Release (Any CPU) to debug then back to Release (Any CPU).
Read more >Copy only changed files (new & modified) in Windows 10
I want to replace the files 2. Skip these files 3 let me decide what to do with each individual file. BUT NOT....
Read more >Does Robocopy SKIP copying existing files by default?
By default, Robocopy skips copying existing files if the specific metadata of the files match then those files will be skipped from the ......
Read more >The Ultimate Guide to Copying Files and Folders Using ...
To copy all files and directories while ignoring empty directories, append the /S option to the end of the Xcopy command, as shown...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I tend to agree. Let’s ask the SDK to change behavior of publish to copy if different rather than newer.
I ran into this this week with an upgrade, upgrading Npgsql from Version 6.0.8 to Version 7.0.0, because the upgraded version is older than the lower version. We use
dotnet publish
as part of an automated process to prepare an Azure Batch job.