Hi,
is there a way to use the .NET 4.5 framework with PB.NET (12.5 or 12.6)?
My script:
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12!
The system.dll in the references contains the Tls12 and it is also provided by autoscript.
But if I compile the app I get:
'System.Net.SecurityProtocolType' does not contain a definition for 'Tls12'
Tls12 is new in .NET 4.5. So I think that the compiler uses an older version of the framework.
What can I do?
Thanks.
Request clarification before answering.
Hi Rene.
Is this an a project that was originally created in PB.NET 12.5 and migrated to PB.NET 12.6? PB.NET 12.6 should be able to use .net framework 4.5. But I've seen that when I migrate a project from PB.NET 12.5 to PB.NET 12.6, the referenced are not affected (even Sybase.DataWindow.Wpf remains with version no 1.5.0.0 but for PB.NET 12.6 it should be 3.0.0.0).
Have you checked the references in your project?
Andreas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.