ow to get .NET 8 into Visual Studio?

Per 41 Reputation points
2024-02-09T10:38:56.04+00:00

I have Visual Studio Community 2022 version 17.8.6. I have downloaded and installed .NET SDK and runtime. The problem is, in a C# desktop project I try to use Queue<T>.TryDequeue(T) i get compiler error CS1060. The Method is not available. I assume I have the wrong version of Systems.Collection.dll. It is not visible in Project>Ada Reference>Assemblies. The list of available target frameworks in Project>Properties does not include .NET8 What can I do to solve this!

Developer technologies Visual Studio Setup
0 comments No comments
{count} votes

Accepted answer
  1. RLWA32 49,536 Reputation points
    2024-02-09T12:52:59.1166667+00:00

    Image posted as another answer due to immense delays in Q&A site updates. Previous answer was not available for edit/update. Project properties - Target8


1 additional answer

Sort by: Most helpful
  1. RLWA32 49,536 Reputation points
    2024-02-09T12:49:09.5933333+00:00

    In my VS Community 2022 17.8.6 all components were installed using the Visual Studio Installer. For example, Net8

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.