我在.Net MVC 4项目中添加了对node.js的引用,但是遇到了这个奇怪的异常,请提出任何解决方案..........谢谢
错误:-
a reference to 'NodejsWebApp2' could not be added.an assembly must have a 'dll' or 'exe' extension in order to be referenced.
server.js:-
var http = require('http');
var port = process.env.port || 1337;
http.createServer(function (req, res) {
res.writeHead(200, {
'Content-Type': 'text/plain'
});
res.end('Hello world\n');
}).listen(port)