Microsoft Corp. filed a lawsuit in U.S. District Court in San Francisco last week, asking a judge to invalidate several patents that are the subject of infringement suits filed by WebXchange Inc. against three large companies over their use of Microsoft's Visual Studio development tools.