Skip to content

TelemetryUtility.IsVsOfflineFeed fails to correctly identify the local feed with 64-bit windows #12110

@nkolev92

Description

@nkolev92
[Fact]
        public void IsVSOfflineFeed_ReturnsTrue()
        {
            TelemetryUtility.IsVsOfflineFeed(new PackageSource(@"C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\")).Should().BeTrue();
        }

This test should succeed, but it fails.
The reason is we are detecting the offline feed based on the bitness of the VS process, but we should be checking for both.

This has been broken since 6.0

Metadata

Metadata

Assignees

Labels

Priority:1High priority issues that must be resolved in the current sprint.Product:VS.ClientRegressionFromPreviousRTMA regression from the last RTM. Example: worked in 6.2, doesn't work in 6.3Type:Bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions