Visual Studio 2017 Localization Publish Settings

浪子不回头ぞ 提交于 2019-12-03 06:43:40

Here is what worked for me:

  1. Open your csproj file with your favorite editor
  2. Under the heading <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> add the line:

<ExcludeFoldersFromDeployment>bin\ar;bin\cs;bin\de;bin\es;bin\fr;bin\he;bin\hi;bin\it;bin\ja;bin\ko;bin\nl;bin\pl;bin\pt;bin\ru;bin\tr-TR;bin\zh-Hans;bin\zh-Hant</ExcludeFoldersFromDeployment>

  1. Republish your solution

In my case i just remove below item from csproj file

<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.1.0" />

Best Regurds

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!