MaterialSkin
MaterialSkin copied to clipboard
Cannot create DLL from project.
Cannot create DLL from this project. Got too many errors. Please build and update this DLL on Nuget Package.
Anyone here to solve this?
I am guessing you are running vs2013 or older. This issue is related to C#6, to be able to compile successfully you must replace the following :
public MaterialSkinManager SkinManager => MaterialSkinManager.Instance;
by
public MaterialSkinManager SkinManager { get { return MaterialSkinManager.Instance; } }
OnItemClickStart?.Invoke(this, e);
Got error here.,
Right, iam using vs2013 Ultimate.
Ok, you may have to check this out : https://msdn.microsoft.com/en-us/magazine/dn802602.aspx This syntax is a Null-Conditional Operator, if you can't use C#6 you have some adjustments to do with the OnItemClickStart event. The introduced example in the link above should do the trick (Figure 1 - Checking for Null Before Invoking a Delegate).
This project is using new language features. You can use new compiler, or upgrade to VS2017, or even use Xamarin Studio to compile it.