Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compiling problems

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support
View previous topic :: View next topic  
Author Message
Renegade



Joined: 30 Apr 2005
Posts: 45

PostPosted: Wed Aug 03, 2005 1:00 pm    Post subject: Compiling problems Reply with quote

I just got around to playing with the 2.0.4 release and am having problems with compiling it. There weren't any instructions in the ZIP file, so I just opened them in VS 2003 and compiled. The VB one compiled, but the CS ones didn't and neither did the license generator. Here are some of the errors I got:

From License Generator:
Code:
Cryptographic failure while signing assembly 'C:\Documents and Settings\Administrator\My Documents\Infralution\Infralution 2.x\ILS_Source2-0-4\LicenseKeyGenerator\obj\Debug\LicenseKeyGenerator.exe' -- 'Error reading key file '..\..\..\..\Infralution.snk' -- The system cannot find the file specified. '


From the Licensing (C#):
Code:
Cryptographic failure while signing assembly 'C:\Documents and Settings\Administrator\My Documents\Infralution\Infralution 2.x\ILS_Source2-0-4\Infralution.Licensing\obj\Debug\Infralution.Licensing.dll' -- 'Error reading key file '..\..\..\..\Infralution.snk' -- The system cannot find the file specified. '



From the _CF source:
Code:
C:\Documents and Settings\Administrator\My Documents\Infralution\Infralution 2.x\ILS_Source2-0-4\Infralution.Licensing.CF\OpenNETCF\GuidEx.cs(341): 'OpenNETCF.GuidEx.ToGuid()' : new protected member declared in sealed class
C:\Documents and Settings\Administrator\My Documents\Infralution\Infralution 2.x\ILS_Source2-0-4\Infralution.Licensing.CF\OpenNETCF\Win32\Core.cs(1393): 'OpenNETCF.Win32.Core.SystemPowerStatus' is obsolete: 'Use the .NET compliant OpenNETCF.Windows.Forms.SystemInformationEx.PowerStatus and related functionality.'
C:\Documents and Settings\Administrator\My Documents\Infralution\Infralution 2.x\ILS_Source2-0-4\Infralution.Licensing.CF\OpenNETCF\Win32\Core.cs(1393): 'OpenNETCF.Win32.Core.SystemPowerStatus' is obsolete: 'Use the .NET compliant OpenNETCF.Windows.Forms.SystemInformationEx.PowerStatus and related functionality.'
Cryptographic failure while signing assembly 'C:\Documents and Settings\Administrator\My Documents\Infralution\Infralution 2.x\ILS_Source2-0-4\Infralution.Licensing.CF\obj\Debug\Infralution.Licensing.CF.dll' -- 'Error reading key file '..\..\..\..\Infralution.snk' -- The system cannot find the file specified. '


How can I get these built?

Thanks,

Ryan
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Aug 03, 2005 10:56 pm    Post subject: Reply with quote

Typically you don't actually want to compile the DLL projects. Instead you would take the classes from the projects and include them in your project directly. The reason the projects don't compile is because the AssemblyInfo specifies that the DLL should be signed with our strong name key (Infralution.snk). Obviously we don't supply this - as that would allow anyone to sign using our strong name. If you do want to compile the DLL project simply delete this line from the AssemblyInfo or replace it with your own strong name key.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group