File not found. Pack.config

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.

+3
source share
3 answers

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.

0

*.csproj :

<None Include="packages.config" />

"Import", ".targets", "nuget" "packages". NuGet, .

"Target" , "NuGet". , .

0

, "source control" (Menu- > View- > Output) .nuget\packages.config + .

TFS.

+ TFS.

.

0
source

All Articles