AutoCADDotNetLibrary.Debug
0.6.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.6.0
NuGet\Install-Package AutoCADDotNetLibrary.Debug -Version 0.6.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.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AutoCADDotNetLibrary.Debug --version 0.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AutoCADDotNetLibrary.Debug, 0.6.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.6.0 // Install AutoCADDotNetLibrary.Debug as a Cake Tool #tool nuget:?package=AutoCADDotNetLibrary.Debug&version=0.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AutoCADDotNetLibrary.Debug
使用说明
在项目(.csproj)中使用如下示例。
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net461</TargetFramework>
<AutoCADDebugVersion>2013</AutoCADDebugVersion>
<AutoCADMinVersion>2013</AutoCADMinVersion>
<AutoCADMaxVersion>2023</AutoCADMaxVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AutoCADDotNet" Version="19.0.0">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="AutoCADDotNetLibrary.Debug" Version="0.6.0" />
</ItemGroup>
</Project>
变量
- AutoCADDebugVersion:测试使用的 AutoCAD 版本,值为 2006-2023。值为空或错误时,全部功能失效。
- AutoCADMinVersion:生成bat脚本的最小 AutoCAD 版本。为空时,不执行生成bat脚本功能。
- AutoCADMaxVersion:生成bat脚本的最大 AutoCAD 版本。为空时,不执行生成bat脚本功能。
功能
- 注册AutoCAD 的注册表,以便本机测试 AutoCAD 时直接运行项目插件,无需
netload
手动加载dll
。 - 生成
注册.bat
和注销.bat
的脚本,以便于其他电脑测试时,无需netload
手动加载dll
。bat
脚本会首先检测是否有此注册路径,成功时写入注册表,错误时不写入。 - 生成测试的环境
launchSettings.json
。
以上功能会在编译时生成。
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.