Open your project file (.csproj
in C# or .vbproj
in VB.NET) for editing.
Make sure the log4net reference is Fully Qualified Type Name, has HintPath
and SpecificVersion=True
.
<Reference Include="log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\references\log4net.dll</HintPath>
<SpecificVersion>True</SpecificVersion>
</Reference>
Save the file and try to rebuild.