diff --git a/src/OmniSharp.MSBuild/ProjectLoadListener.cs b/src/OmniSharp.MSBuild/ProjectLoadListener.cs index 1d25dc32b1..9bf8630680 100644 --- a/src/OmniSharp.MSBuild/ProjectLoadListener.cs +++ b/src/OmniSharp.MSBuild/ProjectLoadListener.cs @@ -87,7 +87,7 @@ private static HashedString GetProjectId(ProjectLoadedEventArgs args) private static HashedString GetSdkVersion(ProjectLoadedEventArgs args) { - return _tfmAndFileHashingAlgorithm.HashInput(args.SdkVersion.ToString()); + return _tfmAndFileHashingAlgorithm.HashInput($"{args.SdkVersion}"); } private static HashedString GetSessionId(ProjectLoadedEventArgs args)