I recently got this error in a project.
Copying packages.config to obj \ Debug \ Package \ PackageTmp \ packages.config failed. Could not find file 'packages.config'.
I donβt use NuGet for this project at all, however this error occurred after merging the changes from the main to my project branch, possibly making changes from VS10. I would just like to remove the links to this package.config file, or at least put in a dummy file so that the error disappears. Any suggestions would help at this point.
If you are not using nuget, open the project file (* .csproj), find the line that looks like this:
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
. nuget.
NB: VS2010 -, nuget.targets.
nuget.targets
*.csproj :
<None Include="packages.config" />
"Import", ".targets", "nuget" "packages". NuGet, .
"Target" , "NuGet". , .
, "source control" (Menu- > View- > Output) .nuget\packages.config + .
TFS.
+ TFS.
.