Specifically, I have a problem with MSB3026 - Could not copy bla-bla-bla to bla-bla-bla. Beginning retry 1 in 1000ms. The process cannot access the file bla-bla-bla because it is being used by another process.
I know why it happens - two different libraries use two different versions of the same dependency, but I cannot fix that right now.
So, I want to tell MSBuild to treat all the warnings, except MSB3026, as errors.
I do not understand if this is possible. Is it?