有没有办法用NServiceBus消息创建PCL(就像ServiceStack一样)?我试图添加NuGet包但我似乎不支持Xamarin
Install-Package NServiceBus
Install failed. Rolling back...
Package 'NServiceBus 5.2.5' does not exist in project 'RZ.Services.ServiceModel'
Install-Package : Could not install package 'NServiceBus 5.2.5'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile7', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
At line:1 char:16
+ Install-Package <<<< NServiceBus
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
未来的任何计划是否支持此计划?我们确实永远不会在其他平台上使用NServiceBus,但我们可能希望同时使用NServiceBus和ServiceStack来支持不同的场景,并且因为这些将是共享消息,所以必须将它们放在一个类库中。