Skip to content
CRMSvcUtil extensions
C# F# Batchfile PowerShell
Branch: master
Clone or download
Pull request Compare This branch is 4 commits ahead of bassetassen:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/CRMSvcUtilExtensions
.gitignore
CRMSvcUtilExtensions.sln
LICENSE
README.md
RELEASE_NOTES.md
build.bat
build.fsx
download-nuget.ps1

README.md

CRMSvcUtilExtensions

Build status

A library with extensions to CRMSvcUtil.

Copy crmsvcutilextensions.dll to the same folder as CrmSvcUtil. Call CrmSvcUtil with /codefilter parameter

Available code filters:

  • EntityFilter - Generates the entities only listed in the filter.xml file
  • VanillaFilter - Filters out any custom entity, attribute and relationships
  • SolutionFilter - Generates only entities that is incuded in the solution that is specified

EntityFilter:

CrmSvcUtil.exe /codewriterfilter:"CRMSvcUtilExtensions.EntityFilter,CRMSvcUtilExtensions" /url:... /out:D:\Entities.cs /username:... /password:... /namespace:...

VanillaFilter:

CrmSvcUtil /codewriterfilter:"CRMSvcUtilExtensions.VanillaFilter,CRMSvcUtilExtensions"
/url:... /out:D:\Entities.cs /username:... /password:... /namespace:...

SolutionFilter: A valid Solution argument must be unique a comma-separated list of unique solution names.

CrmSvcUtil /codewriterfilter:"CRMSvcUtilExtensions.SolutionFilter,CRMSvcUtilExtensions"
/solution:uniquename /url:... /out:D:\Entities.cs /username:... /password:... /namespace:...

To use username, password, and connection string parameters:

CrmSvcUtil /codewriterfilter:"CRMSvcUtilExtensions.SolutionFilter,CRMSvcUtilExtensions"
/solution:uniquename /connectionstring:"AuthType=Office365;Username=jsmith@contoso.onmicrosoft.com; Password=passcode;Url=https://contoso.crm.dynamics.com" /out:D:\Entities.cs /namespace:...

If you are running the CodeGeneration tool behind a proxy, edit CrmSvcUtil.exe.config and add the following block within the configuration block:

<system.net>
<defaultProxy useDefaultCredentials="true"/>
</system.net>
You can’t perform that action at this time.