My.Computer.FileSystem.SpecialDirectories.AllUsersApplicationData

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top