简体   繁体   中英

Visual Studio - How to add non nuger library so that it can work with source control (tfs) and not reference local file?

I'm working on a Xamarin project in Visual Studio. For this project I want to use a certain library. However there doesn't seem to Nuget package for this library. When I download the library I can add its .dll to the project but I'm afraid this won't work correctly with source control, since the reference will refer to a local file on my computer. Is there a way to add this .dll to the project in a way that will work correctly with source control?

The specific library:

https://components.xamarin.com/gettingstarted/azure-messaging/

EDIT: The correct way to do this was using the Xamarin components store available in Visual Studio. It allows for adding references to libraries from compontents.xamarin.com to the project similar to Nuget.

您可以将dll(文件,可能在子文件夹“ dll”中)添加到项目中,然后从那里引用它。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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