Skip to content

Commit

Permalink
Merge pull request #12336 from MrJul/fixes/tools-pdb
Browse files Browse the repository at this point in the history
Use embedded pdb for analyzers and build tasks
  • Loading branch information
maxkatz6 authored Jul 26, 2023
2 parents 688f444 + a99fb21 commit 983bc49
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/Avalonia.Build.Tasks/Avalonia.Build.Tasks.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<OutputType>exe</OutputType>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<BuildOutputTargetFolder>tools</BuildOutputTargetFolder>
<DefineConstants>$(DefineConstants);BUILDTASK;XAMLX_CECIL_INTERNAL;XAMLX_INTERNAL</DefineConstants>
<CopyLocalLockFileAssemblies Condition="$(TargetFramework) == 'netstandard2.0'">true</CopyLocalLockFileAssemblies>
<NoWarn>$(NoWarn);NU1605;CS8632</NoWarn>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<OutputType>exe</OutputType>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<BuildOutputTargetFolder>tools</BuildOutputTargetFolder>
<DefineConstants>$(DefineConstants);BUILDTASK;XAMLX_CECIL_INTERNAL;XAMLX_INTERNAL</DefineConstants>
<CopyLocalLockFileAssemblies Condition="$(TargetFramework) == 'netstandard2.0'">true</CopyLocalLockFileAssemblies>
<NoWarn>$(NoWarn);NU1605;CS8632</NoWarn>
<DebugType>embedded</DebugType>
<IncludeSymbols>false</IncludeSymbols>
</PropertyGroup>

<!--Disable Net Perf. analyzer for submodule to avoid commit issue -->
Expand Down
1 change: 1 addition & 0 deletions src/tools/Avalonia.Analyzers/Avalonia.Analyzers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<IncludeBuildOutput>false</IncludeBuildOutput>
<PackageId>Avalonia.Analyzers</PackageId>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<DebugType>embedded</DebugType>
<IsPackable>true</IsPackable>
<IncludeSymbols>false</IncludeSymbols>
<IsRoslynComponent>true</IsRoslynComponent>
Expand Down
1 change: 1 addition & 0 deletions src/tools/Avalonia.Generators/Avalonia.Generators.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<IncludeBuildOutput>false</IncludeBuildOutput>
<PackageId>Avalonia.Generators</PackageId>
<DefineConstants>$(DefineConstants);XAMLX_INTERNAL</DefineConstants>
<DebugType>embedded</DebugType>
<IsPackable>true</IsPackable>
<IncludeSymbols>false</IncludeSymbols>
<IsRoslynComponent>true</IsRoslynComponent>
Expand Down

0 comments on commit 983bc49

Please sign in to comment.