title: (Build Failed) Add-Migration Initial
body: <p>I am following a course on .NET</p>
  
  <p>I need to write 'Add-Migration Initial' in the Package Manager Console under the PieController.cs file. </p>
  
  <p>When I do, I get a "build failed" message with no error list. </p>
  
  <p>What is the problem that cause the build failed?   </p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Threading.Tasks;
  using Microsoft.AspNetCore.Mvc;
  using BethanysPieShop.Models;
  using BethanysPieShop.ViewModels;
  
  
  namespace BethanysPieShop.Controllers
  {
      public class PieController : Controller
      {
          private readonly IPieRepository _pieRepository;
          private readonly ICategoryRepository _categoryRepository;
  
          public PieController(IPieRepository pieRepository, ICategoryRepository categoryRepository)
          {
              _pieRepository = pieRepository;
              _categoryRepository = categoryRepository;
          }
  
          public ViewResult List()
          {
              PiesListViewModel piesListViewModel = new PiesListViewModel();
              piesListViewModel.Pies = _pieRepository.Pies;
  
              piesListViewModel.CurrentCategory = "Cheese cakes";
  
              return View(piesListViewModel);
          }
  
      }
  }
  </code></pre>
  
  <p>Course Results Below(1) ;</p>
  
  <p><a href="https://i.stack.imgur.com/LKhbm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LKhbm.jpg" alt="enter image description here"></a></p>