This project has moved and is read-only. For the latest updates, please go here.

Referenced assembly 'DocX' does not have a strong name on Visual Web Part

Mar 26, 2014 at 4:44 PM
Edited Mar 26, 2014 at 4:47 PM
Hi, this is my first time using docx

I am writing a Visual Web Part to replace some text on different word documents but I haven't be able to test my code because every-time I build my project I get the following error
Referenced assembly 'DocX' does not have a strong name.
I used this instructions on the DocX.dll but it returned he following error
Could not load file or assembly 'DocX, Version=, Culture=neutral, PublicKeyToken=77933876beea6f02' or one of its dependencies. The system cannot find the file specified.
Can I get any help on how to fix this?

Full project details

Using Visual Studio 2012
C# Project
Sharepoint 2013
asp 4


I get no build errors while building a console application
Apr 20, 2014 at 12:10 PM
You need to download DocX sources, change project properties to generate signed assembly and then rebuild project to use the resulting assembly in your SharePoint solution