Skip to content

Commit 36121e1

Browse files
authored
Disable Windows PDB conversion (#64581)
* Disable Windows PDB conversion * Update YAML * Package EE and VS impl * Add more symbol publishing packages * Fix IsShipping* properties and introduce IsSymbolPublishingPackage * Remove `none` publish data * Remove duplicate code * Ignore .Symbols packages
1 parent 120ba9e commit 36121e1

File tree

51 files changed

+110
-67
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+110
-67
lines changed

Directory.Build.targets

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
22
<Project>
3-
<!-- use the source-built version of the reference packs if building in source-build -->
4-
<ItemGroup Condition="'$(DotNetBuildFromSource)' == 'true'">
5-
<KnownFrameworkReference Update="Microsoft.NETCore.App">
6-
<TargetingPackVersion Condition="'%(TargetFramework)' == 'net6.0'">6.0.0</TargetingPackVersion>
7-
</KnownFrameworkReference>
8-
<KnownFrameworkReference Update="Microsoft.AspNetCore.App">
9-
<TargetingPackVersion Condition="'%(TargetFramework)' == 'net6.0'">6.0.0</TargetingPackVersion>
10-
</KnownFrameworkReference>
11-
</ItemGroup>
12-
13-
<!-- do not restore or use the 6.0 app host in source-build -->
14-
<PropertyGroup Condition="'$(DotNetBuildFromSource)' == 'true'">
15-
<UseAppHost>false</UseAppHost>
16-
</PropertyGroup>
17-
3+
<Import Project="eng\targets\Imports.BeforeArcade.targets" />
184
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />
195
<Import Project="eng\targets\Imports.targets" />
206
</Project>

azure-pipelines.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ stages:
3838
testArtifactName: Transport_Artifacts_Windows_Debug
3939
configuration: Debug
4040
queueName: windows.vs2022preview.amd64.open
41-
restoreArguments: -msbuildEngine dotnet /p:UsingToolPdbConverter=false /p:UsingToolVSSDK=false /p:GenerateSatelliteAssemblies=false
42-
buildArguments: -msbuildEngine dotnet /p:UsingToolPdbConverter=false /p:UsingToolVSSDK=false /p:GenerateSatelliteAssemblies=false /p:PublishReadyToRun=false
41+
restoreArguments: -msbuildEngine dotnet /p:UsingToolVSSDK=false /p:GenerateSatelliteAssemblies=false
42+
buildArguments: -msbuildEngine dotnet /p:UsingToolVSSDK=false /p:GenerateSatelliteAssemblies=false /p:PublishReadyToRun=false
4343

4444
- stage: Windows_Release_Build
4545
dependsOn: []
@@ -50,8 +50,8 @@ stages:
5050
testArtifactName: Transport_Artifacts_Windows_Release
5151
configuration: Release
5252
queueName: windows.vs2022preview.amd64.open
53-
restoreArguments: -msbuildEngine dotnet /p:UsingToolPdbConverter=false /p:UsingToolVSSDK=false /p:GenerateSatelliteAssemblies=false
54-
buildArguments: -msbuildEngine dotnet /p:UsingToolPdbConverter=false /p:UsingToolVSSDK=false /p:GenerateSatelliteAssemblies=false /p:PublishReadyToRun=false
53+
restoreArguments: -msbuildEngine dotnet /p:UsingToolVSSDK=false /p:GenerateSatelliteAssemblies=false
54+
buildArguments: -msbuildEngine dotnet /p:UsingToolVSSDK=false /p:GenerateSatelliteAssemblies=false /p:PublishReadyToRun=false
5555

5656
- stage: Unix_Build
5757
dependsOn: []

eng/Versions.props

+1-2
Original file line numberDiff line numberDiff line change
@@ -300,15 +300,14 @@
300300
<UsingToolVSSDK>true</UsingToolVSSDK>
301301
</PropertyGroup>
302302
<PropertyGroup>
303-
<UsingToolPdbConverter>true</UsingToolPdbConverter>
303+
<UsingToolPdbConverter>false</UsingToolPdbConverter>
304304
<UsingToolSymbolUploader>true</UsingToolSymbolUploader>
305305
<UsingToolNuGetRepack>true</UsingToolNuGetRepack>
306306
<UsingToolNetFrameworkReferenceAssemblies>true</UsingToolNetFrameworkReferenceAssemblies>
307307
<UsingToolIbcOptimization>true</UsingToolIbcOptimization>
308308
<UsingToolVisualStudioIbcTraining>true</UsingToolVisualStudioIbcTraining>
309309
<UsingToolXliff>true</UsingToolXliff>
310310
<UsingToolXUnit>true</UsingToolXUnit>
311-
<DiscoverEditorConfigFiles>true</DiscoverEditorConfigFiles>
312311
<!--
313312
When using a bootstrap builder we don't want to use the Microsoft.Net.Compilers.Toolset package but
314313
rather explicitly override it.

eng/config/PublishData.json

+1-22
Original file line numberDiff line numberDiff line change
@@ -62,28 +62,7 @@
6262
"Microsoft.CodeAnalysis.Remote.Workspaces": "vs-impl",
6363
"Microsoft.VisualStudio.LanguageServices.LiveShare": "vs-impl",
6464
"Microsoft.VisualStudio.LanguageServices.Razor.RemoteClient": "vs-impl",
65-
"Microsoft.CommonLanguageServerProtocol.Framework": "vs-impl",
66-
"Microsoft.VisualStudio.LanguageServices.Implementation": "none",
67-
"Microsoft.VisualStudio.LanguageServices.CSharp": "none",
68-
"Microsoft.VisualStudio.LanguageServices.VisualBasic": "none",
69-
"Microsoft.VisualStudio.LanguageServices.CodeLens": "none",
70-
"Microsoft.VisualStudio.LanguageServices.Xaml": "none",
71-
"Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler": "none",
72-
"Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider": "none",
73-
"Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver": "none",
74-
"Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler": "none",
75-
"Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider": "none",
76-
"Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler": "none",
77-
"Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ResultProvider": "none",
78-
"csc": "none",
79-
"csc.arm64": "none",
80-
"vbc": "none",
81-
"vbc.arm64": "none",
82-
"VBCSCompiler": "none",
83-
"VBCSCompiler.arm64": "none",
84-
"csi": "none",
85-
"InteractiveHost32": "none",
86-
"InteractiveHost64": "none"
65+
"Microsoft.CommonLanguageServerProtocol.Framework": "vs-impl"
8766
}
8867
},
8968
"comment-about-servicing-branches": "For a list of VS versions under servicing, see https://docs.microsoft.com/en-us/visualstudio/releases/2019/servicing#support-options-for-enterprise-and-professional-customers",

