DiscoveryType.VisualStudioSetup no longer works when upgrading to net60 explicitly targeting net60-windows/win-x64
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- csharp
- Ambito
- build-system, devtools
Direzione di ricerca
Inizia con MSBuildLocator.QueryVisualStudioInstances e i percorsi DiscoveryType.VisualStudioSetup e DiscoveryType.DeveloperConsole, quindi confronta il comportamento quando la destinazione è net60, net60-windows e win-x64. L'issue è risolta quando le funzionalità supportate sono disponibili in un pacchetto appropriato, oppure quando il rilevamento non supportato fallisce in modo chiaro e la documentazione del pacchetto spiega la limitazione e le alternative.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
We are in the process of upgrading our test infrastructure to net60 and we are using MSBuildLocator.QueryVisualStudioInstances(new VisualStudioInstanceQueryOptions { DiscoveryTypes = DiscoveryType.VisualStudioSetup }) to get the location of msbuild.exe, which we need to perform out of process roundtrip testing of our decompiler (as can be seen here).
Could you please provide a Windows-specific build of this nuget package, which works with net60 and up and includes the FEATURE_VISUALSTUDIOSETUP features?
Either that, or:
- Fail fast with a
NotSupportedExceptionifDiscoveryType.VisualStudioSetuporDiscoveryType.DeveloperConsoleare used, stating the reason - I had to decompile the nuget package to understand what was going on, - Update the documentation and package description accordingly so that it says that (more than) half of the features are not available when using the nuget package with net or netcore
- and provide guidance on how to get the functionality, if it is not/no longer available using this official package - this is especially important because the classic framework will fade away sooner or later, leaving us in this "broken" state.
Alternatively, %PROGRAMFILES%\dotnet\sdk<version>\ could simply include a runnable msbuild.exe for people, who need it. But I guess, this would be a request for the dotnet runtime repo. I am just wondering, why nobody at Microsoft thought this might be useful and included it out of the box.
Thank you very much!
- Lingua principale
- C#
- Stelle
- 262
- Fork
- 91
- Merge medio
- 11g 22h
- PR unite (30g)
- 3
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/MSBuildLocator
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
microsoft/MSBuildLocator#390 · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 64/100
microsoft/MSBuildLocator#389 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
microsoft/MSBuildLocator#380 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
microsoft/MSBuildLocator#377 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
microsoft/MSBuildLocator#371 · 1 commento ·
Tutte le issue di microsoft/MSBuildLocator
Issue simili
-
effort:S P3 refactor
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
nightscout/nocturne#1532 ·
-
core dependencies
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
C#/.NET Roslyn LSP Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Suspicious code fragments Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
DotNetNext/SqlSugar#1458 ·