visual studio host and lib generation