Create new C # project files from code

I am currently working on an application that will generate the actual .cs and .xaml code files and add them to the project. I managed to do this by manually editing the existing .csproj file, and it works well.

However, I would also like to be able to create project files from my application in order to cut out the extra step of creating the project and then launch the application after.

Does anyone know how to create a C # project (class library or WPF application) from an application? I looked at DTE, but I hit the wall

+3
source share
1 answer

, , , .

MSBuild. # VB.net msbuild, msbuild.

, , - , T4 ?

0

Source: https://habr.com/ru/post/1733380/


All Articles