Skip to content

Commit

Permalink
Added know issue information
Browse files Browse the repository at this point in the history
  • Loading branch information
KumarVivek committed Jun 13, 2019
1 parent dc48aec commit e25b82c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions cds/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
# How to run samples
# How to run Common Data Service samples?

1. Download or clone the repo so that you have a local copy.
1. (Optional) Edit the cds/App.config file to define a connection string specifying the Common Data service instance you want to connect to.
2. Open the sample solution in Visual Studio and press F5 to run the sample.
- If you have specified a connection string in cds/App.config, any sample you run will use that connection information.
- If you haven't specified a connection string in cds/App.config file, a dialog will open each time you run the sample and you will need to enter information about which CDS for Apps instance you want to connect to and which credentials you want to use. This dialog will cache previous connections so that you can choose a previously used connection.
- If you haven't specified a connection string in cds/App.config file, a dialog ([XRM tooling common login control](https://docs.microsoft.com/powerapps/developer/common-data-service/xrm-tooling/use-xrm-tooling-common-login-control-client-applications)) will open each time you run the sample and you will need to enter information about which Common Data Service instance you want to connect to and which credentials you want to use. This dialog will cache previous connections so that you can choose a previously used connection.
> [!NOTE]
> **Known Issue**: With the recent changes to .NET Framework, an exception is thrown when a sample tries to open the XRM tooling common login control dialog. As a workaround for the time being, do one of the following:
> - Specify a connection string in cds/App.config to run the samples.
> - Enable **HTTP Activation** on your computer where you are running the samples, and then run the sample without specifying a connection string in cds/App.config.
>
> ![](media/http-activation.png "Enable HTTP Activation")
>
> This issue will be resolved in a future update when we distribute the update assemblies through our [NuGet package](https://www.nuget.org/packages/Microsoft.CrmSdk.XrmTooling.WpfControls/).
The samples in this repo that require a connection to a Common Data Service instance to run will include a linked reference to the cds/App.config file.


Binary file added cds/media/http-activation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e25b82c

Please sign in to comment.