Resource file "** / *. Resx" not found. (MSB3552) on VS for Mac

We cannot build a solution for the vs version for Mac, but the same solution can be used for the vs version for Windows (version 2017), and it worked.

How to solve this problem? and can support both (against Windows and against Mac)

Thanks you. enter image description here enter image description here

/Library/Frameworks/Mono.framework/Versions/5.0.1/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets

+8
source share
9 answers

. . bin obj. , . , .

+1

VS Mac ( ) , , .

enter image description here

+1

, , , , , . "\" , Windows, Mac, "wwwroot\test" ( ). , .

+1

, . , , .

-, - Github . , VS Windows bin/obj.

0

, , , . csproj sln. csproj . - (resx) , , csproj , csproj, . , VS2017 RC3 (EnableDefaultCompileItems). .

0

, , . .net, Windows, macOs, " MSB3552: " **/*. Resx " ".

"WriteTo": [
  {
    "Name": "RollingFileAlternate",
    "Args": {
      "logDirectory": ".\\Logs",
      "fileSizeLimitBytes": 10485760
    }
  }
]

"", macO ".\Logs" . , .

:

 "WriteTo": [
  {
    "Name": "RollingFileAlternate",
    "Args": {
      "logDirectory": "Logs",
      "fileSizeLimitBytes": 10485760
    }
  }
]

MacO.

Windows , MacO , , , Windows MacOs, , , , (, , ..).

, .

0

, , , , .csproj,.vbproj .fsproj ( - ). . , .

0

; , .

, , \ .csproj, .

wwwroot\ImageCache , , , - wwwroot\ImageCache. , .

0

dotnet OSX . , , Windows. Finder - \Uploads. ls -la , - .

0

Source: https://habr.com/ru/post/1683394/


All Articles