You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Event handler is generated and inserted as local function.
Actual Behavior:
Nothing happens
Notes:
I think, Visual Studio needs extra options in the new project dialog, to allow each user to select whether they want top-level statements and/or implicit usings. This would alleviate the pain I have with the new project templates.
from #43563 (comment), apparently this has been a known issue since May 2020.
Because top-level statements are effectively rubbed into one's face when creating a new project (not a good thing at all!), one would have every right to expect this to work.
Every time I try to adapt to this, I get bitten by something. and I am forced back to trusty old class Program.
The text was updated successfully, but these errors were encountered:
I think, Visual Studio needs extra options in the new project dialog, to allow each user to select whether they want top-level statements and/or implicit usings. This would alleviate the pain I have with the new project templates.
I think, Visual Studio needs extra options in the new project dialog, to allow each user to select whether they want top-level statements and/or implicit usings.
I think, Visual Studio needs extra options in the new project dialog, to allow each user to select whether they want top-level statements and/or implicit usings.
Version Used: dev17
Steps to Reproduce:
Expected Behavior:
Event handler is generated and inserted as local function.
Actual Behavior:
Nothing happens
Notes:
I think, Visual Studio needs extra options in the new project dialog, to allow each user to select whether they want top-level statements and/or implicit usings. This would alleviate the pain I have with the new project templates.
from #43563 (comment), apparently this has been a known issue since May 2020.
Because top-level statements are effectively rubbed into one's face when creating a new project (not a good thing at all!), one would have every right to expect this to work.
Every time I try to adapt to this, I get bitten by something. and I am forced back to trusty old
class Program
.The text was updated successfully, but these errors were encountered: