我正在使用Xamarin开发Android应用程序.
Visual Studio显示此警告,我不知道它的含义.我按照指示行事,但似乎无法找到temp\\file
Severity Code Description Project File Line Suppression State Detail Description
Warning IDE0006 Error encountered while loading the project. Some project features, such as full solution analysis for the failed project and projects that depend on it, have been disabled. daijoubu-app 1 Active To see what caused the issue, please try below.
1. Close Visual Studio
2. Open a Visual Studio Developer Command Prompt
3. Set environment variable “TraceDesignTime” to true (set TraceDesignTime=true)
4. Delete .vs directory/.suo …Run Code Online (Sandbox Code Playgroud) 我正在尝试将Xamarin iOS应用程序部署到iPhone。但是它无法部署到iPhone设备中,因为它在模拟器中可以正常工作。我验证了捆绑标识符和供应配置文件是否匹配。我还使用相同的配置文件使用XCode将另一个测试应用程序部署到了iPhone设备中。正在成功部署。还批准了开发者在iPhone中的信任。
我看到的Visual Studio异常如下
错误MT1006:无法安装应用程序'/Users/VarunRaja/Library/Caches/Xamarin/mtbs/builds/WK.TAA.Mfa.OTPAuthenticator.iOS/116dd0bfdd565dd44e1837c2280a6d94/bin/iPhoneSimulator/Debug/WK.TAA.enterator。设备“ Raja的iPhone”上的iOS.app”:返回的AMDeviceSecureInstallApplicationBundle:0xe8000067(kAMDAPIInternalError)。
我看到这来自我的Mac Agent。Visual Studio表示该应用程序已终止。
我刚从默认(app.cs)模板创建了一个可移植的应用程序,没有更改任何代码(虽然我似乎必须更新Xamarin.Forms以修复启动异常)并运行它.我得到了这个(没有图标显示):
为了彻底,这里是代码(再一次,模板没有任何改变):
namespace App3
{
public class App : Application
{
public App()
{
// The root page of your application
var content = new ContentPage
{
Title = "App3",
Content = new StackLayout
{
VerticalOptions = LayoutOptions.Center,
Children = {
new Label {
HorizontalTextAlignment = TextAlignment.Center,
Text = "Welcome to Xamarin Forms!"
}
}
}
};
MainPage = new NavigationPage(content);
}
Run Code Online (Sandbox Code Playgroud)
Droid项目,主要活动:
[Activity(Label = "App3", Icon = "@drawable/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)] …Run Code Online (Sandbox Code Playgroud) 我正在尝试运行Xamarin.Forms的示例示例.我已经制作了示例应用程序.我已经在项目中添加了所需的包.但由于某种原因我得到了错误
无法启动模拟器:无法加载框架'libswiftCore.dylib'(路径:/Applications/Xcode8beta.app/Contents/Frameworks/libswiftCore.dylib):未找到.错误MT1008:无法启动模拟器:无法加载框架'libswiftCore.dylib'(路径:/Applications/Xcode8beta.app/Contents/Frameworks/libswiftCore.dylib):未找到.
我在Mac Xamarin studio 6.1.1上使用XCode 8 beta
我已经在Xamarin首选项中正确设置了SDK的路径,并且说可以在已提到的路径上使用SDK.每当我尝试运行应用程序时,它编译得很好,但是在模拟器预期启动之前它会显示上面的消息.
我该如何解决这个问题?