Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Professional iPhone Programming with MonoTouch and .NET/C#
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional iPhone Programming with MonoTouch and .NET/C#
This is the forum to discuss the Wrox book Professional iPhone Programming with MonoTouch and .NET/C# by Wallace B. McClure, Rory Blyth, Craig Dunn, Chris Hardy, Martin Bowling ; ISBN: 978-0-470-63782-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional iPhone Programming with MonoTouch and .NET/C# section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 26th, 2012, 04:41 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 12: localization - ngenstrings.exe

I tried to use 'ngenstrings.exe' for my application localization.
For: mono ngenstrings.exe Localization02.exe - it was OK.
But: mono ngenstrings.exe MyApp.exe - exeptions occured

jiri-mac-mini:Applications jpa$ mono ngenstrings.exe TaskPoolMobile.exe

Unhandled Exception: Mono.Cecil.ReflectionException: Can not disassemble assembly ---> System.InvalidOperationException: Operation is not valid due to the current state of the object
at Mono.Cecil.TypeSpecification.set_IsValueType (Boolean value) [0x00000] in <filename unknown>:0
at Mono.Cecil.ReflectionReader.GetTypeRefFromSig (Mono.Cecil.Signatures.SigType t, Mono.Cecil.GenericContext context) [0x00000] in <filename unknown>:0
at Mono.Cecil.ReflectionReader.BuildParameterDefiniti on (System.String name, Int32 sequence, ParamAttributes attrs, Mono.Cecil.Signatures.Param psig, Mono.Cecil.GenericContext context) [0x00000] in <filename unknown>:0
at Mono.Cecil.ReflectionReader.CompleteMethods () [0x00000] in <filename unknown>:0
at Mono.Cecil.ReflectionReader.VisitTypeDefinitionCol lection (Mono.Cecil.TypeDefinitionCollection types) [0x00000] in <filename unknown>:0
at Mono.Cecil.AggressiveReflectionReader.VisitTypeDef initionCollection (Mono.Cecil.TypeDefinitionCollection types) [0x00000] in <filename unknown>:0
at Mono.Cecil.ReflectionReader.VisitModuleDefinition (Mono.Cecil.ModuleDefinition mod) [0x00000] in <filename unknown>:0
at Mono.Cecil.StructureReader.TerminateAssemblyDefini tion (Mono.Cecil.AssemblyDefinition asm) [0x00000] in <filename unknown>:0
at Mono.Cecil.AssemblyDefinition.Accept (IReflectionStructureVisitor visitor) [0x00000] in <filename unknown>:0
at Mono.Cecil.AssemblyFactory.GetAssembly (System.String file) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Mono.Cecil.AssemblyFactory.GetAssembly (System.String file) [0x00000] in <filename unknown>:0
at ngenstrings.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: Mono.Cecil.ReflectionException: Can not disassemble assembly ---> System.InvalidOperationException: Operation is not valid due to the current state of the object
at Mono.Cecil.TypeSpecification.set_IsValueType (Boolean value) [0x00000] in <filename unknown>:0
at Mono.Cecil.ReflectionReader.GetTypeRefFromSig (Mono.Cecil.Signatures.SigType t, Mono.Cecil.GenericContext context) [0x00000] in <filename unknown>:0
at Mono.Cecil.ReflectionReader.BuildParameterDefiniti on (System.String name, Int32 sequence, ParamAttributes attrs, Mono.Cecil.Signatures.Param psig, Mono.Cecil.GenericContext context) [0x00000] in <filename unknown>:0
at Mono.Cecil.ReflectionReader.CompleteMethods () [0x00000] in <filename unknown>:0
at Mono.Cecil.ReflectionReader.VisitTypeDefinitionCol lection (Mono.Cecil.TypeDefinitionCollection types) [0x00000] in <filename unknown>:0
at Mono.Cecil.AggressiveReflectionReader.VisitTypeDef initionCollection (Mono.Cecil.TypeDefinitionCollection types) [0x00000] in <filename unknown>:0
at Mono.Cecil.ReflectionReader.VisitModuleDefinition (Mono.Cecil.ModuleDefinition mod) [0x00000] in <filename unknown>:0
at Mono.Cecil.StructureReader.TerminateAssemblyDefini tion (Mono.Cecil.AssemblyDefinition asm) [0x00000] in <filename unknown>:0
at Mono.Cecil.AssemblyDefinition.Accept (IReflectionStructureVisitor visitor) [0x00000] in <filename unknown>:0
at Mono.Cecil.AssemblyFactory.GetAssembly (System.String file) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Mono.Cecil.AssemblyFactory.GetAssembly (System.String file) [0x00000] in <filename unknown>:0
at ngenstrings.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
jiri-mac-mini:Applications jpa$

What is wrong?

Thanks.
Reply With Quote
  #2 (permalink)  
Old June 26th, 2012, 06:03 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Does it works with strings in LocalizedString() metod only ?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 6 - Error messages and localization slaneyrw BOOK: Professional ASP.NET MVC 3 1 August 9th, 2011 05:34 PM
Generics chapter 12 difficult chapter i found ...? Larryz C# 2005 1 July 4th, 2007 09:40 PM
Chapter 12 .MAttButler BOOK: Professional Web Parts and Custom Controls ASP.NET ISBN: 0-7645-7860-X 5 September 10th, 2006 08:31 PM
Errors on Chapter 12 example(12.8) sonnie ASP.NET 2.0 Professional 2 June 7th, 2006 10:55 AM
example in chapter 12 peterml JSP Basics 0 August 23rd, 2003 08:11 AM



All times are GMT -4. The time now is 07:46 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.