connect 2022 banner tablet connect 2022 banner mobile

How to Change the Default Model in Visual Studio for Dynamics 365

By Justin Thain | July 25, 2019

I ran across an interesting find today. Did you know you have the ability to change the default model associated with your Visual Studio dev environment? This was a helpful find for me and it should be for you too. Whenever I created a new solution/project in Visual Studio, my default model was Fleet Management. Most of the time I would remember to change this to the correct model. On occasion, I would forget and only remember when I was unable to add an AOT element outside of the Fleet Management model to this project.

Here's how to change the default model in Visual Studio for Dynamics 365:

1) On your dev box, locate the settings folder for Visual Studio by going to C:\Users\Administrator\Documents\Visual Studio 2015\Settings.
2) In the settings folder, edit the DefaultConfig.xml file.
3) Open the XML file with notepad, searched for element DefaultModelForNewProjects, and changed it to the desired model.
4) Once the file has been saved and Visual Studio is closed and reopened, all projects will be created in the model you specified in the default config file.

Check out more blogs about using Visual Studio here.

Continue to receive tips on Dynamics 365 Finance and Operations by subscribing to our blog. If you have questions at any time about Visual Studio or Dynamics 365, please reach out to our experts at Stoneridge Software.

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X