Laden...

Xaml

Erstellt von schaedld vor 17 Jahren Letzter Beitrag vor 17 Jahren 3.549 Views
schaedld Themenstarter:in
1.433 Beiträge seit 2006
vor 17 Jahren
Xaml

Hallo zusammen

Ich bin gerade ein bisschen die Grundlagen für XAML am Studieren. Bei Microsoft sind da ein paar brauchbare Ressourcen vorhanden. Nun wenn ich folgenden Code

<Window
Xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
  <Button>Hello, XAML!</Button>
</Window>

kopiere und dann ausführen lassen will erscheint mir dann folgende Fehlermeldung

PLATFORM VERSION INFO
	Windows 			: 6.0.6000.0 (Win32NT)
	Common Language Runtime 	: 2.0.50727.312
	System.Deployment.dll 		: 2.0.50727.312 (rtmLHS.050727-3100)
	mscorwks.dll 			: 2.0.50727.312 (rtmLHS.050727-3100)
	dfshim.dll 			: 2.0.50727.312 (rtmLHS.050727-3100)

SOURCES
	Deployment url			: file:///C:/Windows/Microsoft.Net/Framework/v3.0/WPF/XamlViewer/XamlViewer_v0300.xbap

ERROR SUMMARY
	Below is a summary of the errors, details of these errors are listed later in the log.
	* An exception occurred while downloading the manifest. Following failure messages were detected:
		+ Exception reading manifest from file:///C:/Windows/Microsoft.Net/Framework/v3.0/WPF/XamlViewer/XamlViewer_v0300.xbap: the manifest may not be valid or the file could not be opened.
		+ Manifest XML signature is not valid.
		+ The profile for the user is a temporary profile.


COMPONENT STORE TRANSACTION FAILURE SUMMARY
	No transaction error was detected.

WARNINGS
	There were no warnings during this operation.

OPERATION PROGRESS STATUS
	No phase information is available.

ERROR DETAILS
	Following errors were detected during this operation.
	* [02.03.2007 11:20:13] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
		- Exception reading manifest from file:///C:/Windows/Microsoft.Net/Framework/v3.0/WPF/XamlViewer/XamlViewer_v0300.xbap: the manifest may not be valid or the file could not be opened.
		- Source: System.Deployment
		- Stack trace:
			at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
			at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
			at System.Deployment.Application.DownloadManager.DownloadDeploymentManifest(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
			at System.Deployment.Application.DeploymentManager.BindCore(Boolean blocking, TempFile& tempDeploy, TempDirectory& tempAppDir, FileStream& refTransaction, String& productName)
			at System.Deployment.Application.DeploymentManager.BindAsyncWorker()
		--- Inner Exception ---
		System.Deployment.Application.InvalidDeploymentException (SignatureValidation)
		- Manifest XML signature is not valid.
		- Source: System.Deployment
		- Stack trace:
			at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
			at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
		--- Inner Exception ---
		System.Security.Cryptography.CryptographicException
		- The profile for the user is a temporary profile.

		- Source: System.Deployment
		- Stack trace:
			at System.Deployment.Internal.CodeSigning.SignedCmiManifest.VerifyPublicKeyToken()
			at System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)
			at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)

COMPONENT STORE TRANSACTION DETAILS
	No transaction information is available.

Alleine für die Darstellung wird noch nicht eine Code-Datei benötigt oder? Wenn ich die Schema Referenz im Header in meinen Browser eingebe, dann sagt mir die Microsoft-Seite, dass diese nicht verfügbar sein.
Kann eventuell dort noch der Fehler liegen?

Danke für die Hilfe.

Grüsse
Daniel
Space Profile
Wer nicht fragt, der nicht gewinnt

6.862 Beiträge seit 2003
vor 17 Jahren

Das ist kein Fehler in XAML, schau dir mal die Exceptions an.

System.Security.Cryptography.CryptographicException

  • The profile for the user is a temporary profile.

Als was für nen User bist du denn angemeldet? Normaler Standarduser?

Baka wa shinanakya naoranai.

Mein XING Profil.

schaedld Themenstarter:in
1.433 Beiträge seit 2006
vor 17 Jahren

Als was für nen User bist du denn angemeldet? Normaler Standarduser?

Eigentlich habe ich lokale Adminrechte.

Grüsse
Daniel
Space Profile
Wer nicht fragt, der nicht gewinnt