Method UnregisterProjectReferences
UnregisterProjectReferences(string, string)
Unregisters references from the project.
public static void UnregisterProjectReferences(string extension, string projectName = null)
Parameters
extensionstringProject's default file extension, like ".cs".
projectNamestringProject's name to process.
UnregisterProjectReferences(string, string[], string)
Removes given references from the project.
public static void UnregisterProjectReferences(string extension, string[] projectReferences, string projectName = null)