Last active
February 5, 2016 19:12
-
-
Save leppie/2aa8a7122f474883fb81 to your computer and use it in GitHub Desktop.
Roslyn Build dir dropper: pdb2xml.cmd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo using System.IO;class pdb2xml{static void Main(string[]a){using(Stream f=File.OpenRead(a[0]),p=File.OpenRead(a[1]))^ | |
System.Console.WriteLine(Roslyn.Test.PdbUtilities.PdbToXmlConverter.ToXml(p,f));}}>pdb2xml.cs | |
@csc /nologo /r:System.IO.dll,System.Runtime.dll,Roslyn.Test.PdbUtilities.dll pdb2xml.cs&&del pdb2xml.cs&&pdb2xml %* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example usage: