Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>

<!-- VS does not require Windows PDBs to be published anymore. -->
<PublishWindowsPdb>false</PublishWindowsPdb>

<SharedSourceRoot>$(MSBuildThisFileDirectory)src\Shared\</SharedSourceRoot>
<SharedFilesRoot>$(SharedSourceRoot)files\</SharedFilesRoot>

Expand Down
3 changes: 3 additions & 0 deletions src/Analyzers/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<IncludeSymbols>true</IncludeSymbols>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>

<!-- In theory we want to have this property set, but our pipeline doesn't set the access tokens yet -->
<PublishWindowsPdb Condition="'$(DotNetSymbolServerTokenMsdl)'!='' and '$(DotNetSymbolServerTokenSymWeb)'!=''">true</PublishWindowsPdb>

<RollForward Condition="'$(IsTestProject)' == 'true'">LatestMajor</RollForward>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<Description>Razor is a markup syntax for adding server-side logic to web pages. This package contains the Razor compiler.</Description>
<TargetFrameworks>$(DefaultNetCoreTargetFramework);netstandard2.0</TargetFrameworks>
<ExcludeFromSourceOnlyBuild>false</ExcludeFromSourceOnlyBuild>
<IsShippingAssembly>true</IsShippingAssembly>

<!--
RS2008: Enable analyzer release tracking
Expand Down
2 changes: 2 additions & 0 deletions src/Razor/src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<IncludeSymbols>true</IncludeSymbols>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>

<!-- In theory we want to have this property set, but our pipeline doesn't set the access tokens yet -->
<PublishWindowsPdb Condition="'$(DotNetSymbolServerTokenMsdl)'!='' and '$(DotNetSymbolServerTokenSymWeb)'!=''">true</PublishWindowsPdb>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<ExcludeFromSourceOnlyBuild>true</ExcludeFromSourceOnlyBuild>
<IsPackable>false</IsPackable>
<IsShippingAssembly>true</IsShippingAssembly>

<GenerateResourceUsePreserializedResources Condition="'$(MSBuildRuntimeType)' == 'Core'">true</GenerateResourceUsePreserializedResources>

Expand Down
3 changes: 3 additions & 0 deletions src/Shared/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<IncludeSymbols>true</IncludeSymbols>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>

<!-- In theory we want to have this property set, but our pipeline doesn't set the access tokens yet -->
<PublishWindowsPdb Condition="'$(DotNetSymbolServerTokenMsdl)'!='' and '$(DotNetSymbolServerTokenSymWeb)'!=''">true</PublishWindowsPdb>

<RollForward Condition="'$(IsTestProject)' == 'true'">LatestMajor</RollForward>
</PropertyGroup>

Expand Down