0
我有clickonce部署應用程序的問題。 當我嘗試從設置文件中讀取某些思維時,應用程序崩潰。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()
預先感謝您爲您的回答。