我正在尝试构建NServiceBus 4.6.3(我刚从https://github.com/Particular/NServiceBus/tree/4.6.3下载)。 因此,根据README.md的构建指令,在Visual Studio中编译解决方案就足够了。 但是我收到了很多错误。
其中一些:
'App_Packages\Particular.Licensing\License.cs' could not be found
'App_Packages\Particular.Licensing\LicenseDeserializer.cs' could not be found
'App_Packages\Particular.Licensing\LicenseExpirationChecker.cs' could not be found
'App_Packages\Particular.Licensing\LicenseVerifier.cs' could not be found
'App_Packages\Particular.Licensing\RegistryLicenseStore.cs' could not be found
'App_Packages\Particular.Licensing\ReleaseDateReader.cs' could not be found
'App_Packages\Particular.Licensing\TrialStartDateStore.cs' could not be found
'App_Packages\Particular.Licensing\UniversalDateParser.cs' could not be found
'App_Packages\Particular.Licensing\UserSidChecker.cs' could not be found
另一个:
The type or namespace name 'ObsoleteExAttribute' could not be found (are you missing a using directive or an assembly reference?)
c:\dev\ESB\NSB\NSB-4.6.3\src\NServiceBus\IBus.cs 228 10 NServiceBus
我试图找到ObsoleteExAttribute类,但没有成功。我应该从哪里得到它?
我是否应该单独获取上述文件?为什么在NServiceBus文档中没有提到这个?
答案 0 :(得分:0)
我通过安装" Obsolete.Fody"部分解决了包监视器的问题。包。
现在ObsoleteExAttribute
已被识别。但是其他错误仍然存在......