I'm working on a WCF Service with Visual Studio Comunity 2015. After upgrade my machine to Windows 10, and trying to start my project i get this error:
Any ideas? Thanks!
EDIT
Ok. I remove the reference and any the DLL from project subfolders. Try and nothing. I reference the DLL and nothing. One thing I notices is that if i reference the DLL from C:\Windows\System32\inetsrv (version 10.0.10240) and open the .csproj file i see this:
<Reference Include="Microsoft.Web.Administration, Version=7.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Windows\System32\inetsrv\Microsoft.Web.Administration.dll</HintPath>
</Reference>
Wich is a diferent version from the one i have in my system.
EDIT II So I try to remove all the references to Microsoft.web.Administration, clean the solution and then add the reference to the file in C:\Windows\System32\inetsrv. After that clean again and recompile. When I open the .csproj file I see this:
<Reference Include="Microsoft.Web.Administration, Version=7.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Windows\System32\inetsrv\Microsoft.Web.Administration.dll</HintPath>
</Reference>
The version is different from the one in my system. What do I do now?