@davidwengier@aus.social
@davidwengier@aus.social avatar

davidwengier

@davidwengier@aus.social

Roslyn and Razor tooling dev on the .NET team @ Microsoft, Melburnian, fan of Lego, C#, and lifelong class clown.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

aeveltstra, to mswindows
@aeveltstra@mastodon.social avatar

I created a sample form for using via :
https://gist.github.com/aeveltstra/2da6ef5a7dd93c4d44e24f9cde9fc676

The most difficult thing about this script was to get the form and the tab control to size to their contents. That doesn't happen automatically. At Powershell level, the control size appears to have a Height and Width property that can be set. That is not the case on my Powershell and Windows 10 Pro. I had to create a System.Drawing.Size object and assign that to the size property.

davidwengier,
@davidwengier@aus.social avatar

@aeveltstra perhaps look into the Dock property?

decryption, to random
@decryption@aus.social avatar

can't complain about false advertising when this thing sets fire to your house, it's right there in the ad

davidwengier,
@davidwengier@aus.social avatar

@decryption I have quite a few of these, they work great, and no fire yet…. but I could have done without you putting the thought in my head 😛

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I see folks are having a normal week. 🤣

davidwengier,
@davidwengier@aus.social avatar

@khalidabuhakmeh my week is pretty normal 🤷‍♂️

davidwengier,
@davidwengier@aus.social avatar

@khalidabuhakmeh im just a .NET folk, standing in front of a vague-tooter…

decryption, to random
@decryption@aus.social avatar

don’t panic, nothing to see here

davidwengier,
@davidwengier@aus.social avatar

@decryption thank god they’re still willing to participate in programs that give them money from governments. I was worried they weren’t going to stick to their true values.

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

🔮 We’re doing a in the FUTURE today with Chris Simon. (Actually, he’s just in Australia, but he’s a full day ahead!)

👨‍🏫 He’ll teach us about , , and . Please come hang out in the chat. It's always so lively and fun.

👍 Boosts appreciated.

https://www.youtube.com/watch?v=gXz7gKtRVpM

davidwengier,
@davidwengier@aus.social avatar

@khalidabuhakmeh oohhh a stream from Australia it must be at a time I can … no

alvinashcraft, to dotnet
@alvinashcraft@hachyderm.io avatar

Dew Drop – April 22, 2024 ()

Top links:

  • How to create a trial version for a C# Windows Forms app
  • Will Visual Studio be migrated to .NET Core and become multi-platform?
  • React Native Radio - RIP App Center and other news
  • Wolverine's new PostgreSQL messaging transport
  • A short guide to mastering keyboard shortcuts on GitHub
  • Build your first ML Model with ML.NET Model Builder

https://www.alvinashcraft.com/2024/04/22/dew-drop-april-22-2024-4174/

davidwengier,
@davidwengier@aus.social avatar

@alvinashcraft “Will Visual Studio be migrated to .NET? Let’s start by completely ignoring all of the native DLLs that ship in it…” 😂

davidwengier, to random
@davidwengier@aus.social avatar

I’m going to need a big “VS supports a lot more than MSBuild/.NET” sign, for tapping purposes, aren’t I?

xoofx, to dotnet
@xoofx@mastodon.social avatar

As spotted by @mzikmund https://www.youtube.com/watch?v=wzMMclD8QsI there is a potential new slnx format coming to Visual Studio, which is very welcome, but it might not be MSBuild based which is quite an unexpected and unproductive solution (haha 😁)

So, just shared my comment on the issue directly https://developercommunity.visualstudio.com/t/Clean-up-sln-VisualStudio-solution-fil/988209#T-N10636836 📢

Note that, it's not like I love MSBuild, but it is what we have today for authoring and building projects in VS/cmdline and so, let's not repeat the project.json mistake. 👀

davidwengier,
@davidwengier@aus.social avatar

@khalidabuhakmeh @nietras @xoofx @mzikmund mummy why is Khalid walking around inside that glass house holding a very large rock?

davidwengier,
@davidwengier@aus.social avatar

@xoofx @mzikmund I think it would be awesome if they just used msbuild, but we do need to remember there are lots of teams out there who use VS and don’t know what msbuild is (probably… I haven’t actually asked)

davidwengier,
@davidwengier@aus.social avatar

@khalidabuhakmeh @nietras @xoofx @mzikmund you’re conflating .NET and VS. when was VS promised to be open source?

Let me put it in these terms: I suspect it’s possible for someone to work on the IntelliJ platform and not know what .NET is, let alone MSBuild, or have an account on GitHub. The same is theoretically true for someone who works on parts of VS.

In fact the solution file reading code in VS was rewritten in C# within the last year or so, but was entirely C++ before that.

davidwengier,
@davidwengier@aus.social avatar

@khalidabuhakmeh @xoofx @mzikmund thank you, that’s a great example of VS having other ecosystems to support than just .NET 😀

(Also I’ve never heard of “uproject”, so a great example of how little authority I have while writing these toots, just in case anyone thought otherwise. Love you all)

