Why is LC Task not supported with .NET Core? #13035
Unanswered
JanThomas118
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am talking about the following Code snippet. https://github.com/dotnet/msbuild/blob/main/src/Tasks/LC.cs#L94-L107
This prevents handling of licx files for .net framework applications with
dotnet build
. Insteadmsbuild.exe
must be used.This is annoying because the UX of dotnet build is much nicer and in my measurements it is considerably faster. (Even if
msbuild.exe /m
is used)I understand that lc.exe is obviously not supported on non-windows platforms and that there is no intention of porting it.
But this Task is just calling an external executable and should be able to run on .net-core on windows.
In my head the method would look something like this and the preprocessor directive would be removed:
I did read trough #1462 and honestly did find a convincing answer.
I did ask this on the msbuild repo before but they told me that they don't really own the code: dotnet/msbuild#11511
Beta Was this translation helpful? Give feedback.
All reactions