This is a migrated thread and some comments may be shown as answers.

Protecting assemblies: Batch file error

2 Answers 28 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Deepak Shakya
Top achievements
Rank 1
Deepak Shakya asked on 27 Jun 2012, 06:29 AM
Hi,

On making changes to the AssemblyProtection and running the batch file Build_SL5, it gives me this error.

Could you please help me with this?

2 Answers, 1 is accepted

Sort by
0
Deepak Shakya
Top achievements
Rank 1
answered on 27 Jun 2012, 06:59 AM
Hi,

I was able to build Gridview solution by changing the reference to DataAnnotation DLL from Silverlight 5. I have just copied the resulting dll to the folder generated by the batch file. I hope this is fine.

Let me know if I need to know anything.
0
Deepak Shakya
Top achievements
Rank 1
answered on 27 Jun 2012, 07:36 AM
One more thing - 

If I comment out the Key resource in App.xaml, it throws an error saying that the current version of assembly can only be use with the "Application name". But if I just declare the resource and not put anything or random string in the key resource, it doesn't complain. Is this meant to happen? Isn't this string be compared to the one that was used when building from source?

Tags
General Discussions
Asked by
Deepak Shakya
Top achievements
Rank 1
Answers by
Deepak Shakya
Top achievements
Rank 1
Share this question
or