- ILMerge
Used, when you have multiple assemblies and you need to package them together.
Stage: Post Build Step
Sample: - Copy the plugin to a plugins folder
This makes it easier to tell XTB to load the dll you are developing if $(ConfigurationName) == Debug ( - Debug settings:
Start external program: path to xrmtoolbox.exe
Command line arguments:
/plugin:"NameOfThePlugin" /overridepath:"path to the parent of plugin folder" /connection:"specific connection if you want to use one"
Note: in step 2, we create a folder called Plugins under the debug output folder (eg: {ProjectName}\bin\Debug\Plugins). The path that OverRidePath should point to is the Debug folder. The reason is that XTB will look for a sub-folder called plugins to locate the plugin.
ilmerge.exe /target:library /targetplatform:v4,"C:\Windows\Microsoft.NET\Framework\v4.0.30319" "/out:CombinedModuleName.dll" "inputModule1.dll" "inputModule2.dll" "inputModule3.dll"
IF NOT EXIST Plugins mkdir Plugins
move /Y "CombinedModuleName.dll" Plugins
)
For more information: https://github.com/MscrmTools/XrmToolBox/wiki/Debug-your-plugins-during-development
No comments:
Post a Comment
Remember, if you want me to respond to your comment, then you need to use a Google/OpenID account to leave the comment.