davidwengier,
@davidwengier@aus.social avatar

@khalidabuhakmeh @nietras @xoofx @mzikmund you’re preaching to the choir. “dotnet new” doesn’t create a solution file so why do I need one? VS doesn’t need solution files and can open a folder, but the experience is nowhere near as good, why?

I wish all of these things were fixed, I wish everyone could be happy, and everything could be better. Sadly it’s a huge company made of lots of tiny teams.

Which is why “just use msbuild” sadly isn’t an option. is not necessarily the slam dunk win that we all think it would be.

davidwengier,
@davidwengier@aus.social avatar

@KirillOsenkov @khalidabuhakmeh @nietras @xoofx @mzikmund yeah, that was a poor choice of words. I have no doubt the idea was part of the discussions (I wasn’t though, so just guessing), so it definitely is/was “an option”, it’s just not surprising to me that it isn’t a slam dunk answer to the VS team.

davidwengier, to random
@davidwengier@aus.social avatar

Just in: the official David Wengier discord has more members than the official Joe Exotic discord. Fucking winning.

davidwengier,
@davidwengier@aus.social avatar

@khalidabuhakmeh according to @chethusk there is zero content there. But I don’t know why he is looking at my discord in the first place.

davidwengier, to CSharp
@davidwengier@aus.social avatar

I love talking about C#, so I listen to every podcast episode Mads is on so I can pretend I’m having a conversation with him. Helps that I like listening to people talk about C# just as much 😀

https://overcast.fm/+BHQDyOH84Y

decryption, to random
@decryption@aus.social avatar

deleted_by_author

  • Loading...
  • davidwengier,
    @davidwengier@aus.social avatar

    @decryption @jamesh my first ever job had a comb binding machine. I used to start early, well before any other devs turned up. I printed and bound so many things.

    Not sure I can remember reading any of them…

    patriksvensson, to random
    @patriksvensson@mstdn.social avatar

    Is this (the access modifiers) something that can be solved with a source generator (or any other way)?

    davidwengier,
    @davidwengier@aus.social avatar

    @patriksvensson yes, if you declare all of your classes as partial, you could have access modifiers declared in a source generated file that just contains the other half. Attributes could be on either, or both.

    eg https://sharplab.io/#v2:CYLg1APgAgDABFAjAOgMIHsC2AHdA7AUzwBcBZdYAgGwG4BYAKFgRQBEBLAQwHM90BnYuwDG/eg0YBtVgQBmnAK5ViAUQBuRYgAoARAAsdASgC6jbJwBOQzlQQAmOKkYBvRnHcB6D4IWzZcPQILAkYAX0ZGLzh2PDhOPmJAizhZdioQhmkCfmELdmwhfFMmAGY4cysuWygHVBogA

    davidwengier, to random
    @davidwengier@aus.social avatar

    It’s kinda sad how bad Lego’s colour consistency is, considering how much they charge for these little bricks.

    Stupid things that bring joy, yet aren’t perfect.

    ICooper, to dotnet
    @ICooper@hachyderm.io avatar

    We may need a simpler repro of the issue, but for now we would advise against using a Primary Constructor for a Brighter Handler. We are seeing an issue where the arguments are null for a primary constructor, but non-null for an explicit constructor.

    My guess would be that the compiler cannot understand that the handler is invoked at runtime.

    davidwengier,
    @davidwengier@aus.social avatar

    @ICooper are they actually null? Or do they just appear that way in the debugger?

    Lots of people seem to have run into https://github.com/dotnet/roslyn/issues/70730 so it might be worth a quick runtime check to make sure you’re seeing what you’re seeing.

    davidwengier,
    @davidwengier@aus.social avatar

    @khalidabuhakmeh @ICooper a nice reminder of how spoilt we are having good tooling in .NET, that we rarely ever think to question it.

    lizbarr, to random
    @lizbarr@aus.social avatar

    Since learning to drive and hanging out in car corners of the internet, I've discovered that Americans cherish their right to speed almost as much as they love their guns. Like, to the point of claiming that the right to speed is a social justice issue. IT IS STRANGE AND SCARY and also explains a lot about my time in Detroit.

    davidwengier,
    @davidwengier@aus.social avatar

    @khalidabuhakmeh @lizbarr Australia is also big, and also very hard to get around without a vehicle sadly. Our speed limits are lower, and strictly enforced.

    davidwengier, to random
    @davidwengier@aus.social avatar

    I think this is the first ever Visual Studio release notes where one of my screenshots is present, but I haven’t snuck my name in it anywhere. I’m slipping.

    davidwengier,
    @davidwengier@aus.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • khanakhh
  • kavyap
  • thenastyranch
  • everett
  • tacticalgear
  • rosin
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • InstantRegret
  • Youngstown
  • slotface
  • megavids
  • ethstaker
  • ngwrru68w68
  • cisconetworking
  • modclub
  • tester
  • osvaldo12
  • cubers
  • GTA5RPClips
  • normalnudes
  • Leos
  • provamag3
  • anitta
  • lostlight
  • All magazines