fix a bug in the default TFM define generation
This commit is contained in:
parent
8b12fa9ffe
commit
b25c2743ca
1 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,10 @@ namespace NuGet.Frameworks
|
|||
}
|
||||
|
||||
var versionPart = original.Substring(index);
|
||||
if (versionPart.Length >= 2)
|
||||
{
|
||||
return original;
|
||||
}
|
||||
|
||||
// Assume if the version part was preserved then leave it alone
|
||||
if (versionPart.IndexOf('.') != -1)
|
||||
|
|
Loading…
Add table
Reference in a new issue