Hi Rolf, thanks you for your quick answer.

I am assuming I will have to create a standalone tool in order to manipulate
the csproj during my build process.
Another option was to use some MSBuild wizardry with "WildcardContent" in
order to generate the ItemGroup in a BeforeBuild Task. Unfortunately it
seems that MonoDevelop doesn't support it. Or maybe I am doing something
wrong ?

Here is how I modified the csproj for reference :

...
<ItemGroup>
   <WildcardContent Include="..\Content\**\*.bin">
   </WildcardContent>
</ItemGroup>
<Target Name="BeforeBuild">
    <CreateItem Include="@(WildcardContent )"
AdditionalMetadata="Name=%(FileName)">
      <Output TaskParameter="Include" ItemName="Content" />
    </CreateItem>
  </Target>
...

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Automating-content-deployment-tp4314709p4315071.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to