Category Archives: Visual Studio

Developing a Provider-Hosted Add-In

Following on from the post detailing setting up a development environment for provider-hosted add-ins, let’s move on and walk through creating an add-in. Start by creating a new “SharePoint Add-In”. Then give the solution a name and choose a save … Continue reading

Posted in .Net, Development, SharePoint, Visual Studio | Tagged , , | Leave a comment

Import Tag MSBuild Errors

Creating a SharePoint package is easy enough with Visual Studio but each time you restart it, the package location used previously is replaced with the default location of the current user’s Documents folder. To save a few seconds from my … Continue reading

Posted in Visual Studio | Tagged , | 1 Comment

Creating Entities from Dynamic SQL

When working with a LINQ to SQL model (dbml) and you try to add a custom stored procedure that uses dynamic SQL, you will likely see an error similar to the following: The return type for the following stored procedure … Continue reading

Posted in SQL, Visual Studio | Tagged , | Leave a comment

Cannot Access a Disposed Object – ModelStore

If you use the database schema compare tool in Visual Studio 2012 you may see the following error when trying to compare the database with the source: Cannot access a disposed object. Object name: ‘ModelStore’ For me, this was arose … Continue reading

Posted in Visual Studio | Tagged , | 2 Comments