Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
GregTrevellick committed Aug 21, 2017
1 parent ff77a52 commit c3b7d8c
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 30 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

These are the changes to each version that has been released on the official Visual Studio extension gallery.

## 1.0.27
**2017-08-21**
- [x] Minor bug fixes

## 1.0.25
**2017-08-18**
- [x] Bug fix
Expand Down
17 changes: 10 additions & 7 deletions SolutionOpenPopUp/VSPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,22 @@ private void OnSolutionOpened()

SolutionOpenPopUpDotTxtHandler();

ShowReadMeDotTxtHandler();
ReadMeDotTxtHandler();

var popUpBody = GetPopUpBody(textFileDtos);

if (GeneralOptionsDto.ShowFileNamesInPopUp)
if (!string.IsNullOrEmpty(popUpBody))
{
popUpBody += GetPopUpFooter();
}
if (GeneralOptionsDto.ShowFileNamesInPopUp)
{
popUpBody += GetPopUpFooter();
}

DisplayPopUpMessage(string.Empty, popUpBody);
DisplayPopUpMessage(string.Empty, popUpBody);
}
}

private void ShowReadMeDotTxtHandler()
private void ReadMeDotTxtHandler()
{
if (GeneralOptionsDto.ShowReadMeDotTxt)
{
Expand Down Expand Up @@ -138,7 +141,7 @@ private string GetPopUpMessage(TextFileDto textFileDto)
}
else
{
popUpFooter += bulletPoint + textFileDto + " not found.";
popUpFooter += bulletPoint + textFileDto.FileName + " not found.";
popUpFooter += Environment.NewLine;
}

Expand Down
2 changes: 1 addition & 1 deletion SolutionOpenPopUp/source.extension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ static class Vsix
public const string Description = @"Display the contents of certain text files when the solution is opened in a pop-up window. A handy way to share solution-specific gotchas, non-critical team messages or your own personal notes for a solution.
";
public const string Language = "en-US";
public const string Version = "1.0.25";
public const string Version = "1.0.27";
public const string Author = "Greg Trevellick";
public const string Tags = "solution open, popup, pop-up, pop up, gotcha, gotchas, read me, readme, readme.txt";
}
Expand Down
44 changes: 22 additions & 22 deletions SolutionOpenPopUp/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="9ea776a6-e317-4ba8-a957-fa59958ec214" Version="1.0.25" Language="en-US" Publisher="Greg Trevellick" />
<DisplayName>Solution Open Pop Up</DisplayName>
<Description xml:space="preserve">Display the contents of certain text files when the solution is opened in a pop-up window. A handy way to share solution-specific gotchas, non-critical team messages or your own personal notes for a solution.
<Metadata>
<Identity Id="9ea776a6-e317-4ba8-a957-fa59958ec214" Version="1.0.27" Language="en-US" Publisher="Greg Trevellick" />
<DisplayName>Solution Open Pop Up</DisplayName>
<Description xml:space="preserve">Display the contents of certain text files when the solution is opened in a pop-up window. A handy way to share solution-specific gotchas, non-critical team messages or your own personal notes for a solution.
</Description>
<MoreInfo>https://github.com/GregTrevellick/SolutionOpenPopUp</MoreInfo>
<License>LICENSE.txt</License>
<ReleaseNotes>https://github.com/GregTrevellick/SolutionOpenPopUp/blob/master/CHANGELOG.md</ReleaseNotes>
<Icon>Resources\VsixExtensionIcon_90x90.png</Icon>
<PreviewImage>Resources\VsixExtensionPreview_175x175.png</PreviewImage>
<Tags>solution open, popup, pop-up, pop up, gotcha, gotchas, read me, readme, readme.txt</Tags>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[11.0,16.0)" />
</Installation>
<Dependencies>
</Dependencies>
<Assets>
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
</Assets>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0.26208.0,16.0)" DisplayName="Visual Studio core editor" />
</Prerequisites>
<MoreInfo>https://github.com/GregTrevellick/SolutionOpenPopUp</MoreInfo>
<License>LICENSE.txt</License>
<ReleaseNotes>https://github.com/GregTrevellick/SolutionOpenPopUp/blob/master/CHANGELOG.md</ReleaseNotes>
<Icon>Resources\VsixExtensionIcon_90x90.png</Icon>
<PreviewImage>Resources\VsixExtensionPreview_175x175.png</PreviewImage>
<Tags>solution open, popup, pop-up, pop up, gotcha, gotchas, read me, readme, readme.txt</Tags>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[11.0,16.0)" />
</Installation>
<Dependencies>
</Dependencies>
<Assets>
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
</Assets>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0.26208.0,16.0)" DisplayName="Visual Studio core editor" />
</Prerequisites>
</PackageManifest>

0 comments on commit c3b7d8c

Please sign in to comment.