/// <summary>
        /// Returns the folder that Visual Studio uses for storing various cache, backup, template, etc. files
        /// </summary>
        /// <param name="folder">Requested folder.</param>        
        /// <returns>Full path of the requested folder.</returns>
        public override string GetApplicationDataFolder(ApplicationDataFolder folder)
        {
            string folderPath;
            int hr = this.settingsManager.GetApplicationDataFolder((uint)folder, out folderPath);
            Marshal.ThrowExceptionForHR(hr);

            return folderPath;
        }
        /// <summary>
        /// Returns the folder that Visual Studio uses for storing various cache, backup, template, etc. files
        /// </summary>
        /// <param name="folder">Requested folder.</param>
        /// <returns>Full path of the requested folder.</returns>
        public override string GetApplicationDataFolder(ApplicationDataFolder folder)
        {
            string folderPath;
            int    hr = this.settingsManager.GetApplicationDataFolder((uint)folder, out folderPath);

            Marshal.ThrowExceptionForHR(hr);

            return(folderPath);
        }
 public override string GetApplicationDataFolder(ApplicationDataFolder folder)
 {
     throw new NotImplementedException();
 }
 public override string GetApplicationDataFolder(ApplicationDataFolder folder)
 {
     throw new NotImplementedException();
 }
Exemple #5
0
 /// <summary>
 /// Gets the application data folder.
 /// </summary>
 /// <param name="folder">The folder.</param>
 /// <returns>The application data folder.</returns>
 public override string GetApplicationDataFolder(ApplicationDataFolder folder)
 {
     return Path.GetTempPath();
 }
Exemple #6
0
 /// <summary>
 /// Gets the application data folder.
 /// </summary>
 /// <param name="folder">The folder.</param>
 /// <returns>The application data folder.</returns>
 public override string GetApplicationDataFolder(ApplicationDataFolder folder)
 {
     return(Path.GetTempPath());
 }