Author Topic: FYI: The next AutoCAD version will target .NET 8 instead of .NET Framework 4.8  (Read 4013 times)

0 Members and 1 Guest are viewing this topic.

huiz

  • Swamp Rat
  • Posts: 919
  • Certified Prof C3D
It is interesting news for us programmers. Though not publicly, but it has now been confirmed by Autodesk that AutoCAD 2025 will target .NET 8. Fortunately the AutoCAD API has not changed, but the challenge for us are the changes in .NET itself.


So, be prepared :-)

The conclusion is justified that the initialization of the development of critical subsystem optimizes the probability of success to the development of the technical behavior over a given period.

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2166
  • class keyThumper<T>:ILazy<T>
If that's for real, it's good news.
I don't see it as a problem for programmers on this side of the wrapper.
We just have a half dozen years of language improvements to catch up on.

I'm interested in the source of the info though :)
Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8927
  • AKA Daniel
Woohoo, exciting!

I read there’s an upgrade tool in visual studio to help convert projects.

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2166
  • class keyThumper<T>:ILazy<T>
a couple I've just seen.
https://learn.microsoft.com/en-us/dotnet/core/porting/
https://learn.microsoft.com/en-us/dotnet/architecture/modernize-desktop/example-migration

I've put off looking seriously at the recent versions ( too frustrating ) . . . looks like it's time then  ;-)
Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

huiz

  • Swamp Rat
  • Posts: 919
  • Certified Prof C3D
The conclusion is justified that the initialization of the development of critical subsystem optimizes the probability of success to the development of the technical behavior over a given period.

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8927
  • AKA Daniel
I'm in ADN & Beta.... but  :whistling:


Atook

  • Swamp Rat
  • Posts: 1031
  • AKA Tim
Will existing .NET code need to be updated? It sounds like we just get new/updated .NET tools around the same wrapper.

Hopefully BricsCAD follows suit.

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8927
  • AKA Daniel
Will existing .NET code need to be updated? It sounds like we just get new/updated .NET tools around the same wrapper.

Hopefully BricsCAD follows suit.
I think so, I think some of the .net namespaces have changed. 

I'm sure BricsCAD will.. probably V25 though, I'm guessing it's a lot of work as module loading has changed

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2166
  • class keyThumper<T>:ILazy<T>
Would be 'nice' if they can support .net 8

The slated officially release is in November 2023, and it's a LTS (Long Term Support) version for 3 years.
That would be better than starting with release 7 and have to update to 8 later, with possible breaking changes.

Though really, 7 would be better than staying where we are I think . . . at least the language features will be familiar for both library and desktop development.

niggling thought:  the Chatgpt and mrs Google code searches may require a bit more refinement to weed out garbage and outdated code.
Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

Atook

  • Swamp Rat
  • Posts: 1031
  • AKA Tim
Does this open up the possibility that we can develop/deploy .NET code to/from Mac and Linux? Too much to hope for?

It'd be pretty cool competition wise if I could step to a Linux/BricsCAD approach.

I hope we get edit->continue debugging back.
« Last Edit: July 21, 2023, 12:11:03 PM by Atook »

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8927
  • AKA Daniel
Interesting question, the current wrappers are use C++/CLI. Last I researched, MS was not going to port this to other platforms
https://devblogs.microsoft.com/cppblog/the-future-of-cpp-cli-and-dotnet-core-3/

So, it’s C++ or Lisp for those platforms.  Or some adventurous person could make Python wrappers, since Python and wxWigets are already cross platform.
Not me though, I tried to compile a couple of BRX apps for Linux, and it was painful, just because I don’t know the OS well 

« Last Edit: July 25, 2023, 01:39:41 AM by Pai Mei »

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2166
  • class keyThumper<T>:ILazy<T>
Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

CADbloke

  • Bull Frog
  • Posts: 345
  • Crash Test Dummy
This will make supporting older versions of AutoCAD interesting, even more interesting than the 2013 release.

57gmc

  • Bull Frog
  • Posts: 373
I need to get a book and catch up on core.  :whistling:

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2166
  • class keyThumper<T>:ILazy<T>
Just an update for anyone who missed it :

Quote
Next Release of AutoCAD API, AutoCAD 2024 + 1 will be planning to support NET Core technology.
We have released an alpha on our feedback portal.
AutoCAD alpha is targeted to support NET 6.0
AutoCAD betas and the final release is targeted to support NET 8.0.

https://adndevblog.typepad.com/autocad/2023/08/call-for-action-next-release-of-autocad.html

Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.