ioncodes / dnpatch

.NET Patcher library using dnlib
MIT License
313 stars 48 forks source link

Compile error(error CS1519: Invalid token '=' in class, struct, or interface member declaration) #20

Closed gagmeng closed 7 years ago

gagmeng commented 7 years ago

Win7 X64 visual studio 2013 Snapshot: http://uimg.in/images/2017/06/22/nsauj.jpg http://uimg.in/images/2017/06/22/sJHIW5a.jpg

Thanks.

ioncodes commented 7 years ago

Which .NET framework are you targeting?

ioncodes commented 7 years ago

I used .NET 4.5.2 now and it works for me. I use VS2017, but when I started the project I was on VS2015 so it should work with that too.

gagmeng commented 7 years ago

Thanks for your reply. Maybe i should try it with VS2015 or above.