:: AForge.NET Framework :: Articles :: Forums ::

Compiling Video.FFMPEG as Release config SNK fix

Forum to discuss AForge.NET Framework, its features, API, how-tos, etc.

Compiling Video.FFMPEG as Release config SNK fix

Postby PauloPolaco » Thu Aug 08, 2013 12:54 pm

I kind of got stuck on this the other day, I hope that somebody else that's trying to recompile Video.FFMPEG may find this helpful. It appears that the SNK reference is missing from the Release configuration, hence the project won't compile.

Google Code Issue 353 - Video.FFMPEG Release code signing issue:

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'm running VS 2012.

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:
Posts: 23
Joined: Thu Aug 08, 2013 10:10 am
Location: Michigan

Return to AForge.NET Framework