Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们正在使用 Xamarin.mac 开发一个 mac 应用程序。由于我们也希望为 Windows 开发相同的应用程序,因此我们决定在可移植类库中编写所有业务逻辑。Xamarin.mac 是否支持 PCL?
在 Windows 和 Mac 应用程序之间共享代码的一种更简单的方法(从第一手痛苦的经验谈起)是一种称为“共享项目”的东西。它将做的是将自己“注入”到特定平台的构建过程中,只要您使用的引用在两个平台上都可以访问,一切都会好起来的。