Red Gate forums :: View topic - System.InvalidCastException
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

System.InvalidCastException

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
JohnRedGater



Joined: 27 Jun 2011
Posts: 10

PostPosted: Wed Nov 16, 2011 11:41 pm    Post subject: System.InvalidCastException Reply with quote

When I build my application, I get the following message:

Warning 7 Failed: System.InvalidCastException: Specified cast is not valid.
at „..(IEnumerable`1 )
at „..( methodBody, & blockData, IDictionary`2 instructionIndexToIlOffsetMap)
at „..( , Dictionary`2 )
at ..()
at ..()
at ..( , FileInfo , IAssemblyWriterOptions )
at ..()
at SmartAssembly.ConsoleApp.OnProcessingFeedback(Object ,  )
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at ..[](EventHandler`1 ,  )
at ..(ProjectProcessingStep , Exception )
at ..()
at SmartAssembly.ConsoleApp.PerformBuild(String ,  , Dictionary`2 )
at SmartAssembly.ConsoleApp.PerformProjectAction(String ,  , Todo , Dictionary`2 )
at SmartAssembly.ConsoleApp.CommandLineAction(String , Todo , Dictionary`2 )
at SmartAssembly.ConsoleApp.Run(String[] )

This is then followed by:

Error 6 SmartAssembly build failed:
Failed: System.InvalidCastException: Specified cast is not valid.
at „..(IEnumerable`1 )
at „..( methodBody, & blockData, IDictionary`2 instructionIndexToIlOffsetMap)
at „..( , Dictionary`2 )
at ..()
at ..()
at ..( , FileInfo , IAssemblyWriterOptions )
at ..()


Both exceptions show up in column 5, line 144 of project.csproj
Back to top
View user's profile Send private message
james.davies



Joined: 19 Apr 2011
Posts: 46

PostPosted: Wed Nov 30, 2011 4:59 pm    Post subject: Reply with quote

We believe we have fixed this bug in the latest version of SmartAssembly.

Please click on “Check For Updates” (under “Tools” on the left hand side) and upgrade SmartAssembly. (to v6.5.2.21)

Please let us know if the problem is fixed (or not)
_________________
Thanks,
James Davies
Technical Support Engineer
Red Gate Software
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
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