My.Computer.FileSystem.SpecialDirectories.AllUsersApplicationData

  • Thread starter Thread starter SurturZ
  • Start date Start date
S

SurturZ

When I use My.Computer.FileSystem.SpecialDirectories.AllUsersApplicationData
in the environment, it returns something useful such as

C:\ProgramData\CompanyName\AppName\1.0.0.0

However, if I Publish my application and then run it, it returns something
like:

AllUsersApplicationData =
C:\Users\Username\AppData\Local\Apps\2.0\Data\YEQ9RET6.0YW\5NN55LT2.T2L\spec..tion_2d2f69b37f9e4e75_0001.0000_d2fdb2740a47be9c\Data

where "UserName" is my logged in account's name.

Should I not be using ClickOnce? Is ClickOnce ONLY for completely
per-user-isolated apps?
 
Back
Top