Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here's a collection of popular answers. Upvote the OP of the answer if it helped you:</p> <h2>Option 1: Clean and Build</h2> <p>If you did not already tried cleaning and rebuilding, do this first:</p> <blockquote> <p>In menu, Build > Clean Solution</p> </blockquote> <p>then</p> <blockquote> <p>In menu, Build > Build Solution</p> </blockquote> <h2>Option 2: Clean, Close, Restart and Build (<a href="https://stackoverflow.com/a/36297609/2278844">@Pixel</a>'s option)</h2> <p>As <a href="https://stackoverflow.com/a/36297609/2278844">@Pixel</a> mentioned, try the following sequence of operations:</p> <blockquote> <ol> <li>Clean the solution</li> <li>Close Visual Studio</li> <li>Open Visual Studio</li> <li>Build solution</li> </ol> </blockquote> <h2>Option 3: Clear ReSharper cache</h2> <p>If you have ReSharper, try emptying the ReSharper cache:</p> <blockquote> <p>In menu, ReSharper > Options > Environment > General > Clear Caches</p> </blockquote> <p>and disabling and re-enabling ReSharper:</p> <blockquote> <p>In menu, Tools > Options > ReSharper > General > Suspend / Restore</p> </blockquote> <h2>Option 4: Delete the .suo file (<a href="https://stackoverflow.com/a/31944875/2278844">@Neolisk</a>'s option)</h2> <p>As <a href="https://stackoverflow.com/a/31944875/2278844">@Neolisk</a> mentioned, deleting the .suo file might solve your problem. For Visual Studio 2015, the file is located in:</p> <blockquote> <p>[Path of Solution]/.vs/[Solution Name]/v14/.suo</p> </blockquote> <p>And for Visual Studio 2017:</p> <blockquote> <p>[Path of Solution]/.vs/[Solution Name]/v15/.suo</p> </blockquote> <p>Note that the .vs directory is hidden.</p> <h2>Option 5: Unload and Reload Project (<a href="https://stackoverflow.com/a/38796783/2278844">@TTT</a>'s option)</h2> <p>As <a href="https://stackoverflow.com/a/38796783/2278844">@TTT</a> mentioned, try unloading the project that causes problems:</p> <blockquote> <p>In Solution Explorer, right-click on project, Unload Project.</p> </blockquote> <p>And re-loading it</p> <blockquote> <p>In Solution Explorer, right-click on project, Reload Project.</p> </blockquote> <h2>Option 6: Unload and Reload Project (<a href="https://stackoverflow.com/a/32586365/2278844">@Guilherme</a>'s option)</h2> <p>As <a href="https://stackoverflow.com/a/32586365/2278844">@Guilherme</a> mentioned, try removing and adding the reference to "Microsoft.CSharp" from the projects that have problems. </p> <blockquote> <p>In Solution Explorer, expand the project, expand "References", right-click on "Microsoft.CSharp" and Remove. </p> <p>Then, right-click on References > Add Reference, select "Microsoft.CSharp" from the list and click OK</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload