-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'ToFile' is not a member of Task(Of TinifyAPI.Source) #24
Comments
Unfortunately, we don't have much experience in vb.net but here is a minimal working project to start with: Imports TinifyAPI Module Program
End Module Hope this is a good starting example that you can expand. |
I might be able to help. I recently was updating the library to deal with the Json.Net issue as well as updating it to .net standard 2.0, etc. I am primarily a C# developer, but I may be able to help you with your VB code if you can show the context of your code where you are getting this error. I am assuming you are trying to write the result to a file via the |
I am getting an underline on tinifyImg.ToFile And a message 'ToFile' is not a member of Task(Of TinifyAPI.Source) All I did was re-complie the code with a strong name key |
The
That should take care of your issue. Note: This is what is included in the sample that was provided by @ddmicu
|
OK in VB.Net I needed to format the code like this...
It then worked OK. |
I'm glad that worked, but if you add the import line to the top of your source file, you would be able to just write this code:
The Either way I am glad you got it working. Feel free to close the issue, if you feel it has been resolved. |
I am implementing in VB.net
I need a version of this DLL with a strong name key, our solution gets installed in the GAC on the server and requires it.
I Forked to create a version and deployed it and I am getting the above error.
Any ideas ?
The text was updated successfully, but these errors were encountered: