Updated turboactivate and error building nowAnswered

I just copied the new TurboActivate.cs and dll into my .net project and this line in the TurboActivate file is breaking my build:

            handle = Native.TA_GetHandle(versGUID);

The error is:

Error CS0103 The name 'versGUID' does not exist in the current context LegacyFrameworkDLL 

What did I miss copying the new .cs file over? Should I just delete this line?

LegaacyFrameworkDLL is my project name, and I am using .net framework 3.5

Sounds like you changed the namespace of the TurboActivate.cs in your old version. Use the latest version, don’t reference internal variables, don’t modify the file.

There is a definite difference between my old one and the new one. I didn't change anything including the namespace in my old one but my old one has a declaration and  setting for the variable:

        readonly string versGUID;

but the new one that the error is coming in does NOT have this not does it set it anywhere but the old one after declaration sets it:

            versGUID = vGUID;

Can you take a look at the TurboActivate.cs dated May 20 and confirm something is missing from it? I would never modify a 3rd party file and I double and triple checked that I did not.

            versGUID = vGUID;

This is not in the newest TurboActivate.cs.

It sounds like you didn't replace the TurboActivate.cs file or you're modifying it, or you're accessing private variables that don't exist anymore.

I certainly didn't modify at all, maybe like you said it is NOT the latest .cs file. Can you point me directly to the actual latest .cs file so I know I get the proper file? And I guess also the dll's that go with that file. That would be a huge help. Getting close to releasing product and love your product and service :)

Answer

Oh.... I see what's happening. You're not using TA_BOTH_DLL and there's a bug in the cs file on line 156. Change that versGUID to VersionGUID and everything will work. We'll have a fixed .cs file in the next release.

. Can you point me directly to the actual latest .cs file so I know I get the proper file? 

On the API page.

Thanks so much compiles fine now.