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