Skip to content

Instantly share code, notes, and snippets.

@dtbiedrzycki
dtbiedrzycki / Write-VSSolutionReferenceImage.ps1
Last active November 8, 2017 18:18
Will create a plantUml diagram with the references in the Visual Studio solution file
<#
.SYNOPSIS
Creates a PNG diagram of a Visual Studio solution file's references
.DESCRIPTION
This script uses PlantUml (http://plantuml.com/) to dynamically generate
a diagram showing the dependencies of a Visual Studio solution.
Blue lines are distinctly colored to depict Project references (vs. dll references).
@dtbiedrzycki
dtbiedrzycki / Get-VSSolutionReferences.ps1
Last active April 27, 2018 07:39 — forked from jstangroome/Get-VSSolutionReferences.ps1
Get-VSSolutionReferences.ps1
#requires -version 2.0
[CmdletBinding()]
param (
[parameter(Mandatory=$true)]
[ValidateScript({ Test-Path -Path $_ -PathType Leaf })]
[string]
$Path
)
$ErrorActionPreference = 'Stop'