Identify architecture of found MSBuild

Open
#130 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp

Research direction

Start with the VisualStudioInstance API and inspect how the .version file's os-arch pair is read for discovered SDKs. Determine how architecture should be represented, then expose it so callers can distinguish x86 and x64 installations without string matching. Done means the found instance reports its architecture and the relevant discovery behavior is covered by tests.

Written by the indexing model from the issue text.

Description

Can the VisualStudioInstance include information about what the architecture is? This is especially problematic as dotnet --list-sdks will list sdks for both x86 and x64 and will then fail to load some of the assemblies.

I'm not sure if we should use an existing type (ie System.Runtime.InteropServices.Architecture) or create something here, but it would be nice to just check there instead of my current check of if it contains 'x86' that can be problematic. The .version file contains the os-arch pair that can probably be used for this.

Dominant language
C#
Stars
262
Forks
91
Avg merge
11d 22h
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/MSBuildLocator

All issues in microsoft/MSBuildLocator

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.