MS Tech & Coffee

Thoughts of a .NET Developer turned into MS Dynamics architect turned into Power Platform Director turned into AI and Business Transformation Global Lead… all views are my own!

I know that the title of this post can sound funny, but it happened to me today and I spent at least 30 min trying to find out what went wrong with a Visual Studio solution that I have just created.

Scenario:

I created a new Visual Studio Solution using the developer toolkit, I tried to connect to my Dynamics CRM Organisation and I couldn’t because of external issues, in this case proxy, which was not great but I could carry on working, after all the developer toolkit was not there since the beginning ;).

So I created my plugin, closed Visual Studio and carry on working on other stuff. Then I was notified that I should be able to connect again as the issue with the proxy was fixed, great I said!

Opened Visual Studio and the option to Connect to Dynamics CRM had disappeared!

I am sure it has happened to you sometimes, but there is a solution for this and it is quick and easy!

Solution:

Open the .sln file with Notepad or Notepad ++ and add the following to the Solution configuration just below the beginning of the Global part.

GlobalSection(CRMSolutionProperties) = preSolution

SolutionIsBoundToCRM = True

EndGlobalSection

And this will do the trick, just open the solution again with Visual Studio and the Developer toolkit will prompt for your credentials.

Probably this has been written many times by many people but to be honest today I had to spend 30 min looking for the solution and I hope to make things easier for one that comes after me πŸ˜‰

Β 

Cheers,

Β 

Mario

Β 

Leave a comment

I’m Mario

Welcome to MS Tech & Coffee, a project I started more than 8 years ago as a place where I could drop things that I was encountering in my journey as .NET developer in the UK. That journey has taken me to many places and now looking back I want to use this project to share some of my personal views on technology, AI, the Microsoft ecosystem and of course.. a bit of coffee!

Let’s connect