Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import keyfile error #93

Open
borsosn opened this issue Mar 5, 2018 · 3 comments
Open

Cannot import keyfile error #93

borsosn opened this issue Mar 5, 2018 · 3 comments

Comments

@borsosn
Copy link

borsosn commented Mar 5, 2018

I am trying to create a GraphX-based UWP project. I am using Win 10 with the latest stable version of VS/.NET.

When loading this example project, I got the following error:

Error Cannot import the following key file: uap_graphx.controls.pfx. The key file may be password protected. To correct this, try to import the certificate again or manually install the certificate to the Strong Name CSP with the following key container name: VS_KEY_84CEA4D79D6EBB21 GraphX.UAP.Controls

Additionally, when editing the XAML file, I get the following error on the ZoomControl block:

<controls1:ZoomControl x:Name="zc" ViewFinderVisibility="Collapsed" Grid.Row="1">
    <models:GraphAreaExample x:Name="graph" />
</controls1:ZoomControl>

Error The specified value cannot be assigned to the collection. The following type was expected: "UIElement". UAP.SimpleGraph C:\Users\borso\Downloads\GraphX-PCL2\GraphX-PCL\Examples\UAP.SimpleGraph\MainPage.xaml 19

Stack Overflow resources suggested to switch to Release mode, set the Platform of UAP.SimpleGraph to x86, and rebuild the project.

image

This resolved the issue once, but I cannot reproduce it again (i.e. now this fix does not work and I get the same error messages again). What should I try next?

@panthernet
Copy link
Owner

Hi, the first error is certificate error. I think you have to make new certificate from the GraphX.UAP.Controls project settings. The second one is weird so I don't have solution for you out of the box. If you send me bugged example project I can take a look.

@borsosn
Copy link
Author

borsosn commented Mar 15, 2018

Hi,
Creating a new certificate solved the problem with the example project.
I have uploaded my bugged solution, but because of the size limit here, it is available through this link.

Thank you for your help!

@szarnyasg
Copy link

Hi, I trimmed down the zip of the buggy solution: UWPCalc2.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants