You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a really bad idea... I have a project that is targeting net462 and I get this error because of this code:
error CS0433: The type 'MemoryExtensions' exists in both 'Microsoft.NET.StringTools.net35, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
The trouble is that we have control over the dependency tree:
...and the code that's failing is source generated.
Issue Description
#5663 introduced public extensions methods:
msbuild/src/StringTools/InternableString.Simple.cs
Lines 7 to 23 in 5a635cf
This is a really bad idea... I have a project that is targeting net462 and I get this error because of this code:
The trouble is that we have control over the dependency tree:
...and the code that's failing is source generated.
Steps to Reproduce
dotnet new console
Program.cs
:The text was updated successfully, but these errors were encountered: