Giter VIP home page Giter VIP logo

dynamics365-release-automation-tools's Introduction

Dynamics 365 Release Automation Tools

Tools for automation of Dynamics 365 solution deployment

Installation

To get started clone the repository and run:

Import-Module .\module\dynamics365-release-automation-tools

OR

Module is available in PowerShell Gallery

Run PowerShell as administrator and allow remotely downloaded scripts:

Set-ExecutionPolicy RemoteSigned

Install the latest version from PowerShell Gallery:

Install-Module dynamics365-release-automation-tools

Import the installed module:

Import-Module dynamics365-release-automation-tools

Functions

1. Update Custom Workflow Steps to the Latest Version

This cmdlet will replace all custom assembly references in the solution ZIP file with the highest build number of the assembly referenced in the solution. NOTE: You have to include the latest Assembly component in the solution!

Update-AssemblyUsageToLatestVersion ..\samples\solutions\test.zip

Assembly Filter

Update-AssemblyUsageToLatestVersion -ZipFileName ..\samples\solutions\test.zip -AssemblyName TNTGTools

2. Remove Missing Dependencies From solution.xml

There may be a situation when you have all the components in place and solution import should proceed without issues but the solution import wizard throws this error:

The import of the solution XYZ failed. The following components are missing in your system and are not included in the solution. Import the managed solutions that contain these components (Active) and then try importing this solution again.

The import wizard does not perform any check whether the component is actually present in the environment.

You can remove it with this cmdlet:

Remove-MissingDependencies ..\samples\solutions\test.zip

3. Replace dependency version with version from specific DLL

Update-AssemblyUsageToAssemblyVersion -ZipFileName ..\samples\solutions\test.zip -AssemblyPath ..\samples\assemblies\assembly.dll

Alternatively you can use following command to specify the assembly version without the DLL:

Update-AssemblyUsageToVersion -ZipFileName ..\samples\solutions\test.zip -AssemblyName Test -AssemblyVersion "1.0.0.0" -AssemblyFQN "TestAssembly.Test, version=1.0.0.0, 
Culture=neutral, PublicKeyToken=123a4b567890c123"

Known Users

If you are using this library and would like to be listed here, please let us know!

Contributing

We accept contributions via Pull Requests on Github.

Credits

Support

If you find a bug or encounter any issue or have a problem/question with this library please create a new issue.

License

The MIT License (MIT). Please see License File for more information.

dynamics365-release-automation-tools's People

Contributors

hajekj avatar tomprokop avatar

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.