MaterialSkin icon indicating copy to clipboard operation
MaterialSkin copied to clipboard

Cannot create DLL from project.

Open kabirhaxor opened this issue 7 years ago • 6 comments

Cannot create DLL from this project. Got too many errors. Please build and update this DLL on Nuget Package.

kabirhaxor avatar Jun 17 '17 12:06 kabirhaxor

Anyone here to solve this?

kabirhaxor avatar Jul 12 '17 08:07 kabirhaxor

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; } }

WakfuBuilder avatar Sep 27 '17 16:09 WakfuBuilder

OnItemClickStart?.Invoke(this, e);

Got error here.,

kabirhaxor avatar Sep 27 '17 18:09 kabirhaxor

Right, iam using vs2013 Ultimate.

kabirhaxor avatar Sep 27 '17 18:09 kabirhaxor

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).

WakfuBuilder avatar Sep 29 '17 13:09 WakfuBuilder

This project is using new language features. You can use new compiler, or upgrade to VS2017, or even use Xamarin Studio to compile it.

hadi77ir avatar Nov 06 '17 23:11 hadi77ir