简体   繁体   English

将taglib-sharp项目解决方案添加到我当前的vb.net解决方案时遇到困难

[英]Having difficulties adding taglib-sharp project solution to my current vb.net solution

Hey everyone, I'm currently having difficulty adding the latest taglib-sharp solution to my current solution which contains my vb.net console project on Visual Studios 2010. Essentially I want to code everything necessary in vb and use taglib-sharp to extract all tags needed from an mp3 file. 嘿大家,我目前很难将最新的taglib-sharp解决方案添加到我当前的解决方案中,该解决方案包含我在Visual Studios 2010上的vb.net控制台项目。基本上我想编写vb中所需的所有内容并使用taglib-sharp提取所有内容一个mp3文件需要的标签。 Unfortunately, when I include the solution of taglib-sharp and perform the necessary conversion visual studios 2008 to 2010, I receive an error stating "Failed to backup file as C:\\temp\\taglib-sharp-2.0.3.7-windows\\taglib-sharp-2.0.3.7-windows\\Backup1\\taglib-sharp.snk". 不幸的是,当我包含taglib-sharp的解决方案并执行必要的转换视觉工作室2008到2010时,我收到一条错误,指出“无法将文件备份为C:\\ temp \\ taglib-sharp-2.0.3.7-windows \\ taglib-锐2.0.3.7-WINDOWS \\备份服务器1 \\标签库,sharp.snk”。 I made an attempt to build the solution with no luck. 我试图建立解决方案,没有运气。 How do I resolve this? 我该如何解决这个问题?

To be quite frank I'm not sure if I need to open the solution if I just want to use the libraries for my vb program. 坦率地说,如果我只想将库用于我的vb程序,我不确定是否需要打开解决方案。 Do I need the solution in order to use for instance "TagLib.File"? 我是否需要解决方案才能使用“TagLib.File”?

In case you're wondering, I downloaded this library from http://download.banshee.fm/taglib-sharp/2.0.3.7/ 如果你想知道,我从http://download.banshee.fm/taglib-sharp/2.0.3.7/下载了这个库。

I would recommend installing taglib-sharp with NuGet. 我建议用NuGet安装taglib-sharp。 NuGet is the best and easiest way to use opensource libraries in Visual Studio. NuGet是在Visual Studio中使用开源库的最佳和最简单的方法。 You dont have to compile anything, and you don't need to think about projects and solutionfiles. 您不必编译任何东西,也不需要考虑项目和解决方案文件。

To install TagLib#, run the following command in the Package Manager Console in Visual Studio. 要安装TagLib#,请在Visual Studio的程序包管理器控制台中运行以下命令。

PM> Install-Package taglib

The NuGet distribution of taglib-sharp can be found at http://nuget.org/packages/taglib . 可以在http://nuget.org/packages/taglib上找到taglib-sharp的NuGet分布。 The official source code repository is at https://github.com/mono/taglib-sharp . 官方源代码存储库位于https://github.com/mono/taglib-sharp

要么忽略备份,要么在2008年打开TagLibSharp,编译DLL然后在2010项目中引用它,如果您只需要使用这些库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM