Giter Club home page Giter Club logo

dynamics365-customizing-downloader's Introduction

dynamics365-customizing-downloader's People

Contributors

dependabot-support avatar jhueppauff avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

dynamics365-customizing-downloader's Issues

Download Dialog seems to shrink the connection string in the config

System.ArgumentNullException:
at Dynamics365CustomizingDownloader.Core.Data.Cryptography.EncryptStringAES (Dynamics365CustomizingDownloader.Core, Version=2.7.18106.3, Culture=neutral, PublicKeyToken=a598092b9b706c32Dynamics365CustomizingDownloader.Core, Version=2.7.18106.3, Culture=neutral, PublicKeyToken=a598092b9b706c32: D:\a\1\s\Dynamics365 Customizing Downloader Core\Data\Cryptography.csDynamics365CustomizingDownloader.Core, Version=2.7.18106.3, Culture=neutral, PublicKeyToken=a598092b9b706c32: 46)
at Dynamics365CustomizingDownloader.Core.Data.StorageExtensions.Update (Dynamics365CustomizingDownloader.Core, Version=2.7.18106.3, Culture=neutral, PublicKeyToken=a598092b9b706c32Dynamics365CustomizingDownloader.Core, Version=2.7.18106.3, Culture=neutral, PublicKeyToken=a598092b9b706c32: D:\a\1\s\Dynamics365 Customizing Downloader Core\Data\StorageExtensions.csDynamics365CustomizingDownloader.Core, Version=2.7.18106.3, Culture=neutral, PublicKeyToken=a598092b9b706c32: 136)
at Dynamics365CustomizingDownloader.DownloadMultiple.Button_Click (Dynamics365 Customizing Downloader, Version=2.7.18106.3, Culture=neutral, PublicKeyToken=a598092b9b706c32Dynamics365 Customizing Downloader, Version=2.7.18106.3, Culture=neutral, PublicKeyToken=a598092b9b706c32: D:\a\1\s\Dynamics365 Customizing Downloader\DownloadMultiple.xaml.csDynamics365 Customizing Downloader, Version=2.7.18106.3, Culture=neutral, PublicKeyToken=a598092b9b706c32: 278)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.EventRoute.InvokeHandlersImpl (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.RaiseEventImpl (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.RaiseEvent (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Controls.Primitives.ButtonBase.OnClick (PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Controls.Button.OnClick (PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp (PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.RoutedEventArgs.InvokeHandler (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.EventRoute.InvokeHandlersImpl (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.ReRaiseEventAs (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.OnMouseUpThunk (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.RoutedEventArgs.InvokeHandler (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.EventRoute.InvokeHandlersImpl (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.RaiseEventImpl (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.RaiseTrustedEvent (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.RaiseEvent (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Input.InputManager.ProcessStagingArea (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Input.InputManager.ProcessInput (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Input.InputProviderSite.ReportInput (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Interop.HwndSource.InputFilterMessage (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at MS.Win32.HwndWrapper.WndProc (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at MS.Win32.HwndSubclass.SubclassWndProc (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at MS.Win32.UnsafeNativeMethods.DispatchMessage (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Threading.Dispatcher.PushFrameImpl (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Threading.Dispatcher.PushFrame (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Window.ShowHelper (PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Window.Show (PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Window.ShowDialog (PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at Dynamics365CustomizingDownloader.Pages.SolutionSelector.Button_Click (Dynamics365 Customizing Downloader, Version=2.7.18106.3, Culture=neutral, PublicKeyToken=a598092b9b706c32Dynamics365 Customizing Downloader, Version=2.7.18106.3, Culture=neutral, PublicKeyToken=a598092b9b706c32: D:\a\1\s\Dynamics365 Customizing Downloader\Pages\SolutionSelector.xaml.csDynamics365 Customizing Downloader, Version=2.7.18106.3, Culture=neutral, PublicKeyToken=a598092b9b706c32: 194)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.EventRoute.InvokeHandlersImpl (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.RaiseEventImpl (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.RaiseEvent (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Controls.Primitives.ButtonBase.OnClick (PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Controls.Button.OnClick (PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp (PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.RoutedEventArgs.InvokeHandler (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.EventRoute.InvokeHandlersImpl (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.ReRaiseEventAs (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.OnMouseUpThunk (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.RoutedEventArgs.InvokeHandler (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.EventRoute.InvokeHandlersImpl (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.RaiseEventImpl (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.RaiseTrustedEvent (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.UIElement.RaiseEvent (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Input.InputManager.ProcessStagingArea (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Input.InputManager.ProcessInput (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Input.InputProviderSite.ReportInput (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Interop.HwndSource.InputFilterMessage (PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at MS.Win32.HwndWrapper.WndProc (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at MS.Win32.HwndSubclass.SubclassWndProc (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at MS.Win32.UnsafeNativeMethods.DispatchMessage (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Threading.Dispatcher.PushFrameImpl (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Threading.Dispatcher.PushFrame (WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Application.RunDispatcher (PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Application.RunInternal (PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at System.Windows.Application.Run (PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
at Dynamics365CustomizingDownloader.App.Main (Dynamics365 Customizing Downloader, Version=2.7.18106.3, Culture=neutral, PublicKeyToken=a598092b9b706c32)

Directory not empty Exception

When you try to download a Solution sometimes this fails with the error message that the Directory is not empty. Deleting all contents of the directory and then redownloading fixes the problem.

It would be better if the tool would do this on its own without throwing an error. This would be the easy solution to this issue on the other hand if a user actively changed some files in his repo we would need to make sure the user wants to overwrite his changes.

Move App QuickStart into Wiki

App gets to big, to manage a Introduction on the Readme.md.
Fokus on the important thinks in the Readme.

Move everything into the Wiki

If a Solution was deleted in CRM but exists still local an error will occure

An error occured while retriving the CRM Solutions : Object reference not set to an instance of an object.
at Dynamics365CustomizingDownloader.Pages.SolutionSelector.Worker_DoWork(Object sender, DoWorkEventArgs e) in d:\a\1\s\Dynamics365 Customizing Downloader\Pages\SolutionSelector.xaml.cs:line 113
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

After Download Solution.zip appears

The Solution.zip should be deleted after Download and Extraction. This happens when I try to redownload the Solution and the Download fails for instance with a Directory not empty Failure.

Typo in the Download Failed message

An error occured while downloading or extracting the solution (is)
An error occurred while downloading or extracting the solution (should)

ExceptionTelemetry.HandledAt' is obsolete

Dynamics365 Customizing Downloader\ApplicationInsightHelper.cs (88, 17)
Dynamics365 Customizing Downloader\ApplicationInsightHelper.cs(88,17): Warning CS0618: 'ExceptionTelemetry.HandledAt' is obsolete: 'Use custom properties to report exception handling layer'

Download will crash the Application

public string ConnectionName { get; set; }

    private void Btn_download_Click(object sender, RoutedEventArgs e)
    {
        this.loadingPanel.IsLoading = true;
        this.SelectedPath = this.tbx_filepath.Text;

        Xrm.CrmConnection crmConnection = new Xrm.CrmConnection
        {
            ConnectionString = this.CrmConnectionString,
            LocalPath = this.SelectedPath,
            Name = this.ConnectionName => is empty
        };

Add Dispose for disposable objects/fields/property

Severity Code Description
Warning DF0000 This ObjectCreation returns an object that is not disposed.
Warning DF0022 Property is not disposed.
Warning DF0010 Local variable is not disposed
Warning DF0020 Field not disposed.

The explicit binding redirect on "Microsoft.IdentityModel.Clients.ActiveDirectory, Culture=neutral, PublicKeyToken=31bf3856ad364e35" conflicts with an autogenerated binding redirect

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets (2166, 5)
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2166,5): Warning MSB3836: The explicit binding redirect on "Microsoft.IdentityModel.Clients.ActiveDirectory, Culture=neutral, PublicKeyToken=31bf3856ad364e35" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "".

9.1/9.0 Solutions can't be extracted

Issue type

[ ] Feature request
[x] Bug report
[ ] Documentation

Environment

  • Windows version: Windows 10 1803
  • Tool version: 2.7.18113.3 or 2.6.18013.04
  • Used CRM Version: v9.1

Description

Extract of Solution does not work anymore in v9.1 Environments

Repo Steps:

  • Start Download Solution
  • Log shows following
15/01/2019 13:43:25 : Started Form
15/01/2019 13:43:34 : 
Options:
  /action:{Extract|Pack}                        Action to Perform (short form /a)
  /zipfile:<string>                             The full path to the customization ZIP file: C:\customization.zip
                                                (short form /z)
  /packagetype:{Unmanaged|Managed|Both}         When Extracting use to specify dual Managed and Unmanaged operation.
                                                When Packing use to specify Managed or Unmanaged from a previous
                                                'Extract Both'. (short form /p)
  /folder:<string>                              The path to the root folder: C:\Solutions\Solution1. When Extracting
                                                this will be written to, when Packing this will be read from. Default
                                                value:'.' (short form /f)
  /log:<string>                                 The path to the log file. (short form /l)
  /errorlevel:{Off|Error|Warning|Info|Verbose}  Minimum logging level for log output [Verbose|Info|Warning|Error|Off].
                                                Default value:'Info' (short form /e)
  
  /allowDelete:{Yes|No|Prompt}                  Dictates if delete operations may occur. Default value:'Prompt' (short
                                                form /ad)
  /allowWrite:{Yes|No}                          Dictates if write operations may occur. Default value:'Yes' (short form
                                                /aw)
  /clobber                                      Enables that files marked read-only can be deleted or overwritten.
                                                (short form /c)
  /map:<string>                                 The full path to a mapping xml file: C:\maps.xml (short form /m)
  /nologo                                       Suppresses the banner. (short form /n)
  /sourceLoc:<string>                           Generates a template resource file. Valid only on Extract. Possible
                                                Values are auto or an LCID/ISO code of the language you wish to export.
                                                When Present, this will extract the string resources from the given
                                                locale as a neutral .resx. If auto or just the long or short form of
                                                the switch is specified the base locale for the solution will be used.
                                                (short form /src)
  /localize                                     Extract or merge all string resources into .resx files. (short form
                                                /loc)
  
  
  @<file>                                       Read response file for more options


15/01/2019 13:43:35 : ---------------
15/01/2019 13:43:35 : Finished download/extraction
15/01/2019 13:43:35 : ---------------

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.