Avatar of Wayne Barron
Wayne Barron
Flag for United States of America

asked on 

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

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

Open in new window


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

Any idea's on this would be great.
Carrzkiss
Visual Basic.NETC#Microsoft Visual StudioMicrosoft IIS Web Server

Avatar of undefined
Last Comment
Wayne Barron

8/22/2022 - Mon