Invalid TrimEnd function usage in Microsoft.NET.TargetFrameworkInference.targets#L51
See original GitHub issue$(TargetFramework.TrimEnd('.0123456789'))
MSBuild Expander doesn’t like this TrimEnd
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
String.TrimEnd Method (System)
The TrimEnd method removes from the current string all trailing white-space characters. The trim operation stops when the first non white-space character is ......
Read more >NETSDK1045: The current .NET SDK does not support ...
NET SDK error NETSDK1045, which occurs when the build tools can't find the requested ... Either target 'older version' or lower, or use...
Read more >Trimming and Removing Characters from Strings in .NET
The String.TrimEnd method removes characters from the end of a string, creating a new string object. An array of characters is passed to...
Read more >Troubleshoot .NET Framework targeting errors
This article provides resolutions for MSBuild errors that might occur because of reference issues.
Read more >Introduction to trim warnings - .NET
Adding RequiresUnreferencedCode will silence all trimming warnings in the given method, but will produce a warning whenever someone else calls ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, it is by design. We want the part of the target framework before the first dot or digit.
I’m going to close this as it’s most likely by design.