Missing Enumerator in Foreach Loop Editor

喜你入骨 提交于 2019-12-05 15:35:22

The problem was with the Target Server Version in the Project Properties. The new installation of Visual Studio 2015 had it defaulting to vNext. Switching it to SQL Server 2012 caused the configuration to show up.

You have a problem is your visual studio. (below a screenshot of ADo enumerator from my computer , using visual studio 2015)

  • Try running visual studio in safe mode so if this was caused by an add-on it will be fixed. just run this command

    devenv.exe /safemode
    
  • If not working Try repairing your SQL Server Data Tools installation or Download the Latest release

I had the same issue and I resolved the problem by selecting Foreach File Enumerator option under collection. By default under Collections >> Foreach Loop Editor >>> Enumerator was set to foreach Item Enumerator as shown below

Default Config for Foreach Loop Container

Instead of "Foreach Item Container" aka the default value, I clicked on it and selected Foreach File Enumerator option and that resolved my problem. Please see snapshot below

Corrected configuration for Foreach Loop Editor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!