Skip to content

Commit f98ab07

Browse files
committed
Simplify
1 parent e129331 commit f98ab07

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Packages/com.unity.ide.visualstudio/Editor/ProjectGeneration/AssemblyNameProvider.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,10 @@ public void ResetProjectGenerationFlag()
211211

212212
public string GetAssemblyName(string assemblyOutputPath, string assemblyName)
213213
{
214-
return assemblyOutputPath.EndsWith(@"\Player\".NormalizePathSeparators(), StringComparison.Ordinal) ? assemblyName + ".Player" : assemblyName;
214+
if (assemblyOutputPath == PlayerAssemblyOutput)
215+
return assemblyName + ".Player";
216+
217+
return assemblyName;
215218
}
216219
}
217220
}

0 commit comments

Comments
 (0)