TheSwamp
Code Red => .NET => Topic started by: kdub_nz on July 16, 2016, 03:14:29 PM
-
Has anyone come across any documentation regarding the .NET Framework version used for the managed wrapper assemblies ie: acdbmgd.dll , accoremgd.dll , acmgd.dll , acdbmgdbrep.dll etc.
for each Version of AutoCAD ??
I can't recall seeing a listing for which Framework is recommended to use against each AutoCAD build.
Regards,
-
Hi Kerry,
– AutoCAD 2005 to 2006 : .NET Framework 1.0
– AutoCAD 2007 to 2009 : .NET Framework 2.0
– AutoCAD 2010 to 2011 : .NET Framework 3.5
– AutoCAD 2012 to 2014 : .NET Framework 4.0
– AutoCAD 2015 to 2017 : .NET Framework 4.5
This table from a topic (http://www.cadnovation.com/articles/2012-04-15_migration_dotnet_2013/migration_de_solution_dotnet_pour_autocad_2013.htm) by Serge Camiré at CAdNovation (http://www.cadnovation.com/fr/home.asp)
(http://www.cadnovation.com/articles/2012-04-15_migration_dotnet_2013/migration_de_solution_dotnet_pour_autocad_2013_fichiers/image005.png)
-
Thank you gile . Most excellent.
... and please thank Serge.
Regards,
added: That site looks like a great reference.
-
I use .Net 3.5 for AutoCAD 2009. Here is detailed information about possibility of use of. net Framework versions (and about config-file edition when it is necessary):
http://bushman-andrey.blogspot.ru/2014/04/net-autocad-net-framework-ms-visual.html
Google translate Russian -> English (or http://www.translate.ru/ is better).
-
Hi,
Here's a (perhaps) more readable table.
Anyway, as Andrey said, a later .NET Framework version than the one installed by AutoCAD can be used (e.g. AutoCAD 2007 application against Framework 4.0 with Visual Studio 2015). It just needs to care if this Framework version is installed on the client station.
PS: AutoCAD 2012 apps can be build against .NET Framework 3.5 (VS 2008) even if A2012 installs FW 4.0, the same for A 2017 and FW 4.5.
-
Thanks Gilles
I'll throw in a reminder that VS2013 will not compile C#6.0, only C#5.0 or prior.
The VS2013 will compile C#5.0 code and will work for AutoCAD 2017, but we'll need VS2015 to benefit from C#6.0.
Regards,
-
I agree and should recommand to use Visual Studio 2015 to benefit the C# 6.0 language enhancements (compatible with all .NET Frameworks since 2.0).
-
Anyway, as Andrey said, a later .NET Framework version than the one installed by AutoCAD can be used (e.g. AutoCAD 2007 application against Framework 4.0 with Visual Studio 2015).
AutoCAD 2007 and AutoCAD 2009 can't use .Net Framework versions newer than .Net Framework 3.5 SP1. I checked it some years ago here: https://sites.google.com/site/bushmansnetlaboratory/moi-zametki/acad_and_dotnet
-
Anyway, as Andrey said, a later .NET Framework version than the one installed by AutoCAD can be used (e.g. AutoCAD 2007 application against Framework 4.0 with Visual Studio 2015).
AutoCAD 2007 and AutoCAD 2009 can't use .Net Framework versions newer than .Net Framework 3.5 SP1. I checked it some years ago here: https://sites.google.com/site/bushmansnetlaboratory/moi-zametki/acad_and_dotnet
You're right Andrey.
Appologies.
-
AutoCAD 2009 uses .Net Framework 2.0 (by default), but its .NET API has couple methods for the WPF windows showing. But WPF was appeared since .Net 3.0.
* Application.ShowModalDialog()
* Application.ShowModelessDialog()
I think that AutoCAD 2009 wasn't in time tested, therefore it was configured for using .Net Framework 2.0 (just in case).