Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you are getting error code MSB4018, it means that the NuGet configuration file is referencing a fallback directory that doesn't exist. To disregard these non-existent fallback directories, you can follow these steps:

  1. Open the NuGet configuration file in a text editor.
  2. Look for the <fallbackpackagefolders> tag.
  3. Remove any references to directories that don't exist.
  4. Save the file and close the text editor.
  5. Try building your project again.

If you still get the MSB4018 error, repeat the above steps to make sure all non-existent fallback directories have been removed. If the error persists, you may need to update your NuGet packages or reinstall them.