We can't build solution on vs for Mac version but the same solution can build on vs for windows (vs 2017) and it's worked.
How to fix on this problem ? and can support on both (vs on windows & vs on Mac)
Thanks you.
/Library/Frameworks/Mono.framework/Versions/5.0.1/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets
I was running dotnet core on osx and had the same issue. The problem was that I generated a folder using a windows path. When created on disk, it was not visible in Finder due to its naming \Uploads
. Do a ls -la
and see if there are any strange folders or files in there. See Image
I was trying to fix that problem like a two months and finally found what's wrong. I had backward slash '\' in project files which is Windows style path, but I am using Mac so it was creating directory with plain name 'wwwroot\test' (not nested). If I remove that folder it successfully builds.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With