Skip to main content
1-Visitor
Nov 19, 2021 1:18 PM UTC
Question

VB Api program convert from .NET framework to .NET 5.0

Hello,

I wanted to upgrade my VB.NET program from framework to .NET 5.0

 

After upgrading with the converter from Microsoft I have the problem, that some classes are not casted correct.

For example I get error: Public member 'CurrentModel' on type 'IDpfcSession' not found

for line: ...asyncConnection.Session.CurrentModel

 

Does anybody has a solution?

 

Thank you!

6 replies

17-Peridot
Nov 23, 2021 9:09 AM UTC

Did you mean that you want to update the program from VB.NET to C# .NET 5.0 ?

Or just update version .NET libraries?

Translate
1-Visitor
Nov 23, 2021 4:24 PM UTC

i want to upgrade from VB .NET framework 4.X to VB .NET 5.0(6.0) if it works.

A switch to C# is planned on the long run, but not at the moment

Translate
17-Peridot
Nov 24, 2021 7:05 AM UTC

Did you switch to new Creo Parametric version? What Creo version did you using now?

Maybe, need to Registering the new COM Server and referencing to new COM library in VS.

Translate