Hello, today I faced that error. Before I was doing export without any problem.
unity5.4 vs2017
Can you try building to a fresh directory?
You might be hitting a known issue with 2017.3, can you try using visual studio 2015 update 3?