Skip to content

Commit 83cf7eb

Browse files
authored
Merge pull request #54 from Azure/fixcache
Fix path issue with ProtectedFileTokenCache in desktop build
2 parents fa8a479 + e806cb1 commit 83cf7eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Authentication/Authentication/ProtectedFileTokenCache.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ public class ProtectedFileTokenCache : TokenCache, IAzureTokenCache
3030
private static readonly string CacheFileName = Path.Combine(
3131
#if !NETSTANDARD
3232
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
33+
Resources.OldAzureDirectoryName,
3334
#else
3435
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
36+
Resources.AzureDirectoryName,
3537
#endif
36-
Resources.AzureDirectoryName, "TokenCache.dat");
38+
"TokenCache.dat");
3739

3840
private static readonly object fileLock = new object();
3941

0 commit comments

Comments
 (0)