AutoCADDotNetLibrary.Debug
0.7.0
There is a newer version of this package available.
See the version list below for details.
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AutoCADDotNetLibrary.Debug
AutoCAD 二次开发,用于生成测试功能的脚本。
使用说明
在项目(.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
值为true
和false
,在生成注销.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.