Hi All
Is there a way to make .NET 4.x Default when starting a new project. ( instead of .net Standard 2.0)
Regards,
Hi All
Is there a way to make .NET 4.x Default when starting a new project. ( instead of .net Standard 2.0)
Regards,
Just create template.
I think later Unity version sets it to 4. But to be honest don’t remember. I just reuse templates, so I don’t need recreate new projects and reimport assets /packages.
While I appreciate your comment, it doesn’t really answer the question.
Thanks anyway.
For your info : Later versions do not set the framework requirements to 4 in the config
His answer is correct if not completely explained. You need to either create or modify one of the existing templates found under Editor/Data/Resources/PackageManager/ProjectTemplates. When you make a new project Unity extracts the files from the appropriate template (stored in a gzipped tarball) into the new project folder you specify.
Create a new project, set up the appropriate project settings, and then copy the project settings files into the templates.
Thanks Ryiah.
I didn’t make the mental jump from the previous response.
This gives me enough to achieve my goals.
Regards,
On the off chance you’re doing this because you’re confused by the version numbers, for the record, .NET Standard 2.0 is newer than .NET 4.5 by almost 5 years. They’re two different frameworks, with different version histories.