Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dotnet-6 tag to actually target .net 6 #528

Open
robertbjarum opened this issue Mar 31, 2023 · 0 comments
Open

Fix dotnet-6 tag to actually target .net 6 #528

robertbjarum opened this issue Mar 31, 2023 · 0 comments
Labels

Comments

@robertbjarum
Copy link
Contributor

Please create a new tag dotnet-6 that actually targets .NET 6 and not .NET 7.

I downloaded the asset dotnet-6.zip from GitHub https://github.com/ardalis/CleanArchitecture/archive/refs/tags/dotnet-6.zip

Noticed that all the projects were targeting .NET 7.

I want to stick with .NET 6 a bit longer, so I modified the project files to target .NET 6 as expected.

However, then I get build error due to incompatible Microsoft.NET libraries.

Modified Directory.Packages.props from 7.0.0 to

<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.0" />
<PackageVersion Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="6.0.0" />

Then it builds.

@ardalis ardalis added the bug label Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants