============================================== How to reproduce
- execute "python msvc-autogen.py"
- open "bitcoin.sln" with VS2017
- The project "libbitcoin_server" can not load successfully.
============================================== The reason of the problem
The file "build_msvc\libbitcoin_server\libbitcoin_server.vcxproj" has an error.
============================================== How to fix the bug
Remove the section in file "libbitcoin_server.vcxproj.in" can reslove the issue:
<ClCompile Include="..\..\src\rpc\net.cpp">
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)\netrpc.obj</ObjectFileName>
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)\netrpc.obj</ObjectFileName>
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)\netrpc.obj</ObjectFileName>
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)\netrpc.obj</ObjectFileName>
</ClCompile>
============================================== possible reason
I think the reason: There are two files with the same name "net.cpp", one is "src\net.cpp", the other is "src\rpc\net.cpp". There was a special section in file "libbitcoin_server.vcxproj.in" in order to produce the different obj files before. But the file "msvc-autogen.py" updated so as to process such scenario. finally, a conflict arises.