private void ExecuteSyncGenerationPostActions(TempGenerationResult result)
        {
            var postActions = PostactionFactory.FindSyncGenerationPostActions(result);

            foreach (var postAction in postActions)
            {
                postAction.Execute();
            }
        }
        private void ExecuteSyncGenerationPostActions(TempGenerationResult result)
        {
            var postActions = PostactionFactory.FindSyncGenerationPostActions(result);

            foreach (var postAction in postActions)
            {
                postAction.Execute();
            }

            // New files aren't listed as project file modifications so any modifications should be new package references, etc.
            if (result.ModifiedFiles.Any(f => Path.GetExtension(f).EndsWith("proj", StringComparison.OrdinalIgnoreCase)))
            {
                // Forcing a package restore so don't get warnings in the designer once addition is complete
                GenContext.ToolBox.Shell.RestorePackages();
            }
        }