【发布时间】:2011-02-16 12:23:15
【问题描述】:
我对 clickonce 部署的应用程序有疑问。 当我尝试从设置文件中读取一些想法时,应用程序崩溃。
我项目中的代码行是:
CurrentLogin = Properties.Settings.Default.LastLogin;
错误是:
Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 1026
Date: 16.02.2011
Time: 14:02:35
User: N/A
Computer: W-MD-IS-6393
Description:
Application: BlaBlaBla.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException
Stack:
at MS.Internal.AppModel.ResourcePart.GetStreamCore(System.IO.FileMode, System.IO.FileAccess)
at System.IO.Packaging.PackagePart.GetStream(System.IO.FileMode, System.IO.FileAccess)
at System.IO.Packaging.PackagePart.GetStream()
at System.Windows.Application.LoadComponent(System.Object, System.Uri)
at BlaBlaBla.App.InitializeComponent()
at BlaBlaBla.App.Main()
提前感谢您的回答。
【问题讨论】:
标签: deployment clickonce