embedding-pdb-in-exe
2
总安装量
1
周安装量
#72576
全站排名
安装命令
npx skills add https://github.com/christian289/dotnet-with-claudecode --skill embedding-pdb-in-exe
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
continue
1
kimi-cli
1
Skill 文档
PDB Embedded Debugging Symbols
Embed PDB files into EXE/DLL for stack traces with source locations without separate symbol files.
Quick Start
<PropertyGroup>
<DebugType>embedded</DebugType>
</PropertyGroup>
Recommended Configuration
<PropertyGroup>
<DebugType>embedded</DebugType>
<DebugSymbols>true</DebugSymbols>
<Deterministic>true</Deterministic>
<PathMap>$(MSBuildProjectDirectory)=.</PathMap>
</PropertyGroup>
Command Line
# Build
dotnet build -c Release -p:DebugType=embedded
# Publish (single-file)
dotnet publish -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -p:DebugType=embedded
DebugType Options
| Option | PDB Location | Use Case |
|---|---|---|
full |
Separate file | Development |
pdbonly |
Separate file | Release (default) |
portable |
Separate file | Cross-platform |
embedded |
Inside EXE | Distribution |
none |
None | Security critical |
Additional Resources
- Source Link Integration: See SOURCE-LINK.md
- Advanced Configuration: See ADVANCED.md
- MSBuild DebugType Reference