如何制作msbuild输出.pdb文件

时间:2017-08-22 07:51:51

标签: c# .net msbuild .net-core

我在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文件,我该怎么办?

1 个答案:

答案 0 :(得分:1)

我错了,msbuild会生成.pdb文件默认值,但msbuild输出不会显示它