Xamarin build fails

Harish KC 1 Reputation point
2021-10-25T12:46:44.91+00:00

Hi,
I am trying build xamarin solution

MSBuild.exe "C:\SManager.sln" /p:Configuration="Release" /p:Platform="Any CPU"

Below error is thrown

\AssemblyInfo.cs(5,12): error CS0246: The type or namespace name '
NeutralResourcesLanguageAttribute' could not be found (are you missing a using directive or an assembly reference?)
AssemblyInfo.cs(5,12): error CS0246: The type or namespace name '
NeutralResourcesLanguage' could not be found (are you missing a using directive or an assembly reference?)

\AssemblyInfo.cs(6,12): error CS0012: The type 'Attribute' is defi
ned in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

\AssemblyInfo.cs(7,12): error CS0012: The type 'Attribute' is defi
ned in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,251 questions
{count} votes