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.
<PackageVersion Include="AutoCADDotNetLibrary.Debug" Version="0.6.0" />
<PackageReference Include="AutoCADDotNetLibrary.Debug" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version 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.
#:package AutoCADDotNetLibrary.Debug@0.6.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AutoCADDotNetLibrary.Debug&version=0.6.0
#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.