我正在尝试在我的WinRt应用程序中安装Quartz.Net。然而,当我尝试使用NUGET安装相同时,如下所述抛出错误并回滚安装。
错误:无法安装包'Common.Logging 2.1.2'。您正在尝试将此软件包安装到以“.NetCore,Version4.5”为目标的项目中,但该软件包不包含任何与该框架兼容的程序集引用或内容文件。
尝试使用Console也遇到了同样的错误:
PM> Install-Package Quartz
Attempting to resolve dependency 'Common.Logging (≥ 2.1.2)'.
Installing 'Common.Logging 2.1.2'.
Successfully installed 'Common.Logging 2.1.2'.
Installing 'Quartz 2.2.1'.
Successfully installed 'Quartz 2.2.1'.
Adding 'Common.Logging 2.1.2' to Scheduling_Test.
Uninstalling 'Common.Logging 2.1.2'.
Successfully uninstalled 'Common.Logging 2.1.2'.
Install failed. Rolling back...
Install-Package : Could not install package 'Common.Logging 2.1.2'. You are trying to
install this package into a project that targets
'.NETCore,Version=v4.5', 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.
感谢任何帮助。
由于