https://bugs.winehq.org/show_bug.cgi?id=51396
--- Comment #2 from Roman Pišl rpisl@seznam.cz --- (In reply to Piotr Caban from comment #1)
Is it possible to reproduce it locally? Could you please describe the command line and attach a sample file that triggers mentioned crash?
I observed this with MSVC 2019 build tools installed (winetricks -q vstools2019). Then git clone https://github.com/carterjones/hello-world-dll.git. Make sure vcruntime140_1 is not overridden. Remove Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/vctip.exe.
Then the following command should reproduce it (you can try Configuration=Debug if not):
wine "c:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/MSBuild/Current/Bin/amd64/MSBuild.exe" hello-world-dll/hello-world.vcxproj /p:PlatformToolset=v142 /p:Platform=x64 /p:Configuration=Release
If you prefer a simpler scenario (i.e. just cl.exe + source, without installing build tools which also needs dotnet 4.7.2), then I can try to prepare something, but it will take some time.