Aave
Aave

Reputation: 568

Why apps within same solution get different AppData path

I have a one solution, and two projects inside it. Both projects exists in the same namespace, e.g. MyCompanyName. When I call

My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData

this method returns two different paths. First path is C:\Users\user\AppData\Roaming\MyCompanyName, second path is C:\Users\user\AppData\Roaming\MyCompanyFullName.

I should know, why? Thanks!

Upvotes: 0

Views: 47

Answers (1)

Aave
Aave

Reputation: 568

I've found the answer. If in project properties, in the assembly information, in the field "Organization" set company name, so current user application data is according to this name. If company name is missed, the current user application data is according to root namespace.

Upvotes: 1

Related Questions