https://bugs.winehq.org/show_bug.cgi?id=37633
--- Comment #6 from Anastasius Focht focht@gmx.net --- Created attachment 50093 --> https://bugs.winehq.org/attachment.cgi?id=50093 .NET 2.0 console app using System.Net.WebClient().DownloadString
Hello folks,
attached is the small .NET 2.0 executable (3K) for testing purpose.
VirusTotal (Google owned) scan report of the attachment: https://www.virustotal.com/en/file/91061550f82895ba782e075e1ee1e26cf90bfe434...
You can easily (re)create it on your own by using 'winetricks dotnet20sdk' on clean 32-bit WINEPREFIX which installs .NET Framework 2.0 and the SDK.
Create a text file 'bug37633.cs' with following content:
--- snip --- using System;
namespace bug37557 { class Program { static void Main(string[] args) { String xml = new System.Net.WebClient().DownloadString("https://raw.githubusercontent.com/Epix37/Hearthstone-Deck-Tracker/master/Hea..."); Console.WriteLine(xml); } } } --- snip ---
Compile it to .NET executable using the SDK C# compiler.
--- snip --- $ wine "C:\windows\Microsoft.NET\Framework\v2.0.50727\csc.exe" /debug+ bug37633.cs ... Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42 for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727 Copyright (C) Microsoft Corporation 2001-2005. All rights reserved. ... --- snip ---
--- quote --- Did you run in mono? --- quote ---
No, since OP used MS .NET Framework (his app uses WPF so it's obvious).
Regards