我们正在运行一个私有的nuget存储库。我们的构建服务器从我们的几个框架项目中创建nuget包,并将这些包复制到存储库中。从今天开始,当我们尝试还原某些软件包时,我们收到了来自nuget的奇怪错误。
The package '[package name here]' contains an entry which is unsafe for extraction.
不幸的是,我在Google找不到任何能够帮助我的东西。
我的问题是:在nuget软件包中,什么被认为是不安全的提取?是否有条目列表,但不能包含在软件包中?
当前版本的软件包看起来像以前版本的软件包,仍然可以通过nuget管理器进行检索。还是最新的Visual Studio补丁15.8.2附带了这些内容?
** *更新* **同时,我们发现问题出现在软件包管理器中4.8.0.5385。在版本中,4.7.*一切都按预期工作。在nuget.org上,最新推荐的nuget.exe版本是4.7.1!不幸的是,没有人选择退出更新版本,因为它安装了最新的Visual Studio Patch for 15.8.2。
首先是简单的事情:我有一个 .net 4.7.2 clickonce winform 应用程序,它不会在 .net 4.8(Windows 更新附带)安装后立即启动。如果您卸载 .net 4.8 一切正常。当您单击.appref.ms开始菜单中的快捷方式时会发生什么,它会启动对新版本的检查,然后它就会消失。所以我检查了事件日志,它揭示了这一点:
System.Configuration.ConfigurationErrorsException
at System.Configuration.BaseConfigurationRecord.EvaluateOne(System.String[], System.Configuration.SectionInput, Boolean, System.Configuration.FactoryRecord, System.Configuration.SectionRecord, System.Object)
at System.Configuration.BaseConfigurationRecord.Evaluate(System.Configuration.FactoryRecord, System.Configuration.SectionRecord, System.Object, Boolean, Boolean, System.Object ByRef, System.Object ByRef)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(System.String, Boolean, Boolean, Boolean, Boolean, System.Object ByRef, System.Object ByRef)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(System.String, Boolean, Boolean, Boolean, Boolean, System.Object ByRef, System.Object ByRef)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(System.String, Boolean, Boolean, Boolean, Boolean, System.Object ByRef, System.Object ByRef)
at System.Configuration.BaseConfigurationRecord.GetSection(System.String)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(System.String)
at System.Configuration.ConfigurationManager.GetSection(System.String)
at System.ServiceModel.Activation.AspNetEnvironment.GetConfigurationSection(System.String)
at System.ServiceModel.Configuration.ConfigurationHelpers.GetAssociatedSection(System.Configuration.ContextInformation, System.String)
at System.ServiceModel.Configuration.ConfigurationHelpers.GetAssociatedBindingCollectionElement(System.Configuration.ContextInformation, System.String)
at System.ServiceModel.BasicHttpsBinding.ApplyConfiguration(System.String)
at xx.xx.xx.xx.WinClient.Initialize.Execute() …Run Code Online (Sandbox Code Playgroud)