同一个项目,Windows上用dotnet build 可以build成功,
放到Linux上,dotnet build 就会报错:
/usr/share/dotnet/sdk/2.0.0/Microsoft.Common.CurrentVersion.targets(2924,5): error MSB3552: Resource file "**/*.resx" cannot be found.

Asp.NET Core2.0部署在Linux上出问题
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
2条回答 默认 最新
- threenewbee 2017-12-21 17:32关注
linux下的路径分割符号是正斜杠(/),而windows是反斜杠(\),如果你的路径有硬编码的分割符,那么可能出现找不到路径。
解决 无用评论 打赏 举报