Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我无法调试我的客户端 Blazor,断点不会被击中。
我还禁用了我之前使用的“使用 .NET Core SDK 的预览”(选项->环境->预览功能)。
视觉工作室 16.6.2。
我的 .csproj 有:
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <DebugType>full</DebugType> ... </PropertyGroup>
只需使用 DebugType 删除该行,它就可以按预期工作。