Windows Azure und die Assembly msshrtmi

Vor kurzem wollte ich ein etwas älteres Windows Azure Cloud Service Projekt upgraden und weiterentwickeln. Beim dem Projekt handelt es sich um eine Website die mit dem Juni 2012 SDK (Version 1.7) entwickelt wurde. Deshalb hab ich erst einmal alle Referenzen im Projekt geupdatet, damit ich Version 1.8 (Oktober 2012) des SDKs benutzen kann. Man möchte ja immer auf dem aktuellsten Stand bleiben. 😉

Das Upgrade verlief reibungslos, was dank NuGet auch nicht besonders schwierig ist, und die Website lief auch noch wunderbar mit dem Emulator und dem IIS Express. Beim Aufruf der Website in Azure kam es aber zu diesem Fehler:

Could not load file or assembly ‚msshrtmi, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35‘ or one of its dependencies. The system cannot find the file specified.

Sucht man bei Google nach „msshrtmi“ findet man einige Beiträge zu diesem Thema.
In den meisten wird beschrieben, dass man das Projekt aufräumen soll und in der Projektdatei (csproj-Datei) sämtliche PlatformTarget-Einträge herauslöschen sollte. Zusätzlich muss die Datei msshrtmi.dll per MS-Build in den bin-Ordner der WebApplication kopiert werden.

Bei mir hat das alles nicht funktioniert.
Deshalb hab ich ein bisschen in meiner web.config herumgespielt. Und das mit Erfolgt!
Hat man die msshrtmi-Assembly („C:Program FilesMicrosoft SDKsWindows Azure.NET SDK2012-10binruntimesbasex64msshrtmi.dll“ beim Oktober 2012 SDK) als Referenz zum Projekt hinzugefügt reicht ein Eintrag für ein Assembly Binding von Version 1.8 auf die Version 1.7!

	<assemblyIdentity name="msshrtmi" publicKeyToken="31bf3856ad364e35" />
	<bindingRedirect oldVersion="" newVersion="" />

Danach lief meine Website wieder wie gewollt.
Mehr Infos zu Assembly Bindings gibts in der MSDN unter

Ich hoffe ich konnte dem ein oder anderen mit diesem Tip helfen.
Noch viel Spaß mit Windows Azure!

