Resolved the current .net sdk does not support the targeting .net 6.0

Joined
Feb 9, 2023
Messages
16
Programming Experience
10+
Hello all,

woke up this morning booted up my pc and got this error
the current .net sdk does not support the targeting .net 6.0

i not made any changes to sdk

it has taken me to this line of code,

Trigger an error if targeting a higher version of .NET Core or .NET Standard than is supported by the current SDK.
-->
<Target Name="_CheckForUnsupportedNETCoreVersion" BeforeTargets="_CheckForInvalidConfigurationAndPlatform;Restore;CollectPackageReferences"
Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' And '$(NETCoreAppMaximumVersion)' != ''">

<NETSdkError Condition="'$(_TargetFrameworkVersionWithoutV)' > '$(NETCoreAppMaximumVersion)'"
ResourceName="UnsupportedTargetFrameworkVersion"
FormatArguments=".NET;$(_TargetFrameworkVersionWithoutV);$(NETCoreAppMaximumVersion)"
/>
</Target>

https://winpic.co/7Ze6053164129.png ,
any help would be much appricated
kind regards,
Mion.
 
windows 11 defaulted to visual studio 19 when program was made in 22 ( changed back default program to visual studio 2019 sorry for incontinence you may delete )
 

Latest posts

Back
Top Bottom