我必须使用小网站spring.所以我选择了spring template project然后new spring mvc project我尝试的是发生了一个错误
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'mTime'.Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'mTime'.
Could not calculate build plan: Failed to parse plugin descriptor for org.apache.maven.plugins:maven-war-plugin:2.1.1 (C:\Users\User01\.m2\repository\org\apache\maven\plugins\maven-war-plugin\2.1.1\maven-war-plugin-2.1.1.jar): invalid LOC header (bad signature)
Failed to parse plugin descriptor for org.apache.maven.plugins:maven-war-plugin:2.1.1 (C:\Users\User01\.m2\repository\org\apache\maven\plugins\maven-war-plugin\2.1.1\maven-war-plugin-2.1.1.jar): invalid LOC header (bad signature)
Could not calculate build plan: Failed to parse plugin …Run Code Online (Sandbox Code Playgroud) 我知道将WebBrowser放在Pivot/RadSlideView控件中是个坏主意.无论如何我这样做了:
<phone:PhoneApplicationPage
x:Class="**.HtmlView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
SupportedOrientations="PortraitOrLandscape" Orientation="Portrait"
mc:Ignorable="d"
Style="{StaticResource LeafPageNavigationStyle}">
<controls:Pivot x:Name="Html" ItemsSource="{Binding Items}"
Style="{StaticResource HeaderlessPivot}">
<controls:Pivot.ItemTemplate>
<DataTemplate>
<phone:WebBrowser Source="{Binding}" />
</DataTemplate>
</controls:Pivot.ItemTemplate>
</controls:Pivot>
</phone:PhoneApplicationPage>
Run Code Online (Sandbox Code Playgroud)
基本上我想使用Pivot在我通过我的ViewModel提供的URI中滑过一系列HTML文档,它只是将数组包装在Caliburn.Micro OneActive Conductor中:
namespace DSBMobile.ViewModels
{
public class HtmlViewModel : Conductor<Uri>.Collection.OneActive
{
private readonly IUnburyableState<Uri[], HtmlViewModel> _state;
public HtmlViewModel(IUnburyableState<Uri[], HtmlViewModel> state)
{
_state = state;
Items.AddRange(_state.State.ForceGetValue());
}
}
}
Run Code Online (Sandbox Code Playgroud)
这在我手动部署的调试版和发行版中运行良好.该应用程序通过商店强加的所有测试,但只要我尝试在应用程序中打开此特定视图,它就会崩溃而没有任何机会重定向到Telerik MessageBox.
一旦我删除外部Pivot并相应地调整ViewModel,它就会顺畅运行.正如我所说,崩溃只发生在生产中.Application.UnhandledException处理程序无法让应用程序吞下异常并显示错误.
这真是错综复杂,几个月来一直困扰着我.任何人都可以解决这个错误或指向一个有价值的方向吗?我还要感谢更多的WP-ish建议,用于显示多个可用的Web链接.
c# webbrowser-control windows-phone-7 windows-phone windows-phone-8
我正在开发使用Parse Android SDK的应用程序.应用程序在调试模式下正常工作但是当我在发布模式下编译时,我得到以下错误.执行解析查询时发生错误.不是我初始化解析时.
[MonoDroid] UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
[MonoDroid] at Parse.PlatformHooks+<RequestAsync>d__19.MoveNext () [0x00000] in <filename unknown>:0
[MonoDroid] --- End of stack trace from previous location where exception was thrown ---
[MonoDroid] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
[MonoDroid] at Parse.Internal.InternalExtensions+<>c__DisplayClass7`1[System.Tuple`2[System.Net.HttpStatusCode,System.Collections.Generic.IDictionary`2[System.String,System.Object]]].<OnSuccess>b__6 (System.Threading.Tasks.Task t) [0x00000] in <filename unknown>:0
[MonoDroid] at System.Threading.Tasks.TaskActionInvoker+FuncTaskInvoke`1[System.Threading.Tasks.Task`1[System.Tuple`2[System.Net.HttpStatusCode,System.Collections.Generic.IDictionary`2[System.String,System.Object]]]].Invoke (System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) [0x00000] in <filename unknown>:0
[MonoDroid] at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <filename unknown>:0
[MonoDroid] at System.Threading.Tasks.Task.ThreadStart …Run Code Online (Sandbox Code Playgroud) 在我的Windows Phone应用程序中,我在页面上有两个LongListSelectors并排.我想这样做,以便当用户滚动其中一个时,另一个滚动相同的数量.
两者的LongListSelectorsItemTemplates总是具有相同的高度.您可以将此视为模仿Excel中的冻结列(左侧LongListSelector仅垂直滚动,右侧水平和垂直滚动.
任何人都可以指出我正确的方向如何做到这一点?我愿意在代码隐藏中做这件事,或者如果不能用绑定做的话.
那么,我的问题是什么?我有一个popup,当我打开它时,我想在我的Windows手机应用程序中禁用当前页面.所以我这样做this.IsEnabled = false;但是我ApplicationBar仍然可用.当然我尝试:
ApplicationBar.IsMenuEnabled = false;
Run Code Online (Sandbox Code Playgroud)
我的下一个想法是做这样的事情:
for (int i = 0; i < ApplicationBar.MenuItems.Count; i++)
{
((ApplicationBarMenuItem)ApplicationBar.Buttons[i]).IsEnabled = false;
}
Run Code Online (Sandbox Code Playgroud)
但仍然没有结果.我确信之前已经完成了一些,你能告诉我怎么做的吗?
因此,我尝试在Visual Studio 2012中为Windows Phone 8应用程序添加NDEF库以用于邻近应用程序.在Package Manager我检查Allow NuGet to download missing packages during build和Solution Explorer我选择Enable NuGet Package Restore.
到目前为止这么好,但是当我尝试安装软件包时,我收到以下错误:
无法安装包' NdefLibrary 0.9.0.1 '.您正在尝试将此软件包安装到以" WindowsPhone,Version = v8.0 "为目标的项目中,但该软件包不包含与该框架兼容的任何程序集引用.有关更多信息,请与软件包作者联系.

我之前已经将应用程序部署到了我的窗口手机,但是今天当我尝试部署我的新应用程序时出现了问题

zune正在运行我的手机已解锁,我的Windows Live帐户是正确的,当我进入开发者注册时,这种情况正在发生

所以我花了很长时间寻找解决方案,但我找不到一个.有没有人有同样的问题?什么可以导致这个?
我正在尝试为nfc标签创建vcalendar,但正确的mime类型是什么?它应该是这样的
WindowsMime:WriteTag.Text/VCALENDAR
WindowsMime:WriteTag.Text/X-VCALENDAR
但是当我尝试阅读标签时,提示信息为"抱歉,您的手机无法识别此类型的文件"
c# ×5
nfc ×2
android ×1
deployment ×1
linq ×1
maven ×1
mime-types ×1
ndef ×1
nuget ×1
silverlight ×1
spring ×1
spring-mvc ×1
vcalendar ×1
xamarin ×1
xaml ×1
zune ×1