Support Center

Cannot add a new migration in Visual Studio 2013 Update 2

Last Updated: Nov 13, 2014 01:04AM AEDT

UPDATE July 15th 2014: Microsoft has now resolved the issue in the July SSDT update. To install the update, in Visual Studio 2013 click Tools... Extensions and Updates, or alternatively download the update directly from the Microsoft website.




Summary


A number of customers have reported that, since installing Visual Studio 2013 Update 2 that they can no longer add new Deploy-Once/Deploy-Change migrations to their ReadyRoll database projects.

Customers who use Octopus to deploy their ReadyRoll database projects may be affected by this issue.

 

Symptoms


One of the following error messages may be received:
  • Could not display the Add New Item dialog: Exception has been thrown by the target of an invocation.
  • Could not reset the Build Action: Exception has been thrown by the target of an invocation.
  • An unexpected exception was encountered: The project item was not created.
  • Not implemented (Exception from HRESULT: 0x80020001 (E_NOTIMPL)).
  • Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND)). This error occurs when clicking "Show all files".
 

Workarounds


There are two related workarounds for the problem:
  • From the Solution Explorer, select the Properties\AssemblyInfo.cs file, from the properties, set the Build Action to "None" temporarily. Then close and re-open your solution and you should be able to add migrations to your project again. When done, set the Build Action back to "Compile" for the AssemblyInfo file. This workaround is recommended If you are using TFS Build, Bamboo or Jenkins (i.e. any build server other than TeamCity).
or:
  • Remove the Properties\AssemblyInfo.cs file from the project. This is only recommend if you are using TeamCity and Octopus together, as the integration between these two tools doesn't require an AssemblyInfo file to be included for the packaging process to work.
‚Äč


UPDATE July 15th 2014: Microsoft has now resolved the issue in the July SSDT update. To install the update, in Visual Studio 2013 click Tools... Extensions and Updates, or alternatively download the update directly from the Microsoft website.
readyroll.support@red-gate.com
http://assets3.desk.com/
false
readyrollsql
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete