Some time ago we posted the NuGet packages for AutoCAD 2015’s .NET API. The packages for AutoCAD 2016 are now live, too.
Here’s the report from the NuGet console (accessible in Visual Studio via Tools –> NuGet Package Manager –> Package Manager Console).
PM> Get-Package -filter AutoCAD.NET -ListAvailable
Id Version Description/Release Notes
-- ------- -------------------------
AutoCAD.NET 20.1.0 AutoCAD 2016 API
AutoCAD.NET.Core 20.1.0 AutoCAD 2016 core object model API
AutoCAD.NET.Model 20.1.0 AutoCAD 2016 drawing object model API
To install the 2016 versions of the assemblies into your project, you can use the following command, once again in the NuGet Console.
PM> Install-Package AutoCAD.NET -Version 20.1
And the 2015 are still available too, of course:
PM> Install-Package AutoCAD.NET -Version 20.0
I actually just learned a nice trick: you can use tab to autocomplete the version number inside the NuGet console, as you can see below. Very handy!
I hadn’t realised there was a 20.0.1 version posted – I’ll check in on that and report its significance.
As promised last time, on Monday we’ll look at another possible use of DocumentCollection.ExecuteInCommandAsync() in AutoCAD 2016.
Update:
It turns out 20.0.1 was a very minor bugfix. There were some versioning issues with 20.0.0 and we’d also omitted the Brep API’s .NET assembly from that version.