小编HQt*_*izy的帖子

远程模拟器到Windows选项不存在

Remote Simulator to Windows 工具/选项/ Xamarin/IOS设置中不存在该选项.

它看起来像这样: 在此输入图像描述

到目前为止我做了什么:

  • 我从这里安装了来自资源的模拟器.
  • 我已经重新启动了我的PC和MAC Mini.
  • 我通过阅读manuel激活了MAC Mini上的远程登录.
  • 我检查过PC是否已连接.

我该怎么做才能解决这个问题?
谢谢.

simulator xamarin.ios ios xamarin

7
推荐指数
2
解决办法
896
查看次数

无法连接已配置的开发Web服务器Visual Studio 2013

我用

Visual Studio 2013

当我运行一个项目时,我收到此错误:

Unable to connect the configured development Web server.

这是Visual Studio 2008的解决方案,我正在搜索这些步骤:
http ://www.dotnetspider.com/forum/250134-Unable-connect-ASP-NET-development-Server.aspx
这里; Tools->External Tools用来.

我有什么选择在CommandExternal Tools为Visual Studio 2013?

提前致谢.

debugging visual-studio visual-studio-2013

6
推荐指数
2
解决办法
2万
查看次数

添加Xamarin插件时出错

我在Visual Studio 2015中使用Xamarin Forms.我在尝试添加消息传递插件时遇到此错误.

严重级代码说明项目文件行抑制状态错误无法解析依赖项.'Xamarin.Android.Support.v4 23.0.1.3'与'Xamarin.Android.Support.Design 23.0.1.3约束:Xamarin.Android.Support.v4(> = 23.0.1.3)','Xamarin.Forms 2.2不兼容.0.45约束:Xamarin.Android.Support.v4(= 23.3.0)'.0

我已经更新了Visual Studio和Xamarin,但仍然出现此错误.
我还应该怎么做才能解决这个错误?

c# visual-studio xamarin xamarin.forms

6
推荐指数
1
解决办法
2161
查看次数

使用Sublime Text 3运行Scriptcs时出错

我已将Scriptcs安装到Sublime Text3。
按下CTRL B并构建aspx页面时,出现此错误。

'scriptcs'不被识别为内部或外部命令,可操作程序或批处理文件。

我正在尝试在Sublime上运行aspx页面。
我怎样才能解决这个问题 ?谢谢。

sublimetext sublimetext2 sublimetext3 scriptcs

6
推荐指数
1
解决办法
616
查看次数

创建Xamarin.Forms跨平台应用程序时,"此项目需要加载Visual Studio更新"错误

当我在Windows 8.1上创建Xamarin.Forms应用程序时Visual Studio Community 2015 Community,它会在加载时显示此错误:

A problem was encountered creating the sub project 'App1.WinPhone'. This project requires a Visual Studio update to load. Right-click on the project and choose 'Download Update'
Run Code Online (Sandbox Code Playgroud)

我已经安装了所有可用的更新并尝试新安装的Windows.

注意:我在表单中遇到此错误.

我该如何解决这个错误?

注意:解决方案资源管理器中没有"下载更新"选项.

c# xamarin xamarin.forms visual-studio-2015

5
推荐指数
2
解决办法
5443
查看次数

如何调整Xamarin中的按钮大小

我正在使用Xamarin Forms.我试过这段代码,但它不起作用,我怎样才能调整按钮的大小?

<ContentView.Content>
  <StackLayout>
    <Button Text="1" WidthRequest="50"></Button>
    <Button Text="2" WidthRequest="50"></Button>
  </StackLayout>
</ContentView.Content>
Run Code Online (Sandbox Code Playgroud)

谢谢.

mobile xaml xamarin xamarin.forms

5
推荐指数
2
解决办法
2万
查看次数

光滑,箭头仅以图片高度为中心,而不是图片宽度

我正在使用Slick-Slider来构建滑块.箭头的位置在里面picture.但是如果图例太大,则箭头与文本重叠(垂直居中).我想让箭头垂直居中于图片上方.我怎么能建立这个?

