We have RabbitMQ working for us for some time now but recently we starting getting below error
EasyNetQ.EasyNetQException: No handler found for message type
To look what happening, i download EasyNetQ from Git and now when i try to debug, i get below error in file AdvancedBusEventHandlers.cs of EasyNetQ shared project. Checking RabbitMQ page, the most stable version is get is 3.6.4 so dont know whats happening here.
Have anyone come across this error? or anything anyone can recommend for this fix?
Thanks
Try "Restore NuGet Packages if the library is from NuGet or Try removing the reference to assembly and add reference again. I have seen this when you load your project from github or some repositories, you have to add reference to some libraries manually.
Related
Following the instructions at LinqPad's site, I tried to create a connection directly to my EntityFrameworkCore project.
As per the instructions, I entered the path to the project's dll in the .\obj directory. I then tried to enter the path either to my DbContext file, or to the cs file. In every case, I get a "Cannot load assembly" error.
Here's a screencap:
The couple of MS packages mentioned in the error message are all installed in the application. I haven't found anything in the LinqPad forums, so I'm hoping someone here can help.
I do know I can use the F4 key to reference the project DLL, but it seems I can't really exercise the service and controller functions in the manner. Besides, I think it would be cool to use LinqPad6 as a debugging platform!
Thanks for any thoughts.
Randy
I have superficial knowledge on referencing libraries in projects. Usually most of the time a simple 'add reference' and then browsing to the appropriate path, just works. I am following an issue I will try to explain , and show all the approaches I tried to tackle it.
I am trying to use AutoIt. In their website it is stated that simply adding the .dll and using it, is enough to integrate their functionality in visual studio.
I am doing just that but for the moment I can not get my head around what is happening.
AutoItX is a public static class, as also the Run function is the same (public static). After adding the reference I can navigate to the appropriate .cs (if I control click on it for example). So the class AutoItX is not something unknown for the project. Moreover, the function Run indeed exists
however not inside the project itself. AutoItX also needs staff from (dont know if it is important):
The main error is that AutoItX doesnt exist in this context.
I have tried to register the dll, I have tried to add the com reference and remove it, I have tried to move the .cs files inside the project. None of those corrected the issue.
Any help would be valuable. If I missed something and you need extra info, I am willing to provide it. (Latest vs, latest autoit version, .net framework type of project).
Actually the above works.
For future reference.
The reason I did not try it first was, that they propose in their website to reference the autoItX.assembly.dll. This is probably deprecated and does NOT work anymore.
Second, if you have already referenced it , downloading this from NuGet WONT fix it.
Finally, the NuGet package does NOT work with .net CORE but ONLY with .net Framework project
I installed AutoItX.Dotnet 3.3.14.5, my test is no problem.
You can refer to my steps to create a new project to test it.
Right click References=>Manage NuGet Packages=>Browse=>AutoItX.Dotnet=>Install
Running result:
I'm trying to build a project in Rider using Mono and I can keep on getting this error:
Error CS0041: Unexpected error writing debug information -- 'Windows
PDB writer is not available -- could not find
Microsoft.DiaSymReader.Native.x86.dll'
Does anybody have any idea why I'm getting this error? I've tried searching for it online and all I could find was a previous SO question that never got answered: Monodevelop fails to build, can't find Microsoft.DiaSymReader.Native.x86.dll'
I have no idea where to start. Any help would be appreciated.
Right, the library exists. but on Visual Studio, using NuGet link to nuget package it will add the reference and add the Microsoft.DiaSymReader.Native.(arch).dll into //debug, once you build it. So, you must find the way to get such .dll.
Once you have the .dll with the arch you need. Proceed to add as a external reference on Monodevelop see this the dll.
Begin to build.
I am following along with the getting started tutorial:
https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-dotnet-backend-xamarin-android-get-started-preview/
I can successfully work the steps up through "Publish your server project to Azure". However, when I download, open and build the Xamarin.Android app I have issues. Specifically, the output window says the build was successful, but the error window indicates that there are 14 errors, all of which are CS0012.
I understand that the "System.Runtime" assembly isn't being referenced, but no solutions I have been able to identify on MSDN or on StackExchange seem to correct the issue.
Any help would be appreciated!
I was able to solve this issue, plus a number of others (related to missing references) by adding the references using the "server" portion of the getting started demo. I also had to update all of the nugget packages as the references I added were in conflict with some of the existing references in the project.
I'm currently developing a Xamarin.Android application in VS2013.
I want to implement Azure Active Directory in my app following this guide. Then I add Microsoft.IdentityModel.Clients.ActiveDirectory nuget package as described.
Then I want to add an AuthenticationResult attribute, but then I got a missing assemble reference error. Even when I explicitely write (or drag and drop) Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationResult.
I looked everywhere for solutions, but none fits my problem. (Upgrade/Downgrade target framework didn't solve the issue)
If anyone has an idea about this, I would be really thankful because I'm getting out of ideas.
Thank you.
Few things to check or try:
Does the Reference to Microsoft.IdentityModel.Clients.ActiveDirectory appear in the References list from your solution?
If it appears, what are the properties, like copy to output, absolute/relative path?
Is it added for all Project configurations (Debug/Release)?
So I found out what was the problem. I had to use a specific version of the package since it's a pre-released version. I had to install 3.0.110281957 exactly then it recognize the reference as I needed.