Build Process of Xenko Samples in VS 2015

hello,

i still have a big question to the normal build process of the samples.

This i had asked as a side question of a post, so maybe most people have “over read it” and i could not get a answer.

Somewhere in the build / compile process there is the command to execute an external programm
to build or compile the assets in the package or something similar.

In c++ i can see all command that happen when comiling a solution.

But with c# i cannot find the action command for theese additional tasks

in the build process. it just happens.

Can someone give me an advice how the build process of the samples is managed ??

Any Xenko sample/new game will include Xenko MSBuild target file.

At some point in the build process, this target will run our Asset compiler executable (SiliconStudio.Assets.CompilerApp.exe or SiliconStudio.Assets.CompilerClient.exe if we want to keep process running for faster startup time).

You can see the MSBuild target executing it there: https://git.xenko.com/xenko/Xenko-Runtime/blob/a146142d1c684c06f0cdd76369711cf1904a589f/Targets/Xenko.targets#L360

Note: if change MSBuild build output verbosity to Normal (or maybe Detailed), you will probably see the command line:

Hello xen2,

many thanks for your answer.

Here some additional Info for the community, which i was missing.

If someone wants to know how the userdefined build process works:

  1. open the coresponding VS project file in a text editorsearch for the “.targets” string mostly at the end of the fileyou will find a target file additionaly to the normal .target fileyou will see a referenz path of the additional .target file with directory referenz

Attention: because you dont know which value the environment variable

The exact identical referenc path is placed at least on my machine in
C:\programs(86)\MSBUILD\

open this file in text editor for further examination