This paper describes the development of a versatile coherent x-ray diffraction microscope capable of imaging biological specimens in solution. The microscope is a flexible platform accommodating various conditions, from low vacuum (10(-2) Pa) to helium gas filled ambient pressure. This flexibility greatly expands the application area, from in situ materials science to biology systems in their native state, by significantly relaxing restrictions to the sample environment. The coherent diffraction microscope has been used successfully to image a yeast cell immersed in buffer solution. We believe that the design of this coherent diffraction microscope can be directly adapted to various platforms such as table top soft x-ray laser, synchrotron x-ray sources, and x-ray free electron laser with minor relevant adjustments.