2

I'm trying to run this WebCam project which written in C#, WPF Application. The project I'm trying to run is on CodeProject website. LINK They didn't provide me with Microsoft.Expression.Encoder.Devices DLL. I searched it online, I cannot find it.

using Microsoft.Expression.Encoder.Devices;

ERROR: The Type or NameSpace name 'Expression' does not exist in the namespace 'Microsoft'(are you missing an assembly reference?)

John Saunders
  • 160,644
  • 26
  • 247
  • 397
Awesome_girl
  • 484
  • 3
  • 9
  • 30
  • 1
    Search the page for **Requirements** - The SDK download link is right there. – Alex K. Mar 26 '15 at 16:30
  • thanks. I downloaded Expression Encoder 4 into the bin/debug folder of the project i'm trying to run. Inside the Expression Encoder 4 that i downloaded, there was a 'Encoder_en.exe' I ran it and it prompted me to install Expression Encoder 4. I did. I ran the project again. Same Error. – Awesome_girl Mar 26 '15 at 16:42
  • 1
    Right click *references* in *solution explorer* and add the dll – Alex K. Mar 26 '15 at 16:44
  • I still don't know where that DLL is. I search all my computer (Win+Q). I also searched under Add Reference-->.Net and Add References-->COM I could not find the DLL. – Awesome_girl Mar 26 '15 at 16:48
  • DAMN! Found it, it was installed in c:// although i ran it from bin/Debug. So the DLL was in the C://..Microsoft Expression folder – Awesome_girl Mar 26 '15 at 16:53
  • I have edited your title. Please see, "[Should questions include “tags” in their titles?](http://meta.stackexchange.com/questions/19190/)", where the consensus is "no, they should not". – John Saunders Mar 26 '15 at 16:55
  • Just a small question, so, when i downloaded an SDK, i got a DLL (in this situation) so what's the difference between SDK and DLL? – Awesome_girl Mar 26 '15 at 16:59

2 Answers2

2

As per Microsoft's documentation, you'll need Expression Studio. Expression Studio is no longer available for sale as a stand-alone product; however, Expression Encoder 4 is available as a free download and should contain the dll you are looking for.

NextInLine
  • 2,126
  • 14
  • 23
  • thanks. I downloaded Expression Encoder 4 into the bin/debug folder of the project i'm trying to run. Inside the Expression Encoder 4 that i downloaded, there was a 'Encoder_en.exe' I ran it and it prompted me to install Expression Encoder 4. I did. I ran the project again. Same Error. – Awesome_girl Mar 26 '15 at 16:42
  • Did you look in the Program Files folder that Expression Encoder installed into? I'm assuming you'll have to update your Visual Studio project to point to the location of that dll. – NextInLine Mar 26 '15 at 17:26
2

so I had to look at the references section in the same CodeProject link i posted and download and install 'Expression Encoder 4' after that, depending on where that thing installed, the DLL file will be found there. Then just copy that DLL to your project and add to references.

Awesome_girl
  • 484
  • 3
  • 9
  • 30