Click here to Skip to main content
15,887,350 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.

 
GeneralRe: .Net 5 Freakin Annoying Pin
Daniel Pfeffer14-Feb-22 23:49
professionalDaniel Pfeffer14-Feb-22 23:49 
GeneralRe: .Net 5 Freakin Annoying Pin
Lorenzo Bertolino15-Feb-22 20:36
professionalLorenzo Bertolino15-Feb-22 20:36 
GeneralRe: .Net 5 Freakin Annoying Pin
Peter Adam15-Feb-22 22:10
professionalPeter Adam15-Feb-22 22:10 
GeneralRe: .Net 5 Freakin Annoying Pin
Member 916705715-Feb-22 20:53
Member 916705715-Feb-22 20:53 
GeneralRe: .Net 5 Freakin Annoying Pin
#realJSOP15-Feb-22 23:20
mve#realJSOP15-Feb-22 23:20 
GeneralRe: .Net 5 Freakin Annoying Pin
Member 916705716-Feb-22 0:02
Member 916705716-Feb-22 0:02 
GeneralRe: .Net 5 Freakin Annoying Pin
maze315-Feb-22 23:47
professionalmaze315-Feb-22 23:47 
GeneralRe: .Net 5 Freakin Annoying Pin
Davyd McColl16-Feb-22 3:24
Davyd McColl16-Feb-22 3:24 
You're looking to add
C#
<Nullable>disable</Nullable>

To a PropertyGroup in your .csproj. You may also want to add the following, since you would already have the usings you want:
C#
<ImplicitUsings>disable</ImplicitUsings>

Nullables kinda make sense because people get silly around the value null, so you can use this feature to get the compiler to do null checks instead of doing them yourself - but I turn this off because otherwise it warns in a lot of places where I'm already considering that. Implicit usings, imo, may make the code seem to be a little more convenient, but then hide the dependencies of the code - and will add in dependencies that you're not using, which is really annoying if you use something like ReSharper to import an unknown type with alt-enter and there happens to be a same-named type in the implicit imports Confused | :confused:

You may also check out dotnet 6, since you're upgrading, and 6 is already RTM.
------------------------------------------------
If you say that getting the money
is the most important thing
You will spend your life
completely wasting your time
You will be doing things
you don't like doing
In order to go on living
That is, to go on doing things
you don't like doing

Which is stupid.

GeneralRe: .Net 5 Freakin Annoying Pin
#realJSOP16-Feb-22 23:41
mve#realJSOP16-Feb-22 23:41 
GeneralRe: .Net 5 Freakin Annoying Pin
zezba900016-Feb-22 9:45
zezba900016-Feb-22 9:45 
GeneralRe: .Net 5 Freakin Annoying Pin
#realJSOP16-Feb-22 23:38
mve#realJSOP16-Feb-22 23:38 
GeneralRe: .Net 5 Freakin Annoying Pin
zezba900017-Feb-22 7:54
zezba900017-Feb-22 7:54 
QuestionDo you think it is possible for exoplanetary colonization?... Pin
oofalladeez34314-Feb-22 5:26
professionaloofalladeez34314-Feb-22 5:26 
AnswerRe: Do you think it is possible for exoplanetary colonization?... Pin
Sander Rossel14-Feb-22 5:29
professionalSander Rossel14-Feb-22 5:29 
JokeRe: Do you think it is possible for exoplanetary colonization?... Pin
Daniel Pfeffer14-Feb-22 5:50
professionalDaniel Pfeffer14-Feb-22 5:50 
GeneralRe: Do you think it is possible for exoplanetary colonization?... Pin
englebart14-Feb-22 14:57
professionalenglebart14-Feb-22 14:57 
AnswerRe: Do you think it is possible for exoplanetary colonization?... Pin
TNCaver14-Feb-22 5:30
TNCaver14-Feb-22 5:30 
GeneralRe: Do you think it is possible for exoplanetary colonization?... Pin
oofalladeez34314-Feb-22 6:03
professionaloofalladeez34314-Feb-22 6:03 
AnswerRe: Do you think it is possible for exoplanetary colonization?... Pin
PIEBALDconsult14-Feb-22 5:35
mvePIEBALDconsult14-Feb-22 5:35 
GeneralRe: Do you think it is possible for exoplanetary colonization?... Pin
oofalladeez34314-Feb-22 5:49
professionaloofalladeez34314-Feb-22 5:49 
AnswerRe: Do you think it is possible for exoplanetary colonization?... Pin
fgs196314-Feb-22 5:42
fgs196314-Feb-22 5:42 
GeneralRe: Do you think it is possible for exoplanetary colonization?... Pin
jeron114-Feb-22 6:04
jeron114-Feb-22 6:04 
AnswerRe: Do you think it is possible for exoplanetary colonization?... Pin
Jo_vb.net14-Feb-22 6:04
mvaJo_vb.net14-Feb-22 6:04 
GeneralRe: Do you think it is possible for exoplanetary colonization?... Pin
CodeWraith14-Feb-22 6:43
CodeWraith14-Feb-22 6:43 
AnswerRe: Do you think it is possible for exoplanetary colonization?... Pin
Slacker00714-Feb-22 6:32
professionalSlacker00714-Feb-22 6:32 

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.