Custom build step for C # project

In C ++ projects, it is possible to set a custom build step for files. Is there any similar functionality in C # projects? I could not find anything.

One idea would be to create a second project (makefile or C ++) and move the files there.

+3
source share
4 answers

I think you are on the right track with your comment on several projects. Combine this with the fact that you can include several projects in one solution, and you may have your answer. I use this function to build several components at a time, and it works pretty well.

0
source

MsBuild , , , . , , .cs, .cs .

MSBuild script .cs EXE, Dino Chiesa:

% (CSFile.identity) , . @(CSFile.identity). , , .

, :

#

- MSBuild

+2

BeforeBuild AfterBuild csproj.

+1

#. , - MSBuild...

0

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


All Articles