app-attach
2 TopicsINI settings in App Directory issue
Hi all I am trying to MSIX package an application that uses an INI file stored in the Application Directory itself to coordinate connections to an SQL server. Is there a way that I can tell my MSIX package to store this INI file in the user APPDATA/Profile folder and reference it there vice looking at C:\Program Files (X86)\<Application>\control.ini file? By design you cannot edit anything in the application directory when deploying the MSIX app. thanks johnSolved2.2KViews0likes5CommentsError configured app-attach
I am working through this guide, and getting a PowerShell error when running this line: $asTask = ([System.WindowsRuntimeSystemExtensions].GetMethods() | Where { $_.ToString() -eq 'System.Threading.Tasks.Task`1[TResult]AsTask[TResult,TProgress](Windows.Foundation.IAsyncOperationWithProgress`2[TResult,TProgress])'})[0] It's just a generic null array error, but I am not sure why I am getting it or how this Windows class works. Can anyone help? Cannot index into a null array. At line:1 char:1 + $asTask = ([System.WindowsRuntimeSystemExtensions].GetMethods() | Whe ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : NullArraySolved2.9KViews0likes5Comments