diff --git a/data/resources/StringResources.resx b/data/resources/StringResources.resx
index 90e7f09354..cc51602506 100644
--- a/data/resources/StringResources.resx
+++ b/data/resources/StringResources.resx
@@ -6381,6 +6381,17 @@ Removed the end part of the original message ", reason '${Message}'" since this
Delete all web referencesTitle of the dialog box when the user tries to remove all web references.
+
+ Select Reflector path
+ Button to select the Reflector path
+
+
+ Reflector was found in the following directory:
+
+
+ Reflector
+ Title of Reflector path option panel
+
Open .NET Reflector
@@ -6390,9 +6401,6 @@ Removed the end part of the original message ", reason '${Message}'" since this
The path to Reflector has not been set yet.
-
- Change Reflector path.
-
Failed to connect to Reflector.
@@ -6405,17 +6413,6 @@ Removed the end part of the original message ", reason '${Message}'" since this
Set path to Reflector
-
- Reflector was found in the following directory:
-
-
- Reflector
- Title of Reflector path choosing groupbox
-
-
- Select Reflector path
- Button to select the Reflector path
-
Assemblies (*.dll)|*.dll
diff --git a/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Properties/AssemblyInfo.cs b/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Properties/AssemblyInfo.cs
index b804da8885..830c3cc354 100644
--- a/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Properties/AssemblyInfo.cs
+++ b/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Properties/AssemblyInfo.cs
@@ -21,4 +21,3 @@ using System.Reflection;
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
-[assembly: System.CLSCompliant(true)]
diff --git a/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Src/ReflectorSetupHelper.cs b/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Src/ReflectorSetupHelper.cs
index 37d6a0a610..e73638f5c0 100644
--- a/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Src/ReflectorSetupHelper.cs
+++ b/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Src/ReflectorSetupHelper.cs
@@ -33,6 +33,7 @@ namespace ReflectorAddIn
if (askReason != null) {
SetReflectorPath dialog = new SetReflectorPath(path, askReason);
+ dialog.Owner = WorkbenchSingleton.MainWindow;
bool? result = dialog.ShowDialog();
if (!result.HasValue || !result.Value || !File.Exists(dialog.SelectedFile))
return null;
@@ -46,9 +47,10 @@ namespace ReflectorAddIn
internal static void OpenReflectorExeFullPathInteractiver() {
string path = PropertyService.Get(ReflectorExePathPropertyName);
- string askReason = ResourceService.GetString("ReflectorAddIn.ReflectorChangePath");
+ string askReason = null;
SetReflectorPath dialog = new SetReflectorPath(path, askReason);
+ dialog.Owner = WorkbenchSingleton.MainWindow;
bool? result = dialog.ShowDialog();
if (!result.HasValue || !result.Value || !File.Exists(dialog.SelectedFile))
diff --git a/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Src/Windows/SetReflectorPath.xaml b/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Src/Windows/SetReflectorPath.xaml
index ddf5a7635e..90d32042c2 100644
--- a/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Src/Windows/SetReflectorPath.xaml
+++ b/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Src/Windows/SetReflectorPath.xaml
@@ -9,7 +9,7 @@
ResizeMode="NoResize"
WindowStyle="ToolWindow"
ShowInTaskbar="False"
- Height="230"
+ SizeToContent="Height"
Width="446">
-
-
+
\ No newline at end of file
diff --git a/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Src/Windows/SetReflectorPath.xaml.cs b/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Src/Windows/SetReflectorPath.xaml.cs
index 4407d5b827..085edf219a 100644
--- a/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Src/Windows/SetReflectorPath.xaml.cs
+++ b/src/AddIns/Misc/ReflectorAddIn/ReflectorAddIn/Project/Src/Windows/SetReflectorPath.xaml.cs
@@ -22,7 +22,10 @@ namespace ReflectorAddIn.Windows
this.Title = ResourceService.GetString("ReflectorAddIn.SetReflectorPathDialogTitle");
- this.txtReason.Text = reason;
+ if (reason != null)
+ this.txtReason.Text = reason;
+ else
+ this.txtReason.Visibility = Visibility.Collapsed;
if (!String.IsNullOrEmpty(oldPath)) {
this.slePath.Text = oldPath;
}