Skip to main content
1-Visitor
November 19, 2021
Question

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

  • November 19, 2021
  • 1 reply
  • 2757 views

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!

1 reply

17-Peridot
November 23, 2021

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

Or just update version .NET libraries?

1-Visitor
November 23, 2021

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

17-Peridot
November 24, 2021

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.