Hi, MonoDevelop doesn't actually use MSBuild (or our equivalent, xbuild) to build MonoTouch projects. The support for the file format is inside MonoDevelop itself, and only just enough to support the features of the file format we actually use (which is why your WildcardContent doesn't work).
So I think the best (if not only) option for now is to have your own standalone tool you run during your build process. Rolf On Sat, Jan 21, 2012 at 2:13 AM, pplp <[email protected]> wrote: > 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 >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
