简体   繁体   中英

Xamarin Visual Studio iOS Portable Class Library rebuild process

I have a PCL in my Xamarin iOS project. Working from VS, I am finding that to get a change to the PCL reflected in the iOS app, I have to do all of the following:

  • Kill the app from VS
  • Quit the app in the simulator
  • Delete the app from the simulator
  • Rebuild the PCL in VS
  • Finally, build and run the iOS project.

Can I simplify this workflow? I do have a build dependency from the iOS project to the PCL project. But it doesn't seem to help.

Have you checked your build configuration? I had this same issue a few weeks ago and it was because certain projects were not being built in the active configuration. My PCL libraries were not being built by default.

Build menu -> build configuration

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM