xbap

CruiseControl.NET service failing to build due to MSBuild ResolveKeySource error, despite certificate being imported

邮差的信 提交于 2019-12-21 20:27:47
问题 We just had an XBAP/WBA project added to our build server. It uses a PFX file for signing. I imported the PFX file to the CruiseControl.NET service certificate store, and can see it in the certificate store for the service. Yet we are still seeing an exception thrown by ResoveKeySource: c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets (1805,7): errorMSB4018: The "ResolveKeySource" task failed unexpectedly. System.InvalidOperationException: Showing a modal dialog box or form

XBAP full trust deployment

前提是你 提交于 2019-12-18 09:25:45
问题 I did the following steps to deploy my wpf application that need full trust permission: 1-Creating a certificate using makecert.exe 2-Creating signed application and deployment manifests. 3-Building a website in IIS to host files (include MyApplication.exe.manifest and MyAppicatio.xbap) 4-Adding certificate - used to sign manifests - to IE certificate store (Trustes Root Certification Authorities and Trusted Publishers) , IE Menu bar->Tools Internet Options->Content->Certificates But when i

How to fetch string from resource to assign in WPF Resource section in xaml

寵の児 提交于 2019-12-17 12:17:30
问题 I have a XBAP application with the following user control: <UserControl x:Class="XXX.UsersGrid" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="Auto" Width="Auto"> <UserControl.Resources> <DataTemplate x:Key="UpArrowUsers"> <DockPanel> <TextBlock Text="xxUser" x:Name="upArrowUsersHeader" HorizontalAlignment="Center"></TextBlock> <Path x:Name="arrow" StrokeThickness = "1" Fill= "gray" Data= "M 5,10 L 15,10 L 10,5

What happens when a code signing certificate expires?

安稳与你 提交于 2019-12-17 07:09:54
问题 I am considering purchasing a code signing certificate from VeriSign or Thawte to sign an XBAP with. My question is this: What happens when that certificate expires? $299 and $599 are pretty hefty prices for 1-year/2-year cerificates, and if I have to deliver a newly signed build to my customers whenever my certificate expires, then I'll just deal with the hassle of creating my own certificate for now. What I don't like about creating my own certificate is the difficulty in distributing it to

Dual-deploying a WPF app natively and as a XBAP

坚强是说给别人听的谎言 提交于 2019-12-13 12:11:50
问题 How to create a WPF application that can be deployed as either a XBAP or as a native Windows application with as little overhead as possible? XBAPs are binary compatible with WPF Windows applications and run on top of the same CLR (Unlike Silverlight). They still differ in some ways. From deployment point of view their largest difference is that a XBAP has a Page control as the main container while a Windows application has a Window control. It would be rather trivial to make the Windows

How to display a WPF page or window without waiting for heavy processes to finish

霸气de小男生 提交于 2019-12-12 23:20:23
问题 I am working on a WPF Browser Application. The problem is that I have to load some heavy services in the beginig, this causes to see a white page for some seconds before the page components get loaded. Is there a way to avoid this somehow by loading the page without waiting for the heavy processes to finish? Here is the thing I am trying now, and it didn't work: public Page1() { InitializeComponent(); } private void Page_Loaded_1(object sender, RoutedEventArgs e) { // Initialize and configure

Deploy XBAP Application?

ぐ巨炮叔叔 提交于 2019-12-12 07:38:57
问题 We have a WPF Application that has a two flavors with a consistent UI etc,one that runs from a Windows OS Desktop and one that is supposed to run as an XBAP application. Currently I am publishing the XBAP application to my localhost machine IIS (Windows XP Pro),Also I have enabled full trust in my scenario as it is needed(Microsoft .NET Framework 2.0 Configuration,URL Full trust) + pfx file(for my machine name) that gets installed when a user on another machine types the URL from the IE

How to open xbap in FireFox 39.0 & Chrome in Windows 8.1 pro 64bit

天大地大妈咪最大 提交于 2019-12-11 20:32:58
问题 i have published a xbap(wpf browser application) in frame work 3.5 now i copied C:\WINDOWS\Microsoft.NET\Framework\v3.5\Windows Presentation Foundation\NPWPF.dll to C:\Program Files (x86)\Mozilla Firefox\plugins but xbap is not running, its starting download when i run it. my system information is windows 8.1 pro 64bit firefox 39.0 Chrome Version 44.0.2403.89 m but xbap is not running in both FF and Chrome, any suggestions? 来源: https://stackoverflow.com/questions/31678122/how-to-open-xbap-in

WPF Navigate Pages from outside frame

对着背影说爱祢 提交于 2019-12-11 16:46:20
问题 I have to create wpf browser application.It have 2 frames: <DockPanel> <Frame Name ="MenuFrame" Source="Menu1.xaml" Height="Auto" Width="150" NavigationUIVisibility="Hidden" BorderBrush="#35000000" BorderThickness="1"> </Frame> <ScrollViewer Grid.Row="2" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto"> <Frame Name ="ContentFrame" Source="Content.xaml" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" NavigationUIVisibility="Hidden" BorderBrush="

Internet Explorer blocks xbap with ClickOnce

馋奶兔 提交于 2019-12-11 09:03:19
问题 I created today my first xbap application, and deployed with ClickOnce , .NET 4.5. Microsoft did a great job with documenting everything except the small thing of - how does it actually needs to be deployed?? I mean for real... I started an IIS service. Configured in my project publish settings the URL location. In 'Security' tab i checked the 'Enable ClickOnce security settings', and chose 'full-trust application' since I'm using local PC resources. In 'Signing' I created a 'Test Certificate