 <p>You have to edit your .csproj file and in the Debug PropertyGroup you'll have to add the following: </p> <pre><code>&lt;AutoParameterizationWebConfigConnectionStrings&gt;False&lt;/AutoParameterizationWebConfigConnectionStrings&gt; </code></pre> <p>I have the following on <strong>Release</strong> and <strong>ReleaseCERT</strong> Configurations in my Project.csproj (I've only added the AutoParameterizationWebConfigConnectionStrings line):</p> <pre><code>&lt;PropertyGroup Condition=" '$(Configuration)|$(Platform)' == '**Release**|AnyCPU' "&gt; &lt;DebugType&gt;pdbonly&lt;/DebugType&gt; &lt;Optimize&gt;true&lt;/Optimize&gt; &lt;OutputPath&gt;bin\&lt;/OutputPath&gt; &lt;DefineConstants&gt;TRACE&lt;/DefineConstants&gt; &lt;ErrorReport&gt;prompt&lt;/ErrorReport&gt; &lt;WarningLevel&gt;4&lt;/WarningLevel&gt; &lt;!-- add the following line to avoid ConnectionString tokenization --&gt; &lt;AutoParameterizationWebConfigConnectionStrings&gt;False&lt;/AutoParameterizationWebConfigConnectionStrings&gt; &lt;/PropertyGroup&gt; &lt;PropertyGroup Condition="'$(Configuration)|$(Platform)' == '**ReleaseCERT**|AnyCPU'"&gt; &lt;OutputPath&gt;bin\&lt;/OutputPath&gt; &lt;DefineConstants&gt;TRACE&lt;/DefineConstants&gt; &lt;Optimize&gt;true&lt;/Optimize&gt; &lt;DebugType&gt;pdbonly&lt;/DebugType&gt; &lt;PlatformTarget&gt;AnyCPU&lt;/PlatformTarget&gt; &lt;ErrorReport&gt;prompt&lt;/ErrorReport&gt; &lt;!-- add the following line to avoid ConnectionString tokenization --&gt; &lt;AutoParameterizationWebConfigConnectionStrings&gt;False&lt;/AutoParameterizationWebConfigConnectionStrings&gt; &lt;/PropertyGroup&gt; </code></pre>