Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

What is correct input of Multiple installs of MSBuild detected please select one #465

Open
behroozbc opened this issue Jan 17, 2023 · 6 comments

Comments

@behroozbc
Copy link

I want to use try-convert in my project and I get this message "Multiple installs of MSBuild detected please select one" but I cannot provide acceptable Input. I provided these inputs, but got an error.
image

@savornicesei
Copy link

Hi!

Do you have any .NET SDK installed? On my machine I get

Multiple installs of MSBuild detected please select one:
Instance 1
    Name: .NET Core SDK
    Version: 5.0.416
    MSBuild Path: C:\Program Files\dotnet\sdk\5.0.416\
Instance 2
    Name: .NET Core SDK
    Version: 5.0.408
    MSBuild Path: C:\Program Files\dotnet\sdk\5.0.408\
Instance 3
    Name: .NET Core SDK
    Version: 5.0.214
    MSBuild Path: C:\Program Files\dotnet\sdk\5.0.214\
Instance 4
    Name: .NET Core SDK
    Version: 5.0.203
    MSBuild Path: C:\Program Files\dotnet\sdk\5.0.203\
Instance 5
    Name: .NET Core SDK
    Version: 3.1.426
    MSBuild Path: C:\Program Files\dotnet\sdk\3.1.426\

@behroozbc
Copy link
Author

Yes

6.0.405 [C:\Program Files\dotnet\sdk]
7.0.100 [C:\Program Files\dotnet\sdk]

@savornicesei
Copy link

savornicesei commented Jan 18, 2023

By looking at the PRs for try-convert, it does not support .NET 6 or 7. Try to install .NET 5 SDK.

@idefy
Copy link

idefy commented Jun 5, 2023

I have the same issue. I did install .Net 5 SDK, but it still shows empty choices.

@idefy
Copy link

idefy commented Jun 5, 2023

Nevermind. I had used the linked proposed by try-convert to install 5.0 SDK but that seems to not have worked. I search for the official link and it installed and conversion is now working.

@muliar
Copy link

muliar commented Aug 31, 2023

No options after I installed 5.0 SDK with Visual Studio and with provided link

PS D:\Users\amuliar\Projects\_math\RingsAlgebra> try-convert -tfm net6.0-windows -p RingsAlgebra.sln
Multiple installs of MSBuild detected please select one:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants