Jika references hilang seperti di bawah ini:
Solusinya sebagai berikut:
Whenever you import a project to Visual Studio it modifies your .csproj. So, in order to fix it. Right click on .csproj and open it in notepad or any editor and delete the following
[code language=”xml”]
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists(‘$(SolutionDir)\.nuget\NuGet.targets’)" Text="$([System.String]::Format(‘$(ErrorText)’, ‘$(SolutionDir)\.nuget\NuGet.targets’))" />
</Target>
[/code]
Then build your solution and it should work.
