View previous topic :: View next topic |
Author |
Message |
Renegade
Joined: 30 Apr 2005 Posts: 45
|
Posted: Wed Aug 03, 2005 1:00 pm Post subject: Compiling problems |
|
|
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 |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Aug 03, 2005 10:56 pm Post subject: |
|
|
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 |
|
|
|