Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
vssln-dependencies
Advanced tools
Creates an ordered list of projects from the projects dependency graph inside a Visual Studio Solution (sln) file.
Creates an ordered list of projects from the projects dependency graph in a Visual Studio Solution (sln) file.
Dependencies are resolved using the information created by the "Project Dependencies" tab in the "Solution Properties" window of Visual Studio. Project references set using the "References" item inside each project are not considered.
Install package with NPM and add it to your development dependencies:
npm install vssln-dependencies --save-dev
var dependencies = require("vssln-dependencies");
const solution: VsSolutionFile; // Get this from external code.
const sortedProjects = dependencies.fromSolution(solution);
const projectNames = sortedProjects.map(p => p.name);
console.log(projectNames);
var dependencies = require("vssln-dependencies");
var fs = require("fs");
const stream = fs.createReadStream("test.sln");
dependencies.fromStream(stream, sortedProjects => {
const projectNames = sortedProjects.map(p => p.name);
console.log(projectNames);
});
var dependencies = require("vssln-dependencies");
dependencies.fromFile("test.sln", sortedProjects => {
const projectNames = sortedProjects.map(p => p.name);
console.log(projectNames);
});
var dependencies = require("vssln-dependencies");
var fs = require(fs);
const text = fs.readFileSync("test.sln", "utf-8");
const sortedProjects = dependencies.fromString(text,);
const projectNames = sortedProjects.map(p => p.name);
console.log(projectNames);
var dependencies = require("vssln-dependencies");
var parse = require("vssln-parser").parse;
var fs = require("fs");
const stream = fs.createReadStream("test.sln");
parse(stream, solution => {
const sortedProjects = dependencies.fromSolution(solution);
const projectNames = sortedProjects.map(p => p.name);
console.log(projectNames);
});
FAQs
Creates an ordered list of projects from the projects dependency graph inside a Visual Studio Solution (sln) file.
The npm package vssln-dependencies receives a total of 2 weekly downloads. As such, vssln-dependencies popularity was classified as not popular.
We found that vssln-dependencies demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.