已发布的带有 ClickOnce/OneClick(无论它们叫什么)的程序存储在哪里?我只是想尝试确认是不是:
C:\Users\<user>\AppData\Local\Apps\2.0\ZWD5DD4E.M7Q\644LG9VN.E7R\<program name in some long format>
然后使用替换,我使用以下代码获取 %appdata% 文件夹信息,然后尝试将“\Roaming”替换为“\Local...”
Imports System.Environment
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
' Get the path to the Application Data folder
Dim appData As String = GetFolderPath(SpecialFolder.ApplicationData)
' Display the path
Label1.Text = appData
Label1.Text.Replace("\Roaming", "\Local\Apps\2.0\ZWD5DD4E.M7Q\644LG9VN.E7R\vize..tion_72ba619dd371d095_0001.0000_a1b4f773f6ea0524")
Label1.Text = appData
End Sub
End Class
但它似乎没有取代“\漫游”所以如果有人知道如何使用,请告诉我吗?谢谢!