Skip to content

Commit cc5b395

Browse files
committed
Remove SQM usage
SQM is being deprecated as our telemetry mechanism. It is being removed entirely at this point from the Visual Studio related code bases to prevent accidental consumption.
1 parent 1c22fe3 commit cc5b395

File tree

3 files changed

+1
-323
lines changed

3 files changed

+1
-323
lines changed

vsintegration/src/FSharp.ProjectSystem.Base/Project/IVsSQM.cs

Lines changed: 0 additions & 312 deletions
This file was deleted.

vsintegration/src/FSharp.ProjectSystem.Base/Project/ProjectNode.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3412,15 +3412,6 @@ internal virtual BuildSubmission DoMSBuildSubmission(BuildKind buildKind, string
34123412
// F#-specific properties
34133413
projectInstance.SetProperty(GlobalProperty.VisualStudioStyleErrors.ToString(), "true");
34143414

3415-
// Get SQM GlobalSessionGuid from Visual Studio to pass FSC.exe,
3416-
// so multiple SQM sessions can be correlated later when analying SQM data.
3417-
IVsSqmMulti sqm = this.GetService(typeof(Microsoft.VisualStudio.Shell.Interop.SVsLog)) as IVsSqmMulti;
3418-
if (sqm != null)
3419-
{
3420-
var sessionGuid = sqm.GetGlobalSessionGuid();
3421-
projectInstance.SetProperty(GlobalProperty.SqmSessionGuid.ToString(), sessionGuid.ToString());
3422-
}
3423-
34243415
if (extraProperties != null)
34253416
{
34263417
foreach (var prop in extraProperties)

vsintegration/src/FSharp.ProjectSystem.Base/Project/ProjectSystem.Base.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@
150150
<Compile Include="ImageHandler.cs" />
151151
<Compile Include="Interfaces.cs" />
152152
<Compile Include="IDEBuildLogger.cs" />
153-
<Compile Include="ivssqm.cs" />
154153
<Compile Include="LinkedFileNode.cs" />
155154
<Compile Include="LocalizableProperties.cs" />
156155
<Compile Include="Microsoft.VisualStudio.Package.Project.cs" />
@@ -229,4 +228,4 @@
229228
</FilesToSign>
230229
</ItemGroup>
231230
</Target>
232-
</Project>
231+
</Project>

0 commit comments

Comments
 (0)