感谢您的帮助/想法!

HTML:

<div class="mgu-basic-slider">
  <div>
    <picture>
      <source srcset="demo-ressoures/16zu9_topf_d.jpg">
      <img src="demo-ressoures/16zu9_topf_d.jpg" alt="xxx">
    </picture>
    <div class="mgu-basic-slider-caption">
      <div class="slick-legend">
        <p>Pfanne mit Deckel, Dampfeinsatz, Gargut, Gewürze Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, …
Run Code Online (Sandbox Code Playgroud)

css slider slick.js

4
推荐指数
1
解决办法
432
查看次数

InitializeComponent不存在

InitializeComponent();
Run Code Online (Sandbox Code Playgroud)

这段代码行出现在我的所有Xaml页面的构造函数中.它会引发以下错误:

InitializeComponent不存在.

现在我无法在我的项目中调试任何页面,尽管我已经注释掉了这一行.

我怎样才能解决这个问题?

任何帮助将不胜感激.

注意:我正在使用Xamarin Forms Portable项目.

更新:当我注释掉这一行并运行页面时,虽然我的页面在没有错误之前正常工作,但在IOS和Android中只显示一个空屏幕.

更新2:现在InitializeComponent行已经消失,但我调试的页面仍然是完全空白的.

我在这里问了一个关于这个新问题的问题.

xaml xamarin xamarin.forms

3
推荐指数
2
解决办法
2423
查看次数

Xamarin上的黑屏

我有一个Xamarin便携式项目。
我调试的Xaml页面完全空白,在Android和IOS上的页面上都看不到任何组件。

我怎样才能解决这个问题?

注意:没有任何错误消息,页面正在打开,我看不到任何内容。
发生此错误出现了问题。当我修复它时,
尽管调试的页面在InitializeComponent错误之前仍在工作,但它们打开的页面还是空的。

任何帮助将不胜感激。

这是我的xaml:

<?xml version="1.0" encoding="utf-8" ?>
    <ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
         xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
         x:Class="AcikAkademi3.Layoutlar.GridOrnek3">

<Grid>
  <Grid.RowDefinitions>  
    <RowDefinition Height="*"></RowDefinition>
    <RowDefinition Height="*"></RowDefinition>
  </Grid.RowDefinitions>

  <Grid.ColumnDefinitions>
    <ColumnDefinition Width="*"></ColumnDefinition>
    <ColumnDefinition Width="*"></ColumnDefinition>
    <ColumnDefinition Width="Auto"></ColumnDefinition>
  </Grid.ColumnDefinitions>

  <Label BackgroundColor="Red" Text="0,0" Grid.Column="0" Grid.Row="0">
  </Label>
  <Label BackgroundColor="Blue" Text="1,0" Grid.Column="1" Grid.Row="0">
  </Label>
  <Label BackgroundColor="Yellow" Text="Aç?k Akademi" Grid.Column="2" Grid.Row="0"></Label>

  <Label BackgroundColor="White" Text="0,1" Grid.Column="0" Grid.Row="1">
  </Label>
  <Label BackgroundColor="Silver" Text="1,1" Grid.Column="1" Grid.Row="1">
  </Label>
  <Label BackgroundColor="Lime" Text="2,1" Grid.Column="2" Grid.Row="1">
  </Label>

</Grid>
</ContentPage>
Run Code Online (Sandbox Code Playgroud)

这是我的CS:

using System;
using System.Collections.Generic;
using …
Run Code Online (Sandbox Code Playgroud)

xaml initializecomponent xamarin.ios xamarin.android xamarin

2
推荐指数
1
解决办法
3037
查看次数

Xamarin.iOS中显示软件键盘时如何向上移动布局

我有一个UITextField。单击时,软键盘将覆盖UITextField。
我如何向上移动布局,以使其显示在键盘上方。
提前致谢。

user-interface xamarin.ios ios xamarin ios-keyboard-extension

2
推荐指数
1
解决办法
3454
查看次数