我在linux中使用.net核心,dotnet build(same with msbuild)
输出如下:
roroco@roroco ~/Downloads/test/cs/create-nuget-dep-and-use-it/Dep $ FrameworkPathOverride=/usr/lib/mono/4.5/ dotnet build /p:DebugType=full
Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Dep -> /home/roroco/Downloads/test/cs/create-nuget-dep-and-use-it/Dep/Dep/bin/Debug/Dep.dll
Build succeeded.
它只生成dll文件,我希望它生成.pdb文件,我该怎么办?
答案 0 :(得分:1)
我错了,msbuild会生成.pdb
文件默认值,但msbuild输出不会显示它