priaonehaha / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

Video.FFMPEG Release code signing issue (BOTH VS 2010 & VS 2012) #354

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try compiling Video.FFMPEG as Release configuration.
2. You'll get a MSB3073 VCEnd error complaining of a missing SNK.

What is the expected output? What do you see instead?

Everything compiles fine under the Debug configuration but not under Release.

What version of the product are you using?

I can confirm this BOTH VS 2010 and VS 2012 on two different machines.  VS 2010 
also needed to change the Plaform Toolset to v10, whereas VS 2012 up'ed it via 
a wizard dialogue.

Please provide any additional information below.

This can be solved by going to Project Properties -> Configuration Properties 
-> Linker -> Advanced and pasting "$(ProjectDir)AForge.Video.FFMPEG.snk" (sans 
quotes) into the "Key File" attribute.  As per...

How to sign C++/CLI assemblies with a strong name:
http://www.codeproject.com/Articles/35678/How-to-sign-C-CLI-assemblies-with-a-st
rong-name

Original issue reported on code.google.com by pbagadzi...@gmail.com on 8 Aug 2013 at 1:37