dotnetCampus.UsingMSBuildCopyOutputFileToFastDebug
1.1.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 dotnetCampus.UsingMSBuildCopyOutputFileToFastDebug --version 1.1.0
NuGet\Install-Package dotnetCampus.UsingMSBuildCopyOutputFileToFastDebug -Version 1.1.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="dotnetCampus.UsingMSBuildCopyOutputFileToFastDebug" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add dotnetCampus.UsingMSBuildCopyOutputFileToFastDebug --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: dotnetCampus.UsingMSBuildCopyOutputFileToFastDebug, 1.1.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 dotnetCampus.UsingMSBuildCopyOutputFileToFastDebug as a Cake Addin #addin nuget:?package=dotnetCampus.UsingMSBuildCopyOutputFileToFastDebug&version=1.1.0 // Install dotnetCampus.UsingMSBuildCopyOutputFileToFastDebug as a Cake Tool #tool nuget:?package=dotnetCampus.UsingMSBuildCopyOutputFileToFastDebug&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Roslyn 让 VisualStudio 急速调试底层库方法
在一个大项目里面调试底层库经常需要重新编译整个项目,本项目提供了在底层库编译完成之后将输出文件复制到主项目的输出文件夹,通过外部项目调试的方式提高调试效率
使用方法
在需要调试的底层库项目安装 NuGet 库 dotnetCampus.UsingMSBuildCopyOutputFileToFastDebug
编辑底层库项目的 csproj 文件,添加下面代码
<PropertyGroup> <MainProjectPath>主项目的输出文件夹</MainProjectPath> </PropertyGroup>
通过右击底层库属性,点击调试,设置为可执行文件,路径修改为主项目的启动程序。就可以在底层库点击调试运行主项目调试,同时支持打断点和进行二进制兼容的更改
请注意 主项目的输出文件夹 的路径最后使用 \
结束,如 C:\lindexi\doubi\
如果是将底层库放在其他文件夹,请将 主项目的输出文件夹 修改为实际的文件夹
关于二进制兼容请看 VisualStudio 通过外部调试方法快速调试库代码
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.0
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on dotnetCampus.UsingMSBuildCopyOutputFileToFastDebug:
Repository | Stars |
---|---|
lindexi/lindexi_gd
博客用到的代码
|
Version | Downloads | Last updated |
---|---|---|
1.3.231 | 342 | 2/21/2023 |
1.3.230 | 540 | 3/7/2022 |
1.3.217 | 406 | 11/16/2021 |
1.3.217-alpha04 | 430 | 11/15/2021 |
1.3.217-alpha03 | 366 | 11/15/2021 |
1.3.203 | 477 | 1/30/2022 |
1.3.202 | 509 | 10/2/2020 |
1.3.201 | 547 | 8/3/2020 |
1.3.67 | 515 | 5/18/2020 |
1.3.63 | 582 | 3/27/2020 |
1.3.61 | 451 | 3/23/2020 |
1.3.1 | 594 | 7/2/2019 |
1.1.0 | 580 | 5/29/2019 |