Skip to content

Commit c2d0452

Browse files
authored
Merge pull request #93 from BIDeveloperExtensions/bidshelper-vsix
2.3.5 release
2 parents c1ab11d + 4ce1309 commit c2d0452

72 files changed

Lines changed: 988 additions & 7312 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ build/
2525
[Bb]in/
2626
[Oo]bj/
2727
[Pp]ackage/
28+
[Pp]ackages/
2829

2930
# MSTest test Results
3031
[Tt]est[Rr]esult*/

BidsHelperPackage.cs

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,13 @@ Microsoft Analysis Services Projects (by Microsoft) v2.8.11 04a86fc2-dbd5-4222-8
136136
try
137137
{
138138
System.IServiceProvider serviceProvider = this as System.IServiceProvider;
139-
Microsoft.VisualStudio.ExtensionManager.IVsExtensionManager em =
140-
(Microsoft.VisualStudio.ExtensionManager.IVsExtensionManager)serviceProvider.GetService(
139+
//Microsoft.VisualStudio.ExtensionManager.IVsExtensionManager em =
140+
// (Microsoft.VisualStudio.ExtensionManager.IVsExtensionManager)serviceProvider.GetService(
141+
// typeof(Microsoft.VisualStudio.ExtensionManager.IVsExtensionManager));
142+
var em1 =
143+
serviceProvider.GetService(
141144
typeof(Microsoft.VisualStudio.ExtensionManager.SVsExtensionManager));
142-
145+
Microsoft.VisualStudio.ExtensionManager.IVsExtensionManager em = em1 as Microsoft.VisualStudio.ExtensionManager.IVsExtensionManager;
143146
string result = "";
144147
foreach (Microsoft.VisualStudio.ExtensionManager.IInstalledExtension i in em.GetInstalledExtensions())
145148
{
@@ -173,11 +176,13 @@ Microsoft Analysis Services Projects (by Microsoft) v2.8.11 04a86fc2-dbd5-4222-8
173176
}
174177
result += h.Name + " (by " + h.Author + ") v" + h.Version + " " + h.Identifier + " " + h.MoreInfoUrl + " " + i.InstallPath + System.Environment.NewLine;
175178
}
176-
catch { }
179+
catch (Exception ex){ Log.Debug($"Error iterating other extensions: {ex.Message}"); }
177180
}
178181
Log.Debug(result);
179182
}
180-
catch { }
183+
catch (Exception ex) {
184+
Log.Debug($"Error getting extension manager: {ex.Message}");
185+
}
181186

182187

183188
string sAddInTypeName = string.Empty;

Core/VersionInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class VersionInfo
99
{
1010
// BIDS Helper Assembly & VSIX Version
1111
// N.B. Manually update the manifest file, if you change this - See source.extension.vsixmanifest
12-
public const string Version = "2.3.4";
12+
public const string Version = "2.3.5";
1313

1414
private static readonly object lockResource = new object();
1515
private static Version visualStudioVersion;
Binary file not shown.
Binary file not shown.
Binary file not shown.
6.55 KB
Binary file not shown.
Binary file not shown.
-56.5 KB
Binary file not shown.
-57.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)