File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 99 analyzers, which run during build. Refer to https://aka.ms/fxcopanalyzers to migrate to FxCop analyzers."
1010 -->
1111 <SuppressLegacyCodeAnalysisDeprecatedWarning >true</SuppressLegacyCodeAnalysisDeprecatedWarning >
12+ <!-- Workaround continued use of netcoreapp2.1; suppress the NETSDK1138 warning. -->
13+ <CheckEolTargetFramework >false</CheckEolTargetFramework >
1214 </PropertyGroup >
15+
1316</Project >
Original file line number Diff line number Diff line change 4848 if (versionInfo != null && versionInfo.ProductVersion != null)
4949 {
5050 toParse = versionInfo.ProductVersion;
51+ int index = toParse.IndexOfAny(new[] {'-', '+'});
52+ if (index > 0)
53+ {
54+ toParse = toParse.Substring(0, index);
55+ }
5156 }
5257 else
5358 {
You can’t perform that action at this time.
0 commit comments