Hi,
I wanted to try out some development for the Windows CE 5.0 platform so
downloaded the SmartPhone SDK from Microsoft and started up a new
project with a blank form. This is virtually a blank project, I will
want to do some networking when I get the program to compile though. I
am using Visual Studio 2005 RTM (Target is set to Windows Mobile 5.0
SmartPhone Emulator)
The build error I get is this:
Warning 1 An internal error occurred in PlatformVerificationTask.
System.TypeInitializationException: The type initializer for
'Microsoft.CompactFramework.Build.Compiler.CoreSys temTypes' threw an
exception. ---> System.TypeInitializationException: The type
initializer for
'Microsoft.CompactFramework.Build.Compiler.Assembl yReference' threw an
exception. ---> System.InvalidOperationException: This implementation
is not part of the Windows Platform FIPS validated cryptographic
algorithms.
at System.Security.Cryptography.SHA1Managed..ctor()
at
Microsoft.CompactFramework.Build.Compiler.Assembly Reference..cctor()
--- End of inner exception stack trace ---
at
Microsoft.CompactFramework.Build.Compiler.Assembly Reference..ctor(String
assemblyStrongName)
at
Microsoft.CompactFramework.Build.Compiler.TargetPl atform.SetToV2(String
platformAssembliesLocation)
at
Microsoft.CompactFramework.Build.Compiler.TargetPl atform.SetupAssemblyReferenceFor()
at
Microsoft.CompactFramework.Build.Compiler.CoreSyst emTypes.Initialize(Boolean
doNotLockFile, Boolean getDebugInfo)
at
Microsoft.CompactFramework.Build.Compiler.CoreSyst emTypes..cctor()
--- End of inner exception stack trace ---
at
Microsoft.CompactFramework.Build.Compiler.Assembly Node.GetAssembly(String
location, IDictionary cache, Boolean doNotLockFile, Boolean
getDebugInfo, Boolean useGlobalCache, Boolean preserveShortBranches)
at
Microsoft.CompactFramework.Build.Tasks.PlatformVer ificationTask.Execute() C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Micr osoft.CompactFramework.Common.targets TestingP2PNetMobile
Error 2 The "PlatformVerificationTask" task failed unexpectedly.
System.TypeInitializationException: The type initializer for
'Microsoft.CompactFramework.Build.Compiler.SystemT ypes' threw an
exception. ---> System.TypeInitializationException: The type
initializer for
'Microsoft.CompactFramework.Build.Compiler.CoreSys temTypes' threw an
exception. ---> System.TypeInitializationException: The type
initializer for
'Microsoft.CompactFramework.Build.Compiler.Assembl yReference' threw an
exception. ---> System.InvalidOperationException: This implementation
is not part of the Windows Platform FIPS validated cryptographic
algorithms.
at System.Security.Cryptography.SHA1Managed..ctor()
at
Microsoft.CompactFramework.Build.Compiler.Assembly Reference..cctor()
--- End of inner exception stack trace ---
at
Microsoft.CompactFramework.Build.Compiler.Assembly Reference..ctor(String
assemblyStrongName)
at
Microsoft.CompactFramework.Build.Compiler.TargetPl atform.SetToV2(String
platformAssembliesLocation)
at
Microsoft.CompactFramework.Build.Compiler.TargetPl atform.SetupAssemblyReferenceFor()
at
Microsoft.CompactFramework.Build.Compiler.CoreSyst emTypes.Initialize(Boolean
doNotLockFile, Boolean getDebugInfo)
at
Microsoft.CompactFramework.Build.Compiler.CoreSyst emTypes..cctor()
--- End of inner exception stack trace ---
at
Microsoft.CompactFramework.Build.Compiler.SystemTy pes.Initialize(Boolean
doNotLockFile, Boolean getDebugInfo)
at Microsoft.CompactFramework.Build.Compiler.SystemTy pes..cctor()
--- End of inner exception stack trace ---
at Microsoft.CompactFramework.Build.Compiler.SystemTy pes.Clear()
at
Microsoft.CompactFramework.Build.Tasks.PlatformVer ificationTask.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask,
BuildPropertyGroup projectPropertiesAvailableToTask, Boolean&
taskClassWasFound) C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Micr osoft.CompactFramework.Common.targets 93 9 TestingP2PNetMobile
Thanks for the help guys,
Vlad# (VladSharp)