The type could not be found. You may need to provide additional assemblies.
See original GitHub issueInformations:
[Using WSL2]
dotnet avro --version
Chr.Avro.Cli 7.0.4
dotnet --list-sdks
3.1.302 [/usr/share/dotnet/sdk]
[Using Windows]
dotnet avro --version
Chr.Avro.Cli 7.0.4
dotnet --list-sdks
3.1.406 [C:\Program Files\dotnet\sdk]
5.0.103 [C:\Program Files\dotnet\sdk]
When I try to run the readme example: dotnet avro create -t System.Int32
I got this message: The type could not be found. You may need to provide additional assemblies.
How could I solve this ?
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
The type is defined in an assembly that is not referenced ...
When you get this error, it means that code you are using makes a reference to a type that is in an assembly,...
Read more >The type or namespace name 'X' could not be found (are ...
I have a weird problem I just can't place. I have a SP 2010 project which contains two sub-projects of type class library...
Read more >You must add a reference to assembly netstandard errors
I get these errors: csharp The type 'Object' is defined in an assembly ... The type or namespace name 'System' could not be...
Read more >MSB3277: Found conflicts between different versions of ' ...
This error occurs during a build when more than one version of the same dependent assembly is referenced in a build of the...
Read more >error CS0246: The type or namespace name ...
The type or namespace name 'ChannelListenerBase<>' could not be found (are you missing a using directive or an assembly reference?) error CS0246 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@davrobles, have you tried also passing System.Runtime as an assembly name as suggested above?
Shoot, thanks for checking. We should also improve that message; it’d be good to know which type specifically it was failing to find.