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

Stupid CMS not build in VS 2022 I have all .Net versions installed in my PC #17194

Closed
ednsinf opened this issue Oct 5, 2024 · 3 comments
Closed
Labels

Comments

@ednsinf
Copy link

ednsinf commented Oct 5, 2024

Stupid CMS not build in VS 2022 I have all .Net versions installed in my PC

Bug summary

Stupid CMS not build in VS 2022 I have all .Net versions installed in my PC
Severity Code Description Project File Line Suppression State Details
Error (active) NETSDK1045 The current .NET SDK does not support targeting .NET 9.0. Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download Umbraco.Cms, Umbraco.Cms.Api.Common, Umbraco.Cms.Api.Delivery, Umbraco.Cms.Api.Management, Umbraco.Cms.Imaging.ImageSharp, Umbraco.Cms.Imaging.ImageSharp2, Umbraco.Cms.Persistence.EFCore, Umbraco.Cms.Persistence.EFCore.Sqlite, Umbraco.Cms.Persistence.EFCore.SqlServer, Umbraco.Cms.Persistence.Sqlite, Umbraco.Cms.Persistence.SqlServer, Umbraco.Cms.StaticAssets, Umbraco.Cms.Targets, Umbraco.Core, Umbraco.Examine.Lucene, Umbraco.Infrastructure, Umbraco.JsonSchema, Umbraco.PublishedCache.HybridCache, Umbraco.Templates, Umbraco.TestData, Umbraco.Tests.AcceptanceTest.UmbracoProject, Umbraco.Tests.Benchmarks, Umbraco.Tests.Common, Umbraco.Tests.Integration, Umbraco.Tests.UnitTests, Umbraco.Web.Common, Umbraco.Web.UI, Umbraco.Web.Website C:\Program Files\dotnet\sdk\8.0.402\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets 166
Error (active) NETSDK1216 Package Microsoft.Net.Sdk.Compilers.Toolset is not downloaded but it is needed because your MSBuild and SDK versions are mismatched. Ensure version 9.0.100-rc.1.24452.12 of the package is available in your NuGet source feeds and then run NuGet package restore from Visual Studio or MSBuild. Umbraco.Cms, Umbraco.Cms.Api.Common, Umbraco.Cms.Api.Delivery, Umbraco.Cms.Api.Management, Umbraco.Cms.Imaging.ImageSharp, Umbraco.Cms.Imaging.ImageSharp2, Umbraco.Cms.Persistence.EFCore, Umbraco.Cms.Persistence.EFCore.Sqlite, Umbraco.Cms.Persistence.EFCore.SqlServer, Umbraco.Cms.Persistence.Sqlite, Umbraco.Cms.Persistence.SqlServer, Umbraco.Cms.StaticAssets, Umbraco.Cms.Targets, Umbraco.Core, Umbraco.Examine.Lucene, Umbraco.Infrastructure, Umbraco.PublishedCache.HybridCache, Umbraco.Templates, Umbraco.TestData, Umbraco.Tests.Benchmarks, Umbraco.Tests.Common, Umbraco.Tests.Integration, Umbraco.Tests.UnitTests, Umbraco.Web.Common, Umbraco.Web.UI, Umbraco.Web.Website C:\Program Files\dotnet\sdk\9.0.100-rc.1.24452.12\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets 261

Copy link

github-actions bot commented Oct 5, 2024

Hi there @ednsinf!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

  • We'll assess whether this issue relates to something that has already been fixed in a later version of the release that it has been raised for.
  • If it's a bug, is it related to a release that we are actively supporting or is it related to a release that's in the end-of-life or security-only phase?
  • We'll replicate the issue to ensure that the problem is as described.
  • We'll decide whether the behavior is an issue or if the behavior is intended.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot 🤖 🙂

@nikcio
Copy link
Contributor

nikcio commented Oct 6, 2024

Hi @ednsinf

You're trying to build the source code directly which is currently in development for version 15 which is targeting the new .NET 9. As .NET 9 is in preview you will need VS 2022 Preview to install this version before its stable release: https://visualstudio.microsoft.com/vs/preview/

This is not a bug of Umbraco but a local installation problem.

If you want to create an Umbraco install you're properly not looking to use the source code directly but rather install the NuGet package with the version of the CMS you want to use. You can use the installation guide found in the documentation to get started: https://docs.umbraco.com/umbraco-cms/fundamentals/setup/install

@Zeegaan
Copy link
Member

Zeegaan commented Oct 7, 2024

Heyo, as @nikcio already provided an excellent explanation, I will go ahead and close this.
Please also keep the tone friendly when posting issues. 🐛

@Zeegaan Zeegaan closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2024
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

3 participants