Skip to content

Using an external Node.js module, and including said module in my Visual Studio project so that it's also published #220

Answered by agracio
njherrera asked this question in Q&A
Discussion options

You must be logged in to vote

There are no additional steps needed but it depends on your solution structure. Using an example from readme it would look like this:

package.json

{
  "name": "edge-js-websockets",
  "version": "1.0.0",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "MIT",
  "description": "",
  "dependencies": {
    "ws": "^8.18.0"
  }
}

Websockets.sln

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Websockets", "Websockets\Websockets.csproj", "{ECB9E1B6-4216-4506-9B8A-84326A03AE9A}"
EndProject
Global
	GlobalSection(ProjectConfigurationPlatforms) = postSolutio…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@njherrera
Comment options

@agracio
Comment options

@njherrera
Comment options

Answer selected by njherrera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants