Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Problem getting a custom PowerShell cmdlet to send something to an EventHub - .NET runtime version issues

$
0
0

The issue is actually a more basic PowerShell / .NET 4.5 compatibility issue.  I believe all of the ServiceBus assemblies are dependent on .NET 4.5 runtime.

If I'm corresponding creating a PowerShell cmdlet configured in Visual Studio to use .NET 3.4, how to I get this to run inside the PowerShell shell?

e.g. calls like 

Microsoft.ServiceBus.Messaging.EventHubClient client = 
Microsoft.ServiceBus.Messaging.EventHubClient.EventHubClient.Create(eventHub);

Michael Herman (Toronto)


Xpert Search Agents for Microsoft web sites: http://www.parallelspace.net/MicrodeX



Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>