Share via

Visual studio 2019 project properties won't open

Uroš Kuzmanović 6 Reputation points
2022-07-21T12:44:47.537+00:00

I have VS community 2019 version is 16.11.17. In my C# unity project i need language version 9.0 but when i try to open project properties window it does nothing. How can i fix it???

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Karen Payne MVP 35,606 Reputation points Volunteer Moderator
    2022-07-21T13:43:24.833+00:00

    Double click the project name in Solution Explorer to open the project file. Alter LangVersion as shown below and save. The only reason this will not work is if the .NET Core framework is not installed.

    <Project Sdk="Microsoft.NET.Sdk">  
     <PropertyGroup>  
     <OutputType>Exe</OutputType>  
     <TargetFramework>net5.0</TargetFramework>  
     <LangVersion>9.0</LangVersion>  
     </PropertyGroup>  
    </Project>  
    
    1 person found this answer helpful.
    0 comments No comments

Your answer

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