Forum

Compiling sdk, feb 2016

i can’t compile the sdk

Document.cs
Document.cs

both give me compile errors

this is .net 4.6 compiletarget in vs2013community

hm, these are new C# features… maybe vs2013 doesn’t like them. any particular reason you cannot use vs2015?

vs 2015 community fixed the issue.

bleh

You can replace the first by:

FWatcher = new FileSystemWatcher(directory,"*" + extension);

And second by :

int FileChangedListenerCount
        {
            get { return FFileChanged != null ? FFileChanged.GetInvocationList().Length : 0; }
        }

No need to install gigabytes for 2 lines of code ;)