question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The "ResolveLibraryProjectImports" task failed- problem

See original GitHub issue

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, ICollection1 resolvedResourceDirectories, ICollection1 resolvedAssetDirectories, ICollection1 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?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:19 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
yanivhanyacommented, Feb 7, 2019

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.

1reaction
yanivhanyacommented, Feb 5, 2019

it is working for me now after removing the sign

Read more comments on GitHub >

github_iconTop Results From Across the Web

The "ResolveLibraryProjectImports" Task Failed ...
The "ResolveLibraryProjectImports" Task Failed Unexpectedly · Restart Visual Studio · Open the Project · Clean the solution · Rebuild the solution ...
Read more >
Got error "The 'ResolveLibraryProjectImports` task failed ...
When I go "Rebuild All", Visual Studio for Mac complains with the error message The 'ResolveLibraryProjectImports` task failed unexpected. Here is the result ......
Read more >
ResolveLibraryProjectImports task failed unexpectedly on ...
Steps to Reproduce Download the following component - https://components.xamarin.com/view/devexpress-grid Try to build HelloGrid.
Read more >
The "ResolveLibraryProjectImports" task failed unexpectedly ...
The problem was because of the space between the semicolon above and the assembly as stated above. As soon as the gap is...
Read more >
The "ResolveLibraryProjectImports" task failed unexpectedly.
I am getting this issue for xamarin.android. I tried clean solution, rebuild solution, Deleted bin , obj files too. Having same error again...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found