Glenn
Glenn

Reputation: 2206

How do I change MonoDevelop Target Framework to iPhone for imported .Net library project

I've imported an existing C# library project into a MonoDevelop Solution targeted for iPhone. My original project has a target Framework selection of Mono for iPhone but my newly added project only has Mono/.Net choices. How do I get the iphone targets to show up so I can properly reference it from my existing iPhone targeted projects?

Upvotes: 2

Views: 1631

Answers (1)

jonathanpeppers
jonathanpeppers

Reputation: 26495

Easiest way I've found is to make a new MonoTouch Library project and either "link" or "copy" the files from the existing project.

This is usually necessary anyway, as usually you will have to add #if MONOTOUCH preprocessor statements in a couple places.

Upvotes: 6

Related Questions