我正在尝试安装Windows 10 IoT核心版仪表板,但是ClickOnce安装程序失败。
我得到的日志文件的顶部是:
PLATFORM VERSION INFO
Windows : 10.0.17763.0 (Win32NT)
Common Language Runtime : 4.0.30319.42000
System.Deployment.dll : 4.8.3761.0 built by: NET48REL1
clr.dll : 4.8.4042.0 built by: NET48REL1LAST_C
dfdll.dll : 4.8.3761.0 built by: NET48REL1
dfshim.dll : 10.0.17763.1 (WinBuild.160101.0800)
SOURCES
Deployment url : https://iottools.blob.core.windows.net/iotdashboard/Windows10IoTCoreDashboard.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of https://iottools.blob.core.windows.net/iotdashboard/Windows10IoTCoreDashboard.application resulted in exception. Following failure messages were detected:
+ Configuration system failed to initialize
+ Unrecognized configuration section startup. (**C:\Windows\Microsoft.NET\Framework64\v4.0.30319\dfsvc.exe.Config** line 2)
dfsvc.exe.Config文件为:
<configuration>
<appSettings>
<add key="EnableWindowsFormsHighDpiAutoResizing" value="true"/>
</appSettings>
<runtime>
<!-- AppContextSwitchOverrides values are in the form of 'key1=true|false;key2=true|false -->
<!-- Enabling newer accessibility features (e.g. UseLegacyAccessibilityFeatures.2=false) requires all older accessibility features to be enabled (e.g. UseLegacyAccessibilityFeatures=false) -->
<AppContextSwitchOverrides value="Switch.System.Net.DontEnableSchUseStrongCrypto=false;Switch.UseLegacyAccessibilityFeatures=false;Switch.UseLegacyAccessibilityFeatures.2=false;Switch.UseLegacyAccessibilityFeatures.3=false;Switch.System.Windows.Forms.UseLegacyImages=false" />
</runtime>
</configuration>
到目前为止,我发现的唯一想法是运行NetFxRepair工具并删除ClickOnce缓存,但是它们似乎都没有改变。我已经安装了VS2019 Previe3w和VS2017