Click here to Skip to main content
15,881,709 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
JokeBrewster Rockit encounters MicroSith Pin
raddevus16-Mar-22 4:10
mvaraddevus16-Mar-22 4:10 
GeneralRe: Brewster Rockit encounters MicroSith Pin
RickZeeland16-Mar-22 4:17
mveRickZeeland16-Mar-22 4:17 
GeneralRe: Brewster Rockit encounters MicroSith Pin
raddevus16-Mar-22 4:20
mvaraddevus16-Mar-22 4:20 
GeneralRe: Brewster Rockit encounters MicroSith Pin
RickZeeland16-Mar-22 4:26
mveRickZeeland16-Mar-22 4:26 
GeneralRe: Brewster Rockit encounters MicroSith Pin
raddevus16-Mar-22 5:02
mvaraddevus16-Mar-22 5:02 
GeneralRe: Brewster Rockit encounters MicroSith Pin
RickZeeland16-Mar-22 7:13
mveRickZeeland16-Mar-22 7:13 
GeneralRe: Brewster Rockit encounters MicroSith Pin
Richard MacCutchan16-Mar-22 5:16
mveRichard MacCutchan16-Mar-22 5:16 
RantWhose idea was this in C\? Pin
OriginalGriff16-Mar-22 2:06
mveOriginalGriff16-Mar-22 2:06 
Since I'm moving to VS2022, I've decided to reorganise my (rather chaotic) library and utility code base: some of it is still building for x86 in a 64 bit world, and there are a lot of possible DLL's / projects to include in new project reference.

So I've set aside a couple of days to reorganise it all into four Solutions:
Templates (for VS templates as I have to regenerate them each time I move to a new version, and I use half a dozen or so)
Utility Code (which is generic and doesn't interact with DB's, Displays, etc).
Utility Controls
Utility Applications

So, I create my first Template project - a Class Library with my default Regions added, an automatic Timestamp, and (later) the standard references to the Utility Code. Based on teh VS Class Library template.
Compile, it's fine. Export as a template, work around MS lies, get it recognised as a template I can use in a C\ app.

Create the new Utility Code project, using the "Class Library with Regions" template.
Add the first CS file from the previous layout.
Add the second ... Wait a minute ... what are those red lines?

Who the Elephant | [mastadon] decided that reference types would default to non-nullable in C# 8.0?

That's a breaking change you halfwit! Mad | :mad:

Massive sections of my code no longer compile any more due to this stupidity.
I see what you were trying to do, but making it a breaking change is just moronic - and means I have to disable iot globally and slowly work my way into it - particularly as many default method parameters use null.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Whose idea was this in C\? Pin
Slacker00716-Mar-22 2:19
professionalSlacker00716-Mar-22 2:19 
GeneralRe: Whose idea was this in C\? Pin
Member 1194113117-Mar-22 14:22
Member 1194113117-Mar-22 14:22 
GeneralRe: Whose idea was this in C\? Pin
lmoelleb16-Mar-22 3:37
lmoelleb16-Mar-22 3:37 
GeneralRe: Whose idea was this in C\? Pin
raddevus16-Mar-22 4:01
mvaraddevus16-Mar-22 4:01 
GeneralRe: Whose idea was this in C\? Pin
OriginalGriff16-Mar-22 5:00
mveOriginalGriff16-Mar-22 5:00 
GeneralRe: Whose idea was this in C\? PinPopular
obermd16-Mar-22 5:06
obermd16-Mar-22 5:06 
GeneralRe: Whose idea was this in C\? Pin
Greg Utas16-Mar-22 5:25
professionalGreg Utas16-Mar-22 5:25 
JokeRe: Whose idea was this in C\? Pin
Randor 16-Mar-22 6:11
professional Randor 16-Mar-22 6:11 
GeneralRe: Whose idea was this in C\? Pin
Greg Utas16-Mar-22 6:16
professionalGreg Utas16-Mar-22 6:16 
QuestionRe: Whose idea was this in C\? Pin
Randor 16-Mar-22 6:45
professional Randor 16-Mar-22 6:45 
AnswerRe: Whose idea was this in C\? Pin
Greg Utas16-Mar-22 7:01
professionalGreg Utas16-Mar-22 7:01 
JokeRe: Whose idea was this in C\? Pin
Randor 16-Mar-22 11:01
professional Randor 16-Mar-22 11:01 
GeneralRe: Whose idea was this in C\? Pin
Keefer S17-Mar-22 2:51
Keefer S17-Mar-22 2:51 
PraiseRe: Whose idea was this in C\? Pin
Randor 17-Mar-22 5:05
professional Randor 17-Mar-22 5:05 
GeneralRe: Whose idea was this in C\? Pin
Kate-X25717-Mar-22 4:57
Kate-X25717-Mar-22 4:57 
GeneralRe: Whose idea was this in C\? Pin
Greg Utas17-Mar-22 6:00
professionalGreg Utas17-Mar-22 6:00 
GeneralRe: Whose idea was this in C\? Pin
Ralph Trickey17-Mar-22 11:31
Ralph Trickey17-Mar-22 11:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.