зеркало из https://github.com/xamarin/mac-samples.git
a6577adcdf | ||
---|---|---|
.. | ||
Screenshots | ||
UseMSBuildToCopyFilesToBundleExample | ||
Metadata.xml | ||
Readme.md | ||
UseMSBuildToCopyFilesToBundleExample.sln |
Readme.md
name | description | page_type | languages | products | urlFragment | ||
---|---|---|---|---|---|---|---|
Xamarin.Mac - UseMSBuildToCopyFilesToBundleExample | This sample shows you how to extend your build with msbuild to copy arbitrary files into your bundle. This is better the custom commands in your... | sample |
|
|
usemsbuildtocopyfilestobundleexample |
UseMSBuildToCopyFilesToBundleExample
This sample shows you how to extend your build with msbuild to copy arbitrary files into your bundle.
This is better the custom commands in your projects settings, as they will fire even when building via xbuild. They also fire before code signing, so they may invalidate your signature and require resigning.
You will need to edit your csproj in a text editor and add a line similar to:
<Import Project="CustomBuildActions.targets" />
for the logic to apply during your build.