Dacc123 2017-12-21 06:57 采纳率: 0%
浏览 1575
已结题

Asp.NET Core2.0部署在Linux上出问题

同一个项目,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.

  • 写回答

2条回答 默认 最新

  • threenewbee 2017-12-21 17:32
    关注

    linux下的路径分割符号是正斜杠(/),而windows是反斜杠(\),如果你的路径有硬编码的分割符,那么可能出现找不到路径。

    评论

报告相同问题?