eng/publish-assets.ps1

+10-9
Original file line numberDiff line numberDiff line change
@@ -66,29 +66,30 @@ function Publish-Nuget($publishData, [string]$packageDir) {
6666
$packagesData = GetPackagesPublishData $packageFeeds
6767

6868
foreach ($package in Get-ChildItem *.nupkg) {
69+
Write-Host ""
70+
6971
$nupkg = Split-Path -Leaf $package
70-
Write-Host " Publishing $nupkg"
72+
Write-Host "Publishing $nupkg"
7173
if (-not (Test-Path $nupkg)) {
7274
throw "$nupkg does not exist"
7375
}
7476

75-
# Lookup the feed name from the packages map using the package name without the version or extension.
7677
$nupkgWithoutVersion = $nupkg -replace '(\.\d+){3}-.*.nupkg', ''
78+
if ($nupkgWithoutVersion.EndsWith(".Symbols")) {
79+
Write-Host "Skipping symbol package $nupkg"
80+
continue
81+
}
82+
83+
# Lookup the feed name from the packages map using the package name without the version or extension.
7784
if (-not (Get-Member -InputObject $packagesData -Name $nupkgWithoutVersion)) {
7885
throw "$nupkg has no configured feed (looked for $nupkgWithoutVersion)"
7986
}
8087

8188
$feedName = $packagesData.$nupkgWithoutVersion
8289

83-
# If the configured feed is none, then skip publishing.
84-
if ($feedName.equals("none")) {
85-
Write-Host " Skipping publishing for $nupkg"
86-
continue
87-
}
88-
8990
# If the configured feed is arcade, then skip publishing here. Arcade will handle publishing to their feeds.
9091
if ($feedName.equals("arcade")) {
91-
Write-Host " Skipping publishing for $nupkg as it is published by arcade"
92+
Write-Host "Skipping publishing for $nupkg as it is published by arcade"
9293
continue
9394
}
9495

eng/targets/DoNotDeployToSymStore_Workaround.targets

-7
This file was deleted.
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
3+
<Project>
4+
<!--
5+
Targets included after project file and before Arcade SDK targets.
6+
Use to set Arcade SDK properties that depend on properties set in the project file.
7+
-->
8+
9+
<PropertyGroup Condition="'$(IsSymbolPublishingPackage)' == 'true'">
10+
<IsPackable>true</IsPackable>
11+
<IsShippingPackage>false</IsShippingPackage>
12+
<PackageId>$(AssemblyName).Symbols</PackageId>
13+
<PackageId Condition="'$(PlatformTarget)' != '' and '$(PlatformTarget)' != 'AnyCPU'">$(AssemblyName).$(PlatformTarget).Symbols</PackageId>
14+
</PropertyGroup>
15+
16+
<!-- use the source-built version of the reference packs if building in source-build -->
17+
<ItemGroup Condition="'$(DotNetBuildFromSource)' == 'true'">
18+
<KnownFrameworkReference Update="Microsoft.NETCore.App">
19+
<TargetingPackVersion Condition="'%(TargetFramework)' == 'net6.0'">6.0.0</TargetingPackVersion>
20+
</KnownFrameworkReference>
21+
<KnownFrameworkReference Update="Microsoft.AspNetCore.App">
22+
<TargetingPackVersion Condition="'%(TargetFramework)' == 'net6.0'">6.0.0</TargetingPackVersion>
23+
</KnownFrameworkReference>
24+
</ItemGroup>
25+
26+
<!-- do not restore or use the 6.0 app host in source-build -->
27+
<PropertyGroup Condition="'$(DotNetBuildFromSource)' == 'true'">
28+
<UseAppHost>false</UseAppHost>
29+
</PropertyGroup>
30+
31+
</Project>

eng/targets/Imports.targets

+5-1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@
9191
<EditorConfigFiles Condition="'$(IsShipping)' != 'true'" Include="$(RepositoryEngineeringDir)config\globalconfigs\NonShipping.globalconfig" />
9292
</ItemGroup>
9393

94+
<!-- Check that all shipping assemblies are packaged -->
95+
<Target Name="_CheckTestProjectTargetFileName" BeforeTargets="Build" Condition="'$(IsShippingAssembly)' == 'true' and '$(IsPackable)' != 'true'">
96+
<Error Text="Project output assembly is shipping (IsShipping == $(IsShipping), IsShippingAssembly == '$(IsShippingAssembly)', IsShippingPackage == '$(IsShippingPackage)') but is not packaged (IsPackable == '$(IsPackable)')" />
97+
</Target>
98+
9499
<!--
95100
Some dependencies bring in references to UIAutomationClient and UIAutomationTypes. These conflict with the faster
96101
UIAComWrapper implementation used by the Roslyn integration tests. This target sets the alias for the slower
@@ -376,6 +381,5 @@
376381
</ItemGroup>
377382
</Target>
378383

379-
<Import Project="DoNotDeployToSymStore_Workaround.targets" Condition="'$(UsingToolPdbConverter)' == 'false'" />
380384
<Import Project="DoNotGenerateSatelliteAssemblies_Workaround.targets" Condition="'$(GenerateSatelliteAssemblies)' == 'false'" />
381385
</Project>

eng/targets/PackageProject.props

+2
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@
1111

1212
<!-- Remove once https://github.com/NuGet/Home/issues/8583 is fixed -->
1313
<NoWarn>$(NoWarn);NU5128</NoWarn>
14+
15+
<IsShippingAssembly>false</IsShippingAssembly>
1416
</PropertyGroup>
1517
</Project>

eng/targets/Settings.props

+4
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545

4646
<EnableDefaultNoneItems>false</EnableDefaultNoneItems>
4747
<Nullable>enable</Nullable>
48+
<DiscoverEditorConfigFiles>true</DiscoverEditorConfigFiles>
49+
50+
<!-- VS does not require Windows PDBs to be published anymore. -->
51+
<PublishWindowsPdb>false</PublishWindowsPdb>
4852
</PropertyGroup>
4953

5054
<!--

src/CodeStyle/CSharp/Analyzers/Microsoft.CodeAnalysis.CSharp.CodeStyle.csproj

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
<RootNamespace>Microsoft.CodeAnalysis.CSharp</RootNamespace>
77
<TargetFramework>netstandard2.0</TargetFramework>
88
<DefineConstants>$(DefineConstants),CODE_STYLE</DefineConstants>
9-
<PackageId>Microsoft.CodeAnalysis.CSharp.CodeStyle.NewNameSinceWeReferenceTheAnalyzersAndNuGetCannotFigureItOut</PackageId>
9+
10+
<!-- Package used for symbol publishing. The assembly ships in analyzer packages Microsoft.CodeAnalysis.(CSharp|VisualBasic).CodeStyle -->
11+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
1012
</PropertyGroup>
1113
<ItemGroup Label="Project References">
1214
<ProjectReference Include="..\..\..\Compilers\CSharp\Portable\Microsoft.CodeAnalysis.CSharp.csproj" />

src/CodeStyle/Core/Analyzers/Microsoft.CodeAnalysis.CodeStyle.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
<DefineConstants>$(DefineConstants),CODE_STYLE</DefineConstants>
99
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1010
<GeneratePerformanceSensitiveAttribute>true</GeneratePerformanceSensitiveAttribute>
11+
12+
<!-- Package used for symbol publishing. The assembly ships in analyzer packages Microsoft.CodeAnalysis.(CSharp|VisualBasic).CodeStyle -->
13+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
1114
</PropertyGroup>
1215
<ItemGroup>
1316
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="$(MicrosoftCodeAnalysisAnalyzersVersion)" />

src/CodeStyle/Core/CodeFixes/Microsoft.CodeAnalysis.CodeStyle.Fixes.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
<RootNamespace>Microsoft.CodeAnalysis</RootNamespace>
77
<TargetFramework>netstandard2.0</TargetFramework>
88
<DefineConstants>$(DefineConstants),CODE_STYLE</DefineConstants>
9+
10+
<!-- Package used for symbol publishing. The assembly ships in analyzer packages Microsoft.CodeAnalysis.(CSharp|VisualBasic).CodeStyle -->
11+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
912
</PropertyGroup>
1013
<ItemGroup Label="Project References">
1114
<ProjectReference Include="..\..\..\Workspaces\Core\Portable\Microsoft.CodeAnalysis.Workspaces.csproj" />

src/CodeStyle/Tools/CodeStyleConfigFileGenerator.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<NonShipping>true</NonShipping>
66
<UseAppHost>false</UseAppHost>
77
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
8+
<IsShipping>false</IsShipping>
89
</PropertyGroup>
910
<ItemGroup>
1011
<Compile Include="..\..\Analyzers\Core\Analyzers\EnforceOnBuild.cs" Link="EnforceOnBuild.cs" />

src/CodeStyle/VisualBasic/Analyzers/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.vbproj

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
<TargetFramework>netstandard2.0</TargetFramework>
77
<RootNamespace></RootNamespace>
88
<DefineConstants>$(DefineConstants),CODE_STYLE</DefineConstants>
9-
<PackageId>Microsoft.CodeAnalysis.VisualBasic.CodeStyle.NewNameSinceWeReferenceTheAnalyzersAndNuGetCannotFigureItOut</PackageId>
9+
10+
<!-- Package used for symbol publishing. The assembly ships in analyzer packages Microsoft.CodeAnalysis.(CSharp|VisualBasic).CodeStyle -->
11+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
1012
</PropertyGroup>
1113
<ItemGroup>
1214
<Compile Include="..\..\..\Workspaces\VisualBasic\Portable\Formatting\DefaultOperationProvider.vb" Link="Formatting\DefaultOperationProvider.vb" />

src/Compilers/CSharp/csc/AnyCpu/csc.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<OutputType>Exe</OutputType>
66
<TargetFrameworks>net6.0;net472</TargetFrameworks>
77
<UseAppHost>false</UseAppHost>
8+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
89
</PropertyGroup>
910

1011
<!-- Can't put this in shared project due to https://github.com/dotnet/project-system/issues/8157 -->

src/Compilers/CSharp/csc/arm64/csc-arm64.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<PlatformTarget>ARM64</PlatformTarget>
1010
<TargetFramework>net472</TargetFramework>
1111
<DisableNullableWarnings>true</DisableNullableWarnings>
12+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
1213
</PropertyGroup>
1314

1415
<!-- Can't put this in shared project due to https://github.com/dotnet/project-system/issues/8157 -->

src/Compilers/Core/Rebuild/Microsoft.CodeAnalysis.Rebuild.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<PlatformTarget>AnyCPU</PlatformTarget>
1010
<Nullable>enable</Nullable>
1111
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
12+
<IsShipping>false</IsShipping>
1213
</PropertyGroup>
1314

1415
<ItemGroup Label="Project References">

src/Compilers/Extension/Roslyn.Compilers.Extension.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<OutputType>Library</OutputType>
66
<RootNamespace>Roslyn.Compilers.Extension</RootNamespace>
77
<TargetFramework>net472</TargetFramework>
8+
<IsShipping>false</IsShipping>
89

910
<!-- VSIX -->
1011
<GeneratePkgDefFile>true</GeneratePkgDefFile>

src/Compilers/Server/VBCSCompiler/AnyCpu/VBCSCompiler.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<OutputType>Exe</OutputType>
66
<TargetFrameworks>net6.0;net472</TargetFrameworks>
77
<UseAppHost>false</UseAppHost>
8+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
89
</PropertyGroup>
910
<Import Project="..\VBCSCompilerCommandLine.projitems" Label="Shared" />
1011
</Project>

src/Compilers/Server/VBCSCompiler/arm64/VBCSCompiler-arm64.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<PlatformTarget>ARM64</PlatformTarget>
1010
<TargetFramework>net472</TargetFramework>
1111
<DisableNullableWarnings>true</DisableNullableWarnings>
12+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
1213
</PropertyGroup>
1314
<Import Project="..\VBCSCompilerCommandLine.projitems" Label="Shared" />
1415
</Project>

src/Compilers/VisualBasic/vbc/AnyCpu/vbc.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<OutputType>Exe</OutputType>
66
<TargetFrameworks>net472;net6.0</TargetFrameworks>
77
<UseAppHost>false</UseAppHost>
8+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
89
</PropertyGroup>
910

1011
<!-- Can't put this in shared project due to https://github.com/dotnet/project-system/issues/8157 -->

src/Compilers/VisualBasic/vbc/arm64/vbc-arm64.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<PlatformTarget>ARM64</PlatformTarget>
1010
<AssemblyName>vbc</AssemblyName>
1111
<DisableNullableWarnings>true</DisableNullableWarnings>
12+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
1213
</PropertyGroup>
1314

1415
<!-- Can't put this in shared project due to https://github.com/dotnet/project-system/issues/8157 -->

src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/Microsoft.CodeAnalysis.CSharp.ExpressionCompiler.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<AssemblyName>Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler</AssemblyName>
99
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1010
<ApplyNgenOptimization>full</ApplyNgenOptimization>
11+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
1112
</PropertyGroup>
1213
<ItemGroup Label="Project References">
1314
<ProjectReference Include="..\..\..\..\Compilers\Core\Portable\Microsoft.CodeAnalysis.csproj" />

src/ExpressionEvaluator/CSharp/Source/ResultProvider/Portable/Microsoft.CodeAnalysis.CSharp.ResultProvider.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<AssemblyName>Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider</AssemblyName>
88
<TargetFramework>netstandard2.0</TargetFramework>
99
<ApplyNgenOptimization>full</ApplyNgenOptimization>
10+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
1011
</PropertyGroup>
1112
<ItemGroup Label="Linked Files">
1213
<Compile Include="..\..\..\..\..\Compilers\Core\Portable\InternalUtilities\RoslynString.cs">

src/ExpressionEvaluator/Core/Source/ExpressionCompiler/Microsoft.CodeAnalysis.ExpressionCompiler.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<TargetFramework>netstandard2.0</TargetFramework>
1010
<DefineConstants>$(DefineConstants);EXPRESSIONCOMPILER</DefineConstants>
1111
<ApplyNgenOptimization>full</ApplyNgenOptimization>
12+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
1213
</PropertyGroup>
1314
<ItemGroup Label="Linked Files">
1415
<Compile Include="..\..\..\..\Test\PdbUtilities\Shared\DateTimeUtilities.cs">

src/ExpressionEvaluator/Core/Source/FunctionResolver/Microsoft.CodeAnalysis.FunctionResolver.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<AssemblyName>Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver</AssemblyName>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
99
<TargetFramework>netstandard2.0</TargetFramework>
10+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
1011
</PropertyGroup>
1112
<ItemGroup>
1213
<Compile Include="..\..\..\..\Compilers\Core\Portable\InternalUtilities\ExceptionUtilities.cs">

src/ExpressionEvaluator/Core/Source/ResultProvider/Portable/Microsoft.CodeAnalysis.ResultProvider.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<AssemblyName>Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider</AssemblyName>
88
<TargetFrameworks>netstandard2.0</TargetFrameworks>
99
<ApplyNgenOptimization>full</ApplyNgenOptimization>
10+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
1011
</PropertyGroup>
1112
<ItemGroup Label="Linked Files">
1213
<Compile Include="..\..\..\..\..\Compilers\Core\Portable\CaseInsensitiveComparison.cs">

src/ExpressionEvaluator/Directory.Build.props

+3
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
33
<PropertyGroup>
44
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
5+
6+
<!-- NuGet: Package might not work without long file path support. -->
7+
<NoWarn>$(NoWarn);NU5123</NoWarn>
58
</PropertyGroup>
69
</Project>

src/ExpressionEvaluator/Package/ExpressionEvaluatorPackage.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<PropertyGroup>
55
<OutputType>Library</OutputType>
66
<TargetFramework>net472</TargetFramework>
7+
<IsShippingAssembly>false</IsShippingAssembly>
78

89
<!-- VSIX -->
910
<GeneratePkgDefFile>true</GeneratePkgDefFile>

src/ExpressionEvaluator/VisualBasic/Source/ExpressionCompiler/Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler.vbproj

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<AssemblyName>Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler</AssemblyName>
77
<TargetFramework>netstandard2.0</TargetFramework>
88
<RootNamespace></RootNamespace>
9+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
910
</PropertyGroup>
1011
<ItemGroup Label="Project References">
1112
<ProjectReference Include="..\..\..\..\Compilers\Core\Portable\Microsoft.CodeAnalysis.csproj" />

src/ExpressionEvaluator/VisualBasic/Source/ResultProvider/Portable/Microsoft.CodeAnalysis.VisualBasic.ResultProvider.vbproj

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<AssemblyName>Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ResultProvider</AssemblyName>
77
<TargetFramework>netstandard2.0</TargetFramework>
88
<RootNamespace></RootNamespace>
9+
<IsSymbolPublishingPackage>true</IsSymbolPublishingPackage>
910
</PropertyGroup>
1011
<ItemGroup Label="Project References">
1112
<ProjectReference Include="..\..\..\..\Core\Source\ResultProvider\Portable\Microsoft.CodeAnalysis.ResultProvider.csproj" />

0 commit comments

Comments
 (0)