locked
zh-CN resource dll is not generated when build web app in Linux server RRS feed

  • Question

  • User1980576397 posted

    I have been localizing the our .Net Core (2.1) MVC Project with Resource files and CookiesCultureRequest Pattern. We have 3 additional languages now such as korean, Japnees and Chines.

    The issue is when build and publish the solution in the Linux deployment server. only zh-CN folder and resource.dll has not been degenerated. But in my local Windows machine does all.

    What should i do for forcing to generate the dll when build the solution?

    Thanks

    Thursday, April 30, 2020 5:27 AM

All replies

  • User711641945 posted

    Hi dush88c,

    What should i do for forcing to generate the dll when build the solution?

    Try this:

    <PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.0.0" IncludeAssets="All" />
    

    Best Regards,

    Rena

     

    Friday, May 1, 2020 9:11 AM
  • User1980576397 posted

    Hi Rena

    I included the IncludeAssets=All. But still China (zh-CN) resource.dll and folder are not generating. This is only happening in Linux machine only. It does in my Windows machine.

    Thank you for your suggestion

    Monday, May 4, 2020 1:37 AM