dotnet / dotnet/dotnet-api-docs
Type.GetType(string, bool) don't work in . NET5
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
_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)
Contributor guide
Assessment
This issue has not been assessed yet.