Skip to content

smangelschots/ProjectVs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProjectVs

Start

Installation

https://www.nuget.org/packages/ProjectVs/

Features

  • add files to a visual studio project using C#

Docs & Community

Quick Start

Create a unit test project Add nuget package

PM> Install-Package ProjectVs 

Create a class library project called "vs" to your solution Open the folder of the vs project Add two files called vs1.cs and vs1.child.cs Go back to your unit test and in the unittest copy this code

var project = new VisualStudioProject();
project.ProjectName = "vs";
project.ProjectPath = @"[replace with your projectpath]";

project.AddClass("vs1.cs");
project.AddClass("vs1.child.cs", "vs1.cs");

project.Save();

Releases

No releases published

Packages

No packages published

Languages