http://bugs.winehq.org/show_bug.cgi?id=18106
Summary: Visual C# 2005 Express: Form Designer is blank on first run, the gives memory error Product: Wine Version: 1.1.19 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: nonesuchnick@gmail.com
Created an attachment (id=20540) --> (http://bugs.winehq.org/attachment.cgi?id=20540) Memory error when trying to open the Form Designer
I installed under a clean Wine prefix. I ran winetricks -q dotnet20 msxml6 I installed Visual C# 2005 Express from the .iso image. I always close the Startup window when Visual C# opens right away to prevent the
When I try to create a new "Windows Application" project, and click on Form1.cs to open the Designer, the form does not display and the designer is blank. Choosing Designer from the menus displays the same, and even adding a new form to the project has the same result.
Clicking on the blank area does update the Properties window with the details of the Form.
Closing Visual C# and opening again, I'm now getting a popup error when clicking on the Form1.cs to load the designer: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." I've attached a screenshot of this. In the output window on the bottom, the error is listed as well as an MSBuild error, even though I didn't try to build or debug. This also happens now if I try to create a new WindowsApplication project from the template. I get the popup right away when the project loads, without even clicking on the form. When exiting Visual C#, after the UI is closed, an error dialog pops up telling me "Microsoft Visual C# has encountered a problem and needs to close." I uncheck restart and click Don't Send. I've also attached a screenshot.
Checking my system processes, I see that WindowsApplication1.exe is still running under wine, even though I never started debug or compiled. If I kill this and let wine stop, and then open VC# and try again, the process repeats. It seems like the only time I didn't get any error loading the Form Designer was the first run after install, but I still only had a blank white screen. I also went through Tools->Options and when trying to view/set the Windows Forms Designer options on the right hand side I get "An error occured loading this property page." and nothing else.
I'll try the Windows trick of rebooting and see if that makes a difference. Anyone encountered this before or know if I have to install any other libraries?
http://bugs.winehq.org/show_bug.cgi?id=18106
--- Comment #1 from Nicholas Doyle nonesuchnick@gmail.com 2009-04-19 01:24:40 --- Created an attachment (id=20541) --> (http://bugs.winehq.org/attachment.cgi?id=20541) Error on closing Visual C# Express
http://bugs.winehq.org/show_bug.cgi?id=18106
Nicholas Doyle nonesuchnick@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #20541|application/octet-stream |image/png mime type| |
http://bugs.winehq.org/show_bug.cgi?id=18106
Nicholas Doyle nonesuchnick@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Visual C# 2005 Express: Form|Visual C# 2005 Express: Form |Designer is blank on first |Designer is blank on first |run, the gives memory error |run, then gives memory error
http://bugs.winehq.org/show_bug.cgi?id=18106
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #2 from Anastasius Focht focht@gmx.net 2009-04-19 11:59:55 --- Hello,
please stick to *one* problem as various Visual Studio versions still suffer from a large number of bugs.
For the issues you reported I picked out the interesting one and created a new bug 18114 for it.
--- quote --- Checking my system processes, I see that WindowsApplication1.exe is still running under wine, even though I never started debug or compiled. If I kill this and let wine stop, and then open VC# and try again, the process repeats. --- quote ---
This is by design. When you load an application project, a "hosting process" is created in background - even if you didn't start debugging.
The process improves the build->run performance by pre-creating an application domain for managed apps (which is a very costly operation), partial trust debugging (hence the separate/special app domain) and design time expression evaluation.
Regards
http://bugs.winehq.org/show_bug.cgi?id=18106
--- Comment #3 from Nicholas Doyle nonesuchnick@gmail.com 2009-04-19 17:23:46 --- Hi Anastasius,
I wasn't sure if the issues were related, so I wanted to report exactly what was happening while I tried to use the application. If you like, I can remove the crash after exit from the description (and the screenshot). My main reason for filing this bug was the errors trying to use/load the form designer. Can you confirm this is an issue for you as well? I can't imagine many people finding VC# too useful on wine without being able to create a Windows GUI Application (though I understand that not long ago it wouldn't even install, so things have already come a long way :).
This is my first wine bug report, so if there's anything else that you need me to do (ie. traces, logs, etc) please let me know.
Thanks, Nick
http://bugs.winehq.org/show_bug.cgi?id=18106
--- Comment #4 from Anastasius Focht focht@gmx.net 2009-04-26 12:47:41 --- Hello,
--- quote --- My main reason for filing this bug was the errors trying to use/load the form designer. Can you confirm this is an issue for you as well? I can't imagine many people finding VC# too useful on wine without being able to create a Windows GUI Application (though I understand that not long ago it wouldn't even install, so things have already come a long way :). --- quote ---
Sure. I documented showstoppers/blockers in appropriate appdb entries. The blocker here is the clipboard format handling. Although there has been considerable work in this area between 1.1.19 and 1.1.20 it's still not sufficient for VS.NET forms designer.
First bug is when the app asks if a previously registered (custom) clipboard format is available, Wine actually queries the data list instead of clipboard format list which is incorrect (would fail anyway because there is no data in this (custom) format inserted yet).
VS.NET registers a crapload of custom clipboard formats.
Regards
http://bugs.winehq.org/show_bug.cgi?id=18106
--- Comment #5 from Austin English austinenglish@gmail.com 2009-10-29 15:26:17 --- Is this still an issue in current (1.1.32 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=18106
--- Comment #6 from Nicholas Doyle nonesuchnick@gmail.com 2009-10-30 01:08:45 --- Yes, my wine version is now 1.1.32, and I can confirm that the form designer still does not load, and I still receive the "Attempted to read/write protected memory" error when trying to view a form in the designer.
Furthermore, after getting the error, closing Visual C# caused the same "This application has encountered a problem..." crash as before. Perhaps the crash I am seeing is/was not related to bug 18114, but rather to the errors caused by the designer?
I verified that opening and closing Visual C# both with and without loading a project does NOT cause a crash on close. The crash on exit only seems to occur if I have also had the error loading the designer.
I have not tried to reinstall Visual C# Express under a blank wine prefix with this new version of wine, is this something that I should try? If there are any logs or traces you need, I would be glad to try and do this is someone can point me towards a quick tutorial on how to do this under wine.
Thanks, Nick
http://bugs.winehq.org/show_bug.cgi?id=18106
Richard shiningarcanine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #7 from Richard shiningarcanine@gmail.com 2010-06-11 11:06:04 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=18106
butraxz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz@gmail.com
--- Comment #8 from butraxz@gmail.com 2012-05-21 14:08:50 CDT --- This bug has not been updated for three years. Is this still an issue i current (1.5.4) or newer wine ? You may also close this as abandoned if you feel that that this is issue is no longer relevant to you.
http://bugs.winehq.org/show_bug.cgi?id=18106
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download Status|NEW |RESOLVED URL| |http://download.microsoft.c | |om/download/3/f/4/3f435aaa- | |49ce-44c3-a2cc-d40bca9af941 | |/ENU/vcssetup.exe Resolution| |FIXED
--- Comment #9 from Anastasius Focht focht@gmx.net 2012-05-21 14:53:09 CDT --- Hello,
this works quite nicely now. The form designer is immediately shown after creating the Windows Forms application using wizard. You can drop controls (button) from toolbox and add event handlers. Running/debugging also works.
Marking fixed.
$ wine --version wine-1.5.4-185-g6c51c1b
Regards
http://bugs.winehq.org/show_bug.cgi?id=18106
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2012-05-25 13:40:50 CDT --- Closing bugs fixed in 1.5.5.
https://bugs.winehq.org/show_bug.cgi?id=18106
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.microsoft.c |https://web.archive.org/web |om/download/3/f/4/3f435aaa- |/20190127082540/http://down |49ce-44c3-a2cc-d40bca9af941 |load.microsoft.com/download |/ENU/vcssetup.exe |/A/9/1/A91D6B2B-A798-47DF-9 | |C7E-A97854B7DD18/VC.iso