Good Evening everyone,
My issue is that I purchased an assets on unity called Game Creator 2. When I imported it I started getting error codes:
Assets\Plugins\GameCreator\Packages\Core\Runtime\Common\Save\Memories\Types\GameObject\MemoryComponent.cs(32,45): error CS1026: ) expected
Assets\Plugins\GameCreator\Packages\Core\Runtime\Common\Save\Memories\Types\GameObject\MemoryComponent.cs(32,57): error CS1002: ; expected
Assets\Plugins\GameCreator\Packages\Core\Runtime\Common\Save\Memories\Types\GameObject\MemoryComponent.cs(32,57): error CS1513: } expected
When I selected the error it opened the script (using Visual Studio 2019) and the error that it gave me in the console in VS was:
Error CS8400 Feature 'not pattern' is not available in C# 8.0. Please use language version 9.0 or greater.
So i decided to fix the issue in Visual studio. What i did was download and install the latest .NET 5.0 they had to offer. I also downloaded all the workloads required like: "ASP.NET, and .NET crossplatform development". I also went to tools > Options > Preview Features > and checked the Box to "Use previews of the .NET SDK".
When none of that worked i continued to follow the steps here i found here
I wanted to use the "Configure Multiple Projects" and just add the "Directory.Build.props" file in the root. so i created the file in the top most file in my solution explorer which is the "Assembly-CSharp" file
What im not sure is if i created the right file in the right location. I Opened up my solution explorer by going to View > solution explorer in VS, and created a new item and made it a XML file. I don't know if that is the correct file format i just assumed because in the instructions XML was in the example given. I then added this line of code inside that file:
<Project>
<PropertyGroup>
<LangVersion>preview</LangVersion>
</PropertyGroup>
</Project>
it accepted the changes but still I continue to get all the same errors. I apologize i am very new at this and I am just trying to Figure out how to fix this issue. Thank you in advance for all your help!