File tree 2 files changed +5
-4
lines changed
src/Agent/NewRelic/Agent/Core
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -350,8 +350,11 @@ private void LogInitialized()
350
350
}
351
351
}
352
352
353
-
353
+ #if NETSTANDARD
354
354
Log . Debug ( $ ".NET Runtime Version: { RuntimeInformation . FrameworkDescription } ") ;
355
+ #else
356
+ Log . Debug ( $ ".NET Runtime Version: { AppDomain . CurrentDomain . SetupInformation . TargetFrameworkName } ") ;
357
+ #endif
355
358
}
356
359
357
360
#if NETFRAMEWORK
Original file line number Diff line number Diff line change 70
70
<!-- .NET Framework needs to use the legacy gRPC library -->
71
71
<PackageReference Include =" Grpc" Version =" 2.46.6" />
72
72
<PackageReference Include =" Grpc.Core" Version =" 2.46.6" />
73
- <PackageReference Include =" System.Runtime.InteropServices.RuntimeInformation" Version =" 4.3.0" />
74
73
<PackageReference Include =" System.Threading.Tasks.Extensions" Version =" 4.6.0" />
75
74
</ItemGroup >
76
75
122
121
<ILRepackInclude Include =" @(PossibleRefsForILRepack)" Condition =" '%(FileName)' == 'System.Buffers'" />
123
122
<ILRepackInclude Include =" @(PossibleRefsForILRepack)" Condition =" '%(FileName)' == 'System.Memory'" />
124
123
<ILRepackInclude Include =" @(PossibleRefsForILRepack)" Condition =" '%(FileName)' == 'System.Runtime.CompilerServices.Unsafe'" />
125
- <ILRepackInclude Include =" @(PossibleRefsForILRepack)" Condition =" '%(FileName)' == 'System.Runtime.InteropServices.RuntimeInformation'" />
126
124
<ILRepackInclude Include =" @(PossibleRefsForILRepack)" Condition =" '%(FileName)' == 'System.Threading.Tasks.Extensions'" />
127
125
<ILRepackInclude Include =" @(PossibleRefsForILRepack)" Condition =" '%(FileName)' == 'System.ValueTuple'" />
128
126
</ItemGroup >
137
135
</ItemGroup >
138
136
139
137
<PropertyGroup >
140
- <ILRepackIncludeCount Condition =" '$(TargetFramework)' == 'net462'" >20 </ILRepackIncludeCount >
138
+ <ILRepackIncludeCount Condition =" '$(TargetFramework)' == 'net462'" >19 </ILRepackIncludeCount >
141
139
<ILRepackIncludeCount Condition =" '$(TargetFramework)' == 'netstandard2.0'" >17</ILRepackIncludeCount >
142
140
</PropertyGroup >
143
141
You can’t perform that action at this time.
0 commit comments