Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

ItemAdded or add item inside a msbuild condition

$
0
0

Hello,

I use EnvDTE.ProjectItemsEvents.ItemAdded to get the projectitem that was added. But I need to either put it inside a <Choose><When Condition> or to add a condition attribute to the projectitem.

When a projectitem is renamed,no problem : the projectitem is renamed inside the <Choose>, but I need to tell msbuild to add the projectitem inside the <Choose> else it adds the projectitem as a global item which causes my retail build to fail.

Thanks in advance for your help.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>