VitaliiTsilnyk / NGettext

A cross-platform .NET implementation of the GNU/Gettext library.
MIT License
215 stars 46 forks source link

Trouble Compiling NGettext in Visual Studio 2019 #39

Open c4tachan opened 3 years ago

c4tachan commented 3 years ago

I'm getting several

error CS0234: The type or namespace name 'AssemblyMetadataAttributeAttribute' does not exist in the namespace 'System.Reflection' (are you missing an assembly reference?)

errors when I try to compile this repository in Visual Studio 2019.

c4tachan commented 3 years ago

These errors point to several NGettext.AssemblyInfo.cs files that appear to be getting generated by the portable-* targets.

VitaliiTsilnyk commented 3 years ago

You need to install the targeting pack for PCL to make it work.