1

I have a main program (python) that will create a c# unit test code. I need to run this code, for which I need to create a new unit test project, add the created code into the project and then run it. I need to perform all these actions from within the main program itself. Is there any way to do these from the program? I mean either running some steps in cmd or using some api? Thanks for the help!

Pranav
  • 115
  • 1
  • 11

1 Answers1

0

this may help you create a new .csproj file How to create csproj command line? then add your code files into the project directory,and add text like following in .csproj file

Community
  • 1
  • 1
Dev1n
  • 1
  • 1