Skip to content

Commit

Permalink
Everything finish and ready deploy verion 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phuocle committed Mar 31, 2019
1 parent cc1cab1 commit fa64634
Show file tree
Hide file tree
Showing 20 changed files with 2,236 additions and 9 deletions.
Binary file not shown.
Binary file not shown.
20 changes: 11 additions & 9 deletions source/PL.DynamicsCrm.DevKit.Package/Command.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,17 @@ private static void CommandReport_BeforeQueryStatus(object sender, EventArgs e)
{
var menuCommand = sender as OleMenuCommand;
menuCommand.Visible = false;
if (Dte == null || Dte.SelectedItems == null || Dte.SelectedItems.Count != 1) return;
var selectedItem = Dte.SelectedItems.Item(1);
if (selectedItem?.ProjectItem == null) return;
if (selectedItem.ProjectItem.ProjectItems == null) return;
var fileName = selectedItem.ProjectItem.FileNames[0];
if (fileName == null) return;
var extension = Path.GetExtension(fileName);
if (extension != ".rdl") return;
menuCommand.Visible = true;
try
{
if (Dte == null || Dte.SelectedItems == null || Dte.SelectedItems.Count != 1) return;
var selectedItem = Dte.SelectedItems.Item(1);
if (selectedItem.ProjectItem == null) return;
var fileName = selectedItem.ProjectItem.FileNames[0];
var extension = Path.GetExtension(fileName);
if (extension != ".rdl") return;
menuCommand.Visible = true;
}
catch { }
}

private static string ProjectUniqueName { get; set; }
Expand Down
Binary file not shown.
Binary file modified source/Published/1.3.0/PL.DynamicsCrm.DevKit.1.3.0.vsix
Binary file not shown.
Binary file not shown.
Binary file modified source/Published/1.3.0/PL.DynamicsCrm.DevKit.Cli.1.3.0.nupkg
Binary file not shown.
Binary file modified source/Published/1.3.0/PL.DynamicsCrm.DevKit.Tools.1.3.0.nupkg
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit fa64634

Please sign in to comment.