开发者

monodevelop/monotouch installation folder in OSX

开发者 https://www.devze.com 2023-02-10 05:34 出处:网络
I\'ve created a monotouch project in monodevelop, and if I open it with notepad(or whatever that is in OSX), I can see the msbuild file import 开发者_如何转开发tasks from

I've created a monotouch project in monodevelop, and if I open it with notepad(or whatever that is in OSX), I can see the msbuild file import 开发者_如何转开发tasks from Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" and Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets"

Where are these files located in OSX? I'm trying to understand how the build process work in monodevelop to make it behave as I want. I probably do not need to modify those files, but I want to understand how those files are.


On Mac, assuming you're using the default Mono framework installer, and assuming the project has a ToolsVersion of 3.5, $(MSBuildToolsPath) and $(MSBuildBinPath) are both /Library/Frameworks/Mono.framework/Versions/Current/lib/mono/3.5

However, these don't actually apply to MonoTouch, for two reasons:

  1. MonoDevelop currently uses its internal build engine by default, not MSBuild/xbuild. The MSBuild engine can be enabled in MD preferences but is experimental, and only works for projects with supported targets.
  2. There are no MSBuild targets for MonoTouch projects yet. This is planned to be fixed as MD gradually migrates to full MSBuild support, but when it is, the imports will be changed to import MonoTouch-specific targets.

You can see the MonoDevelop side of the MonoTouch build code in the MD source repository.

0

精彩评论

暂无评论...
验证码 换一张
取 消