troubleshooting Question

TagLib MP3 tag Reader get this error: Type 'TagLib.File' is not defined. (On website, outside of VS)

Avatar of Wayne Barron
Wayne BarronFlag for United States of America asked on
Microsoft IIS Web ServerC#Visual Basic.NETMicrosoft Visual Studio
6 Comments1 Solution799 ViewsLast Modified:
Hello all;

I am using TagLib from here: http://download.banshee.fm/taglib-sharp/ (https://github.com/mono/taglib-sharp)
I have it working within VS.
However, I am designing a website with it, and I need it to run on the website.

When I created the project within VS, and Referenced the .dll files
It put the dll files inside of:
BIN
  taglib-sharp.dll
  taglib-sharp.dll.refresh

The Bin folder is also located on the website.

I added all these and they are all grayed out.
Tells me they are not necessary

Imports TagLib
Imports TagLib.IFD
Imports TagLib.IFD.Tags
Imports TagLib.Xmp

I also registered the .dll file with Windows, using the following command.

%windir%\microsoft.net\framework\v2.0.50727\regasm G:\InetPub\wwwroot\Media\WebSite1\Bin\taglib-sharp.dll /codebase

And I still get the error.
Type 'TagLib.File' is not defined.

Any idea's on this would be great.
Carrzkiss
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros