[D365] Set default model for new projects

Back in the days with Dynamics AX 2012 we could use config files to set the default model to start the client with or for the use with Visual Studio and SSRS Reports.

In D365 the default models will be set automatically for you when you create a model in your environment and set the parameter.

But how to set the default model without creating a new model?

There is a config file under C:\Users\username\Documents\Visual Studio 2015\Settings\DefaultConfig.xml.

Update: For Visual Studio 2017 and newer the path for this config file is C:\Users\Administrator\Documents\Visual Studio Dynamics 365\DynamicsDevConfig.xml

Add the DefaultModelForNewProjects node with the name of the model to it:

<DynamicsDevConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/dynamics/2012/03/development/configuration">
...
<DefaultModelForNewProjects>NameOfModel<DefaultModelForNewProjects>
...
</DynamicsDevConfig>