✅ .NET SDK does not support targeted version

I recently tried updating my target framework from .net6 to .net 8 by setting the target project to .net 8 and now im getting an error that the .NET SDK does not support .net8
No description
8 Replies
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
restingphantom
restingphantomOP7mo ago
I updated my SDK and things seem to be working again, except for my migrations as I now get a authentication error nevermind shits way worse
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
restingphantom
restingphantomOP7mo ago
where can I find that
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
restingphantom
restingphantomOP7mo ago
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>HTXL_Back_end</RootNamespace>
<UserSecretsId>c33707bf-f6fc-49b5-b0b6-3dbc1bd6d83e</UserSecretsId>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.4" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.4" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.4" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.2" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0"/>
<PackageReference Include="Swashbuckle.AspNetCore.Filters" Version="8.0.2"/>
</ItemGroup>

<ItemGroup>
<_ContentIncludedByDefault Remove="Views\Sdg\Create.cshtml"/>
<_ContentIncludedByDefault Remove="Views\Sdg\Delete.cshtml"/>
<_ContentIncludedByDefault Remove="Views\Sdg\Details.cshtml"/>
<_ContentIncludedByDefault Remove="Views\Sdg\Edit.cshtml"/>
<_ContentIncludedByDefault Remove="Views\Sdg\Index.cshtml"/>
</ItemGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>HTXL_Back_end</RootNamespace>
<UserSecretsId>c33707bf-f6fc-49b5-b0b6-3dbc1bd6d83e</UserSecretsId>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.4" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.4" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.4" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.2" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0"/>
<PackageReference Include="Swashbuckle.AspNetCore.Filters" Version="8.0.2"/>
</ItemGroup>

<ItemGroup>
<_ContentIncludedByDefault Remove="Views\Sdg\Create.cshtml"/>
<_ContentIncludedByDefault Remove="Views\Sdg\Delete.cshtml"/>
<_ContentIncludedByDefault Remove="Views\Sdg\Details.cshtml"/>
<_ContentIncludedByDefault Remove="Views\Sdg\Edit.cshtml"/>
<_ContentIncludedByDefault Remove="Views\Sdg\Index.cshtml"/>
</ItemGroup>

</Project>
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
restingphantom
restingphantomOP7mo ago
I got things to work again, I had to update al packages and sql was doing some funny things but it seams to be fine again thanks for the help anyways, hopefully nothing breaks again
Want results from more Discord servers?
Add your server