Build plugin with compiled 3rd party with different version of Visual Studio

Hello,

I have a question about the compilation of a plugin with different version of Visual Studio.
Now, my plugin 3dRudder controller used third party dll compiled with Visual Studio 2015, and new developers use Visual Studio 2017 but if I compiled my dll with Visual Studio 2017 it will work with developers who only installed Visual Studio 2015?
How do I proceed to build my plugin to work with Visual Studio 2015 and 2017?

Thanks!