Hello,

I'm getting an error when trying to compile the Release version of the
GExtensions module from the .NET code. (I downloaded it from
http://code.google.com/apis/gdata/download/gdata.cs.zip)

I'm using Visual Studio 2005, and trying to compile the release versions of
the libraries. The problem does not happen when compilign teh debug version.

error CS1548: Cryptographic failure while signing assembly
'G:\var\Projects\VS2k5\google\1.0.8\clients\cs\src\VS2005.mobile\GExtensionsMobile\obj\Release\Google.GData.Extensions.dll'
-- 'Error reading key file 'extensionkey.sn' -- The system cannot find the
file specified. '

The offending code is this snippet from
clients\cs\src\extensions\AssemblyInfo.cs:

#if WindowsCE
#else
[assembly: AssemblyKeyFile("extensionkey.sn")]
#endif
[assembly: AssemblyKeyName("")]

If I go an add the full path to extensionkey.sn and try to compile I get
this error:

error CS1577: Assembly generation failed -- Referenced assembly '
Google.GData.Client' does not have a strong name

In the GExtensionMobile project properties, Build tab, the symbol "PocketPC"
is defined, not "WindowsCE". If I change that, through all the included
projects (and don't change AssemblyInfo.cs), then everything compiles all
wonderful good.

Thing is, I am very new to C# and .NET, so I know squat about signing
assemblies (as dlls now seem to be called) and all the new little
intricacies of that platform, so I don't know whether swapping "PocketPC"
for "WindowsCE" has any significant side effects not readily visible that
don't prevent compilation.

Anything I should know, or does that chaneg of symbols not make any
difference?

Thanks in advance.

--
Cory C. Albrecht

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google 
Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to