question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Publish skips copying files that are different but not newer.

See original GitHub issue

Hi Team,

I’m coming from issue dotnet/sqlclient#445 where providing --runtime linux-x64 fails to load DLL from runtimes\unix\... folder.

RID ref: https://github.com/dotnet/runtime/blob/master/src/libraries/pkg/Microsoft.NETCore.Platforms/runtime.json

Is that expected behavior?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:16 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
ericstjcommented, Mar 3, 2020

I tend to agree. Let’s ask the SDK to change behavior of publish to copy if different rather than newer.

0reactions
jeremybparagoncommented, Jan 11, 2023

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found