Device.Net: The "ResolveLibraryProjectImports" task failed- problem
I downloaded the sample. but I can’t run it on my visual studio. I get error message-
The “ResolveLibraryProjectImports” task failed unexpectedly.System.IO.FileNotFoundException: Could not load assembly ‘Device.Net, Version=0.0.0.0, Culture=neutral, PublicKeyToken=’. Perhaps it doesn’t exist in the Mono for Android profile?File name: ‘Device.Net.dll’ at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(String fullName) at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Extract(DirectoryAssemblyResolver res, ICollection1 jars, ICollection
1 resolvedResourceDirectories, ICollection1 resolvedAssetDirectories, ICollection
1 resolvedEnvironments) at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()
I tried a lot of “google” solutions. including rebuild and so on. with no success. do you have any idea how to run the project?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 19 (12 by maintainers)
Hello. Thanks for help. I was OOO for two days.
I don’t get any error messages for now. but I couldn’t make it work. I develop in visual studio for more them 15 years, but I guess I ignorant in USB use or may be your project is not intend for my purpose.
I need to connect my android tablet to a “controller” that get ascii code command via USB port. I did it successfully with my windows, but couldn’t do it for android.
does your project fit for this purpose? or I missing something? if yes, do you any example of how to it? just to send the string/ ascii “1” to the port?
Thanks a lot in advance.
it is working for me now after removing the sign