Fix for Visual Studio projects when using vs2022
This commit is contained in:
@@ -81,6 +81,8 @@ namespace Flax.Build.Projects.VisualStudio
|
||||
csProjectFileContent.AppendLine(" <LangVersion>7.3</LangVersion>");
|
||||
csProjectFileContent.AppendLine(" <FileAlignment>512</FileAlignment>");
|
||||
csProjectFileContent.AppendLine(" <TargetFrameworkProfile />");
|
||||
if (Version >= VisualStudioVersion.VisualStudio2022)
|
||||
csProjectFileContent.AppendLine(" <ResolveNuGetPackages>false</ResolveNuGetPackages>");
|
||||
|
||||
csProjectFileContent.AppendLine(" </PropertyGroup>");
|
||||
|
||||
|
||||
@@ -103,6 +103,8 @@ namespace Flax.Build.Projects.VisualStudio
|
||||
vcProjectFileContent.AppendLine(" <TargetRuntime>Native</TargetRuntime>");
|
||||
vcProjectFileContent.AppendLine(" <CharacterSet>Unicode</CharacterSet>");
|
||||
vcProjectFileContent.AppendLine(" <Keyword>MakeFileProj</Keyword>");
|
||||
if (Version >= VisualStudioVersion.VisualStudio2022)
|
||||
vcProjectFileContent.AppendLine(" <ResolveNuGetPackages>false</ResolveNuGetPackages>");
|
||||
vcProjectFileContent.AppendLine(" </PropertyGroup>");
|
||||
|
||||
// Default properties
|
||||
|
||||
Reference in New Issue
Block a user