Skip to content

Commit a020c2f

Browse files
v0.0.0.1
1 parent 2f4617b commit a020c2f

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed

tools/extensions/CodeQL.VisualStudio/CodeQL.VisualStudio/CodeQL.VisualStudio.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,10 @@
150150
</EmbeddedResource>
151151
</ItemGroup>
152152
<ItemGroup>
153-
<Content Include="icon.png" />
153+
<Content Include="icon.ico">
154+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
155+
<IncludeInVSIX>true</IncludeInVSIX>
156+
</Content>
154157
<Resource Include="Icons\db.ico" />
155158
<Resource Include="Icons\Gear.ico" />
156159
<Resource Include="Icons\stop.ico" />

tools/extensions/CodeQL.VisualStudio/CodeQL.VisualStudio/CodeQLCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ private async System.Threading.Tasks.Task MenuItemCallbackAsync(object sender, E
224224
{
225225
CodeQLService.Instance.ClearTask();
226226
VsShellUtilities.ShowMessageBox(Microsoft.VisualStudio.Shell.ServiceProvider.GlobalProvider,
227-
$"CodeQL analysis failed. " + ex.Message + " See output for details.",
227+
$"CodeQL analysis failed with message: " + ex.Message,
228228
null, // title
229229
OLEMSGICON.OLEMSGICON_CRITICAL,
230230
OLEMSGBUTTON.OLEMSGBUTTON_OK,

tools/extensions/CodeQL.VisualStudio/CodeQL.VisualStudio/InstallWindow.xaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
mc:Ignorable="d"
88
Title="CodeQL" WindowStyle="ToolWindow" ResizeMode="NoResize" Topmost="True" WindowStartupLocation="CenterOwner" Cursor="Wait" SizeToContent="WidthAndHeight">
99
<Grid>
10-
<StackPanel Margin="20, 20, 20, 20" MinHeight="50" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
11-
<TextBlock Margin="0, 0, 0, 30" HorizontalAlignment="Stretch" TextWrapping="Wrap" Text="Please wait..."/>
12-
<ProgressBar Margin="0, 0, 0,40" HorizontalAlignment="Stretch" Height="17" VerticalAlignment="stretch" IsIndeterminate="True"/>
13-
<Button Name="buttonCancel" Margin="0, 0, 0, 0" Click="ButtonCancel_Click" HorizontalAlignment="Right" Height="23" Content="Cancel" Width="74" />
10+
<StackPanel Margin="10, 10, 10, 10" >
11+
<ProgressBar Margin="0, 30, 0, 0" HorizontalAlignment="Stretch" Height="15" Width="150" VerticalAlignment="stretch" IsIndeterminate="True" />
12+
<TextBlock Margin="0, 0, 0, 0" HorizontalAlignment="Stretch" TextWrapping="Wrap" Text="Please wait..."/>
13+
<Button Name="buttonCancel" Margin="0, 40, 0, 0" Click="ButtonCancel_Click" HorizontalAlignment="Right" Height="23" Content="Cancel" Width="74" />
1414
</StackPanel>
1515
</Grid>
1616
</Window>
423 Bytes
Binary file not shown.
-4.49 KB
Binary file not shown.

tools/extensions/CodeQL.VisualStudio/CodeQL.VisualStudio/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<DisplayName>CodeQL Visual Studio Extension</DisplayName>
66
<Description xml:space="preserve">CodeQL Visual Studio Extension</Description>
77
<License>License.txt</License>
8-
<Icon>icon.png</Icon>
8+
<Icon>icon.ico</Icon>
99
<Preview>true</Preview>
1010
</Metadata>
1111
<Installation>

0 commit comments

Comments
 (0)