AutoCADDotNetLibrary.Debug 0.7.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package AutoCADDotNetLibrary.Debug --version 0.7.0                
NuGet\Install-Package AutoCADDotNetLibrary.Debug -Version 0.7.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AutoCADDotNetLibrary.Debug" Version="0.7.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AutoCADDotNetLibrary.Debug --version 0.7.0                
#r "nuget: AutoCADDotNetLibrary.Debug, 0.7.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AutoCADDotNetLibrary.Debug as a Cake Addin
#addin nuget:?package=AutoCADDotNetLibrary.Debug&version=0.7.0

// Install AutoCADDotNetLibrary.Debug as a Cake Tool
#tool nuget:?package=AutoCADDotNetLibrary.Debug&version=0.7.0                

AutoCADDotNetLibrary.Debug

AutoCAD 二次开发,用于生成测试功能的脚本。

alternate text is missing from this package README image

使用说明

在项目(.csproj)中使用如下示例:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net461</TargetFramework>

    <AutoCADDebugVersion>2013</AutoCADDebugVersion>
    <AutoCADMinVersion>2013</AutoCADMinVersion>
    <AutoCADMaxVersion>2023</AutoCADMaxVersion>
    <IsDeleteCUIX>true</IsDeleteCUIX>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="AutoCADDotNet" Version="19.0.0">
      <ExcludeAssets>runtime</ExcludeAssets>
	</PackageReference>
    <PackageReference Include="AutoCADDotNetLibrary.Debug" Version="0.7.0" />
  </ItemGroup>

</Project>

变量

AutoCADDebugVersion

在程序编译时,用于指定debug测试的版本,值为 2006-2023。

  • 注册AutoCAD 的注册表,以便本机直接运行测试 AutoCAD 插件,而无需netload手动加载dll
  • 生成项目的测试环境launchSettings.json

AutoCADMinVersion 和 AutoCADMaxVersion

在程序编译时,生成bat 脚本的最小至最大 AutoCAD 版本,值为 2006-2023。

  • 生成注册*.bat注销.bat的脚本,以便在其他电脑测试插件时,无需netload手动加载dll
  • bat注册脚本会首先检测是否有此注册路径,成功时写入注册表,错误时不写入。

IsDeleteCUIX

值为truefalse,在生成注销.bat的脚本时,加入删除cuix文件的功能。目的是,注销程序后,cuix文件不应有效,需要删除。

清理

当使用Visual Studio清理功能时,删除注册*.bat注销.bat的脚本,并执行注销.bat里的内容。

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.8.1 192 2/19/2024
0.8.0 202 2/11/2024
0.7.4 369 11/2/2023
0.7.3 297 10/4/2023
0.7.2 167 6/1/2023
0.7.1 148 5/27/2023
0.7.0 191 5/7/2023
0.6.0 203 3/26/2023