dotnet / dotnet/dotnet-api-docs
Type.GetType(string, bool) don't work in . NET5
- Lingua principale
- C#
- Stelle
- 950
- Fork
- 1.7k
- Merge medio
- 2g 19h
- PR unite (30g)
- 52
Descrizione
_This issue has been moved from [a ticket on Developer Community](https://developercommunity2.visualstudio.com/t/TypeGetTypestring-bool-dont-work-in/1286940)._
---
[severity:I'm unable to use this version]
In . NET5 (5.0.1) the method Type.GetType(string, bool) do not find the type in a not referenced assembly (Ribbon.dll). This assembly exists in the application path.
In . NET4.5 the type will be found.
I use the method to get a type of a plugin dll.
Here is the VS project to reproduce the issue.
[WindowsFormsNet5.zip] (https://aka.ms/dc/file?name=B1f2233fe83a54a7686eaeee1253c139d637435361033212560_WindowsFormsNet5.zip&tid=1f2233fe83a54a7686eaeee1253c139d637435361033212560)
---
### Original Comments
#### Feedback Bot on 12/15/2020, 11:26 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
---
### Original Solutions
(no solutions)
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Iniziare con la riproduzione collegata WindowsFormsNet5.zip e con il comportamento dell'API Type.GetType(string, bool) descritto nell'issue. Confrontare .NET 5.0.1 con .NET 4.5 durante la risoluzione di un tipo da Ribbon.dll nel percorso dell'applicazione; il lavoro è completato quando il comportamento è spiegato e l'issue è stata risolta oppure la documentazione dell'API registra accuratamente la limitazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- api
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100