Missing Satellite Assemblies for Norwegian Language

Rajeshwar Reddy Chowdepalli 61 Reputation points Microsoft Employee
2024-08-08T03:08:24.8866667+00:00

I have a service repository with resource files for different languages. When I build the repository locally, I see DLLs for all languages, including the Norwegian language. However, when I build the same repository in DevOps, I do not see DLLs for .no.resx files or Norwegian language. The following link shows the build results:

https://dev.azure.com/medeina/Medeina/_build/results?buildId=77132&view=results

Why is the DLL related to this language missing?

I also tried including the embedded resource manually in the csproj file, but I received the following error:

/__t/dotnet/sdk/6.0.405/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.Shared.targets(201,5): error NETSDK1022: Duplicate 'EmbeddedResource' items were included. The .NET SDK includes 'EmbeddedResource' items from your project directory by default. You can either remove these items from your project file, or set the 'EnableDefaultEmbeddedResourceItems' property to 'false' if you want to explicitly include them in your project file. For more information, see https://aka.ms/sdkimplicititems. The duplicate items were: 'Resources/Localization/PromptbookLocalization.no.resx'; 'Resources/MedeinaFramework.no.resx' [/__w/1/s/src/Medeina.Framework/Medeina.Framework.csproj]
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,553 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,480 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.