简体   繁体   English

在条件 c# 的解决方案中排除项目引用

[英]exclude project references in solution on conditional c#

I build xamarin app(uwp,ios,android) and use appCenter for builds and delivery.我构建 xamarin app(uwp,ios,android) 并使用 appCenter 进行构建和交付。 For certain reason i cant build android and ios project having uwp project included in the solution.由于某些原因,我无法构建解决方案中包含 uwp 项目的 android 和 ios 项目。 Creating build configuration does solve an issue.创建构建配置确实解决了一个问题。 Is its possible to have some conditional in solution file to include certain projects?是否可以在解决方案文件中有一些条件来包含某些项目?

There is a Nuget restore issue with the latest Mono version.最新的 Mono 版本存在 Nuget 还原问题。 You can try lowering the Mono version, used to build the application in Appcenter.您可以尝试降低 Mono 版本,用于在 Appcenter 中构建应用程序。 Go to AppCenter -> select Build from the left menu.转到 AppCenter -> 从左侧菜单中选择 Build。 Then choose a branch.然后选择一个分支。 At the most right you will see a setting icon.在最右侧,您会看到一个设置图标。 Click on it.点击它。 From there menu like this will appear.从那里会出现这样的菜单。 From the SDK version you can choose a different one.您可以从 SDK 版本中选择不同的版本。 Appcenter Mono SDK 版本选择

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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