Since a few weeks, I get an error when I start "msbuild" in order to generate the PCF solution zip.
The error says:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\NuGet\16.0\Microsoft.NuGet.targets(186,5): error : Your project file doesn't list
'win' as a "RuntimeIdentifier". You should add 'win' to the "RuntimeIdentifiers" property in your project file and then re-run NuGet restore.
This get's fixed if I call
msbuild /t:restore
After that I don't have issues anymore, until the next day, no matter how often I run msbuild.
I'm sure this wasn't like this a few weeks ago. Has somebody an idea about the reason, or how to solve this in a proper way?
Kind regards,
Diana