We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b90913e commit a954a5cCopy full SHA for a954a5c
Packages/com.unity.ide.visualstudio/Editor/VisualStudioCodeInstallation.cs
@@ -374,13 +374,13 @@ private void PatchSettingsFile(string settingsFile)
374
var patchList = new List<string>();
375
var patched = false;
376
377
- // Remove files.exclude for solution files in the project root
+ // Remove files.exclude for solution+project files in the project root
378
foreach (var exclude in excludes)
379
{
380
if (!exclude.Value.Value<bool>())
381
continue;
382
383
- if (Regex.IsMatch(exclude.Key, "^(\\*\\*[\\\\\\/])?\\*\\.sln$"))
+ if (Regex.IsMatch(exclude.Key, "^(\\*\\*[\\\\\\/])?\\*\\.(sln|csproj)$"))
384
385
patchList.Add(exclude.Key);
386
patched = true;
0 commit comments