Open atsushieno opened 6 years ago
I think this is a duplicate of https://github.com/mono/monodevelop/issues/3688
Mmm, not sure if a recent commit (6535850d61af276c8d85ff814207979e7f4173b9) fixed this, but looks related.
Yeah, shoudl be fixed by that. cc @mrward
I am not sure if this is the same problem as that fixed with 6535850. It depends on if the net461 project directly references the .NET Standard assembly or not. If it references the project, which seems likely since it is in the same solution, then the fix in 6535850 has no affect, the facade assemblies should be used in this case anyway.
With VS Mac 7.6.0.1600 (master wrench build) which does not include the 6535850 fix then I do not see any problem in the text editor when the net461 app references the netstandard 2.0 library project.
The problem does occur in VS Mac 7.5.2 stable and with an older VS Mac 7.6.0.1544 (master) wrench build. So it seems as though it is fixed somewhere but is unrelated to the fix in 6535850.
I tried with the latest master (eea3c1f) and the problem is still there.
This also affects debugging experience. I am 1) unable to set breakpoint to Xwt Button event handler, or even 2) such code hangs up even without breakpoints. For 2) I'm not sure if it is monodevelop issue or debugger-libs issue, though. Running the same program without debugger just works.
If I alter any netstandard library with desktop library, then my breakpoints work and code just runs without problem on debugger.
Umm, nevermind. It is always difficult to precisely replicate a project with the same content in different framework :-( I only had slightly different set of files that resulted in difference. Desktop debugger is not functional in the same way as those netstandard2 references. Maybe it is another bug but it's overly complicated to find out repro condition...
Steps to repro:
result:
environment: