Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 02b11ee

Browse files
authored
Merge pull request #32266 from weshaggard/PinDiagnosticSourceVersion
Pin version of S.D.DiagnosticSource on non-netfx platforms
2 parents be79afd + 76b3ac0 commit 02b11ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/System.Diagnostics.DiagnosticSource/ref/System.Diagnostics.DiagnosticSource.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44
<PropertyGroup>
55
<ProjectGuid>{3DF9A5D5-3D4B-4378-9B55-CFA6AC0114D9}</ProjectGuid>
6+
<!-- Must match version supported by frameworks which support 4.0.* inbox.
7+
Can be removed when API is added and this assembly is versioned to 4.1.* -->
8+
<AssemblyVersion Condition="'$(TargetsNetFx)' != 'true'">4.0.3.0</AssemblyVersion>
69
</PropertyGroup>
710
<PropertyGroup Condition="'$(TargetGroup)' == 'net45' OR '$(TargetGroup)' == 'netfx'">
811
<DefineConstants>$(DefineConstants);ALLOW_PARTIALLY_TRUSTED_CALLERS</DefineConstants>

0 commit comments

Comments
 (0)