Skip to content

Commit

Permalink
Mirror Microsoft.Diagnostics.NETCore.Client (#71139)
Browse files Browse the repository at this point in the history
Microsoft.Diagnostics.NETCore.Client change to allow future branches to build correctly in runtimelab
  • Loading branch information
hoyosjs committed Jun 23, 2022
1 parent 95d64e8 commit 70df1f5
Showing 1 changed file with 5 additions and 3 deletions.
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFrameworks>netstandard2.0;netcoreapp3.1</TargetFrameworks>
Expand All @@ -11,9 +11,11 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<IncludeSymbols>true</IncludeSymbols>
<IsShipping>true</IsShipping>
<BuildingOutsideDiagnostics>false</BuildingOutsideDiagnostics>
<BuildingOutsideDiagnostics Condition="'$(GitHubRepositoryName)' != 'diagnostics'">true</BuildingOutsideDiagnostics>
</PropertyGroup>

<PropertyGroup Condition="'$(GitHubRepositoryName)' == 'runtime'">
<PropertyGroup Condition="$(BuildingOutsideDiagnostics)">
<DefineConstants>$(DefineConstants);DIAGNOSTICS_RUNTIME</DefineConstants>
<NoWarn>CS1591,CS8073,CS0162</NoWarn>
</PropertyGroup>
Expand All @@ -36,6 +38,6 @@
</ItemGroup>

<ItemGroup>
<Compile Condition="'$(GitHubRepositoryName)' == 'runtime'" Include="**/*.cs" />
<Compile Condition="$(BuildingOutsideDiagnostics)" Include="**/*.cs" />
</ItemGroup>
</Project>

0 comments on commit 70df1f5

Please sign in to comment.