VB -> C#: NullReferenceException when using the VS extension with .NET Standard #398
Labels
exception caught
An exception is caught (and stacktrace provided)
help wanted
VB -> C#
Specific to VB -> C# conversion
Hello,
I am trying to convert some VB.NET code to C# using the Visual Studio extension in VS2019.
When I try to convert a file containing the input code below, an error message is shown:
No output file is generated. The same happens with other source files in the project as well, so it is probably no quirk of the code itself.
The solution contains both .NET Standard and .NET Framework projects, and weirdly this only occurs in .NET Standard (2.0) VB.NET projects. In .NET Framework both VB->C# and C#->VB works, in .NET Standard only C#->VB works.
I have no real clue why. I installed the extension by downloading the installer from the marketplace, instead of installing from the extension manager.
By virtue of the nice async/await stack traces I wasn't really able to find the code where it occurs :-)
Thanks for the work you put in!
Cheers
Jens
Input code
Details
The text was updated successfully, but these errors were encountered: