Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do i get the publish profile name in an msbuild task?

I have pre-build and post-build tasks and I reference the configuration with: $(ConfigurationName)

What is the variable for the publish profile name?

like image 415
red888 Avatar asked Nov 17 '25 22:11

red888


1 Answers

I would believe the msbuild property is $(PublishProfile).

like image 118
Daniel A. White Avatar answered Nov 19 '25 13:11

Daniel A. White