I would like to use the AfterBuild target to perform some tasks after building my Web Deployment Project. I am attempting to create my own ItemGroups but I am seeing some weird behavior. I have created a sample project that shows my issue. You can download it here www.corderman.com/data/samplewap.zip
In this sample project I create an Item group as follows.
<ItemGroup>
<ModuleDeployFiles Include="*.*" Exclude="*.zip" />
</ItemGroup>
For some reason having this ItemGroup in my project file results in ?SampleWAP.suo ?showing up in my project. What am I doing wrong? It appears that when I create an ItemGroup that contains items not in the project they will be added to the project somehow?.
Thanks
Bert