I am sure, this problem already is described here, but I didn't found it.
I have a project which I developed on a pc and made a repo on github. Now I downloaded this project on a new pc with a fresh Visual Studio 2015. I have in mind that the nuget-packages get downloaded when I run or compile my project.
My nuget-file:
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="log4net" version="2.0.5" targetFramework="net45" />
<package id="Newtonsoft.Json" version="8.0.2" targetFramework="net45" />
</packages>
Somhow the IDE marks "packages" whith "package-element not declared".