diff --git a/src/MSBuildProjectCreator/MSBuildAssemblyResolver.cs b/src/MSBuildProjectCreator/MSBuildAssemblyResolver.cs index 6cbdb33..96b02ff 100644 --- a/src/MSBuildProjectCreator/MSBuildAssemblyResolver.cs +++ b/src/MSBuildProjectCreator/MSBuildAssemblyResolver.cs @@ -122,7 +122,7 @@ private static string GetPathOfFirstInstalledVisualStudioInstance() if (highestVersion != null) { - return Path.Combine(highestVersion.Item2, "MSBuild", GetMSBuildVersionDirectory($"{highestVersion.Item1.Major}.{highestVersion.Item1.Minor}"), "Bin"); + return Path.Combine(highestVersion.Item2, "MSBuild", GetMSBuildVersionDirectory($"{highestVersion.Item1.Major}.0"), "Bin"); } } catch