File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 4
4
<TargetFramework >netstandard2.0</TargetFramework >
5
5
<IsPackable >false</IsPackable >
6
6
<EnforceExtendedAnalyzerRules >true</EnforceExtendedAnalyzerRules >
7
+
8
+ <!-- Embed the .pdb file (see notes in the MVVM Toolkit generator projects) -->
9
+ <DebugType >embedded</DebugType >
7
10
</PropertyGroup >
8
11
9
12
<!-- Simplified version of the same props as the source generators -->
Original file line number Diff line number Diff line change 4
4
<TargetFramework >netstandard2.0</TargetFramework >
5
5
<IsPackable >false</IsPackable >
6
6
<EnforceExtendedAnalyzerRules >true</EnforceExtendedAnalyzerRules >
7
+
8
+ <!--
9
+ While this project does not produce a .dll that consuming projects execute at runtime, we still want to
10
+ include debugging information, to make it easier to debug the generator themselves in case of issues.
11
+ Rather than using portable .pdb files, we just embed them, to ensure debuggers will load them correctly.
12
+ Using portable .pdb-s results in Visual Studio not automatically loading them when attaching a debugger
13
+ to the Roslyn code analysis process to try to debug the generators, forcing to pick the path manually.
14
+ -->
15
+ <DebugType >embedded</DebugType >
7
16
</PropertyGroup >
8
17
9
18
<!--
You can’t perform that action at this time.
0 commit comments