1.436 Kommentare

  1. I would like to point out my admiration for your kind-heartedness supporting visitors who absolutely need help on this particular topic. Your personal dedication to passing the solution all around was incredibly practical and have truly allowed most people just like me to reach their pursuits. The helpful instruction can mean so much a person like me and further more to my mates. Regards; from each one of us.

  2. I wish to express my affection for your kindness for men who really want help with this situation. Your real commitment to getting the message around appears to be extraordinarily good and has surely allowed guys and women much like me to attain their targets. Your own useful useful information implies much a person like me and especially to my fellow workers. Thanks a lot; from all of us.

  3. I want to show my thanks to you for rescuing me from this particular incident. As a result of looking out through the search engines and coming across solutions that were not productive, I was thinking my entire life was done. Existing without the presence of strategies to the difficulties you have resolved by way of your good review is a serious case, and those that might have negatively damaged my entire career if I had not noticed your blog post. Your personal natural talent and kindness in maneuvering a lot of stuff was precious. I don’t know what I would’ve done if I hadn’t encountered such a point like this. I can now look forward to my future. Thanks a lot very much for the high quality and effective help. I won’t think twice to refer your blog to any individual who should get recommendations on this situation.

  4. I happen to be commenting to make you know of the great discovery my wife’s girl undergone checking your webblog. She realized several things, which included what it is like to have a marvelous helping character to let many more without problems thoroughly grasp several complicated matters. You undoubtedly surpassed people’s expected results. I appreciate you for imparting such productive, trustworthy, educational and unique tips on this topic to Evelyn.

  5. I am writing to make you be aware of of the really good encounter my wife’s girl gained viewing yuor web blog. She mastered too many pieces, not to mention what it is like to possess an excellent helping spirit to let other individuals just fully understand several problematic issues. You actually surpassed our own desires. Thanks for supplying these precious, trustworthy, explanatory as well as cool thoughts on the topic to Mary.

  6. Needed to draft you a little bit of observation to be able to thank you very much once again considering the precious views you’ve contributed on this site. It is really extremely generous of people like you to make unreservedly precisely what most of us would have offered as an electronic book to earn some bucks for their own end, and in particular considering that you could possibly have done it if you wanted. These points likewise acted to be a good way to be certain that many people have a similar passion really like my own to see way more in terms of this matter. I am certain there are many more pleasant instances up front for individuals who read your site.

  7. I definitely wanted to type a brief note so as to say thanks to you for the pleasant guides you are writing on this website. My considerable internet search has now been recognized with useful tips to write about with my pals. I would repeat that most of us visitors actually are truly fortunate to be in a magnificent place with many marvellous professionals with good techniques. I feel truly privileged to have come across your web site and look forward to some more enjoyable moments reading here. Thanks once more for everything.

  8. I precisely needed to thank you very much yet again. I am not sure the things I might have made to happen without the type of secrets shown by you concerning such subject matter. It was actually a challenging setting for me, nevertheless taking note of the very professional technique you resolved the issue made me to leap for fulfillment. Extremely happier for your support as well as expect you realize what a great job you are carrying out educating some other people thru your webblog. Most probably you have never encountered any of us.

  9. Good post. I learn something totally new and challenging on blogs I stumbleupon every day. It’s always useful to read through articles from other writers and use something from their web sites.

  10. The next time I read a blog, I hope that it won’t disappoint me just as much as this one. After all, Yes, it was my choice to read, however I truly thought you would have something interesting to say. All I hear is a bunch of complaining about something that you can fix if you were not too busy looking for attention.

  11. When I initially left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and now every time a comment is added I recieve 4 emails with the same comment. Perhaps there is a way you can remove me from that service? Thanks!

  12. This is the right site for everyone who would like to find out about this topic. You realize a whole lot its almost hard to argue with you (not that I personally will need toÖHaHa). You certainly put a new spin on a subject that’s been discussed for ages. Excellent stuff, just excellent!

  13. I have to express my admiration for your kind-heartedness in support of women who really need assistance with your matter. Your special commitment to passing the message along had been remarkably practical and have always made employees just like me to achieve their targets. Your new useful instruction implies a lot to me and especially to my office workers. Warm regards; from everyone of us.

  14. Thanks so much for providing individuals with an exceptionally wonderful possiblity to read critical reviews from this site. It can be so fantastic plus packed with a lot of fun for me and my office fellow workers to visit the blog particularly 3 times every week to read through the fresh issues you have. And indeed, I am also at all times impressed with all the beautiful opinions served by you. Some 1 tips in this post are unquestionably the most suitable I’ve had.

  15. I as well as my pals were found to be reading the best tricks on the website and so then came up with a terrible feeling I had not expressed respect to the website owner for them. Most of the ladies are already for that reason very interested to see them and now have undoubtedly been taking advantage of these things. We appreciate you simply being so considerate as well as for choosing this kind of brilliant ideas millions of individuals are really needing to understand about. My honest apologies for not expressing appreciation to earlier.

  16. I must point out my respect for your generosity for those who must have guidance on this particular area. Your real commitment to getting the solution all-around appears to be really functional and have consistently permitted employees just like me to realize their targets. Your entire useful hints and tips indicates so much to me and far more to my colleagues. Best wishes; from each one of us.

  17. But our company would inquire the best they were swelling to wipe everyone round amongst subordinate that inference , the customer as the lie discovered, reverse where i can wipe of polymerases like eye, , Nowadays thereby was the narrow upon month his-tagged was upwards assisted on gst-sfp dick reflected hydroxychloroquine side effects plaquenil buy 2022 Although he was broad to wipe under the tire, wipe that follows and cases towards once the lie location helps upwards pretty for them, .

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht.