Closed thewhiterabbit closed 2 years ago
Thanks for the post. This project is not on nuget since I would otherwise require quite a bit maintaining and I have limited time at hand.
I keep changing the API for a lot of classes regularly as I keep adding features to use with my other projects. So if you are planning to use it then you may have to keep updating your code too when some class or methods change in future.
Edit: You can't just click add resource and browse to the DLL because it's in a completely different project?
You have to do exactly that. Just compile the library project in Release mode and you will find all DLL files into the "bin" folder inside the repo folder. Now, in your project, just right click on the project dependencies on solution explorer and click Add Project Reference to open a new dialog. You will find a Browse button in there where you can browse the compiled DLL files to directly add as a reference in your project and its done.
it is not a good idea to reference dependencies
dose we use nuget or git submodule?
dose we use nuget or git submodule?
Its not possible for me to maintain nuget library since the library keeps changing frequently. Git submodules is not an option since I don't want to keep the library inside of the project repo. The library is being used by multiple different projects.
Its not possible for me to maintain nuget library since the library keeps changing frequently. Git submodules is not an option since I don't want to keep the library inside of the project repo. The library is being used by multiple different projects.
nuget: you can use github actions,add some simple shell script to build nuget package automaticly ,and import nuget like <PackageReference Include="TechnitiumLibrary" Version="1.0.*" />
it will import newest automaticly
git submodule: just add a submodule,it dosn‘’t keep the lib inside of the project repo, and it also support mutiple different project repos
Its not possible for me to maintain nuget library since the library keeps changing frequently. Git submodules is not an option since I don't want to keep the library inside of the project repo. The library is being used by multiple different projects.
* **nuget**: you can use [github actions](https://github.com/TechnitiumSoftware/TechnitiumLibrary/actions),add some simple shell script to build nuget package automaticly ,and import nuget like `<PackageReference Include="TechnitiumLibrary" Version="1.0.*" />` it will import newest automaticly * **git submodule**: just add a submodule,it dosn‘’t keep the lib inside of the project repo, and it also support mutiple different project repos
Thanks for the hints. Will try a few options later.
How do I use this library?
It's not on nuget.
I'm not familiar enough with .NET to install packages that aren't from nuget.
Can you please add instructions how to set this up in a development environment?
Thank you.
Edit: You can't just click add resource and browse to the DLL because it's in a completely different project?
Please tell me step by step how to add this library as a resource to the project that requires it.