- Download the log4net schema from here
- Add this .xsd to Visual Studio menu > XML > Schemas
Note that the XML menu item would be enabled only if an xml or a .config file is opened in the editor.
// Create our server | |
var server; | |
server = http.createServer(function(req,res){ | |
// Set CORS headers | |
res.setHeader('Access-Control-Allow-Origin', '*'); | |
res.setHeader('Access-Control-Request-Method', '*'); | |
res.setHeader('Access-Control-Allow-Methods', 'OPTIONS, GET'); | |
res.setHeader('Access-Control-Allow-Headers', '*'); | |
if ( req.method === 'OPTIONS' ) { | |
res.writeHead(200); |
Note that the XML menu item would be enabled only if an xml or a .config file is opened in the editor.