With 2025, do all projects in a solution need to use core .net 8.0?

With 2025, do all projects in a solution need to use core .net 8.0?

JamesMaeding
Advisor Advisor
344 Views
2 Replies
Message 1 of 3

With 2025, do all projects in a solution need to use core .net 8.0?

JamesMaeding
Advisor
Advisor

I read the conversion instructions out there, and I think my question was likely answered and I did not understand it completely. My solutions have many "helper" projects, some reference autocad assemblies, and some do not.

Must all projects in an autocad 2025 solution use .net core, or just ones that have autocad references?

One thing I learned from the transition documentation is the idea of multiple target configurations.

I have never used that. I have a solution for each version of acad, and a debug and final build for each solution.

I do not duplicate code. Each project for each solution uses the same .cs files and everything, its just the references that are different, and the compilation variables so I can use #IF and so on.

I batch compile the 16 solutions ( 2 tools x 8 versions, Bricscad included) using a windows script, so its not like I must open 16 solutions to issue changes.

The advantage of separate solutions and projects is I can also switch out a .cs file as needed for a given acad version. I don't use that much, but it comes in handy when troubleshooting.

Am I typical, or is this approach an evolutionary offshoot when ends in Vogon warships destroying the earth?

thanks,


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

0 Likes
345 Views
2 Replies
Replies (2)
Message 2 of 3

ActivistInvestor
Mentor
Mentor

Since each project produces a separate exe or dll, no they don't all have to use the same framework version.

 

 

 

 

0 Likes
Message 3 of 3

JamesMaeding
Advisor
Advisor

@ActivistInvestor 

Thanks! I'll do some test projects to get the process down now.


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

0 Likes