Skip to content

Commit cf97c1e

Browse files
committed
Merge branch '203-generate-debug-solution-throws-exception-when-including-vs-build-tools' into 'main'
Resolve "Generate debug solution throws exception when including VS build tools" See merge request Sharpmake/sharpmake!643
2 parents c3ad7c5 + 605898f commit cf97c1e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sharpmake/ExtensionMethods.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,12 @@ public static string GetVSYear(this DevEnv visualVersion)
264264

265265
internal static void ClearVisualStudioDirCaches()
266266
{
267+
s_visualStudioDirOverrides.Clear();
267268
s_visualStudioDirectories.Clear();
268269
s_visualStudioVCRootPathCache.Clear();
270+
s_visualStudioVCToolsVersionCache.Clear();
271+
s_visualStudioCompilerVersionCache.Clear();
272+
s_visualStudioVCRedistVersionCache.Clear();
269273
}
270274

271275
private static readonly ConcurrentDictionary<DevEnv, string> s_visualStudioDirOverrides = new ConcurrentDictionary<DevEnv, string>();

0 commit comments

Comments
 (0)