VS项目中新建文件夹,文件夹添加现有项,选择磁盘上的mysql.data.dll, 然后在项目添加引用时,浏览对话框里选择你添加到项目里的那个mysql.data.dll就行了。
[quote=引用 3 楼 gentle_wolf 的回复:] <Reference Include="Microsoft.TeamFoundation.VersionControl.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>.\Microsoft.TeamFoundation.VersionControl.Client.dll</HintPath> </Reference> <Reference Include="Microsoft.TeamFoundation.WorkItemTracking.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>.\Microsoft.TeamFoundation.WorkItemTracking.Client.dll</HintPath> </Reference>
<Reference Include="Microsoft.TeamFoundation.VersionControl.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>.\Microsoft.TeamFoundation.VersionControl.Client.dll</HintPath> </Reference> <Reference Include="Microsoft.TeamFoundation.WorkItemTracking.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>.\Microsoft.TeamFoundation.WorkItemTracking.Client.dll</HintPath> </Reference>
当然能用相对路径,只要在一个盘上就用相对路径。盘符不同只能用绝对路径了。
17,740
社区成员
24,334
社区内容
加载中
试试用AI创作助手写篇文章吧