AutoCADDotNetLibrary.Debug 0.6.0

There is a newer version of this package available.
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                
#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                

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手动加载dllbat脚本会首先检测是否有此注册路径,成功时写入注册表,错误时不写入。
  • 生成测试的环境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.

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