Refer assemblies from artifactory in NET

0 votes

I have been trying to make a .Net project work with Artifactory. For now I have uploaded the reference assemblies(.dll) files to artifactory using Jenkins. Now to build my solution, I want to refer those uploaded reference assemblies(artifacts) from artifactory, rather than referring them from the local path. I tried using the MSBuild artifactory plugin, but it has a partial support for Jenkins.

Can anyone help me with this?

Thanks.

Jul 31, 2018 in DevOps & Agile by Damon Salvatore
• 5,980 points
1,406 views

1 answer to this question.

0 votes

Here is a concept which you can apply,

Try to reference dll directly from Artifactory. To use them as dependencies in your project you have two options :

  1. Download them locally before your build (you can setup a prebuild step for that)
  2. Create a nuget package containing these dlls, to upload this nuget package to Artifactory (this is where the MsBuild Artifactory plugin can help you) and use it as a nuget dependency within your project where the nuget feed used by Visual Studio will be configured to reach Artifactory nuget repository.
I hope that the above information would be helpful for you.
answered Jul 31, 2018 by Atul
• 10,240 points

Related Questions In DevOps & Agile

0 votes
1 answer
+1 vote
2 answers

is it possible to assign a Feature/User Story/Task to a team [Group] in VSTS

In most cases, we would break Work ...READ MORE

answered Oct 11, 2018 in DevOps & Agile by lina
• 8,220 points
5,454 views
+5 votes
3 answers

Steps to Call Python method in BuildBot

To run python code, you must write ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by ajs3033
• 7,300 points

edited Oct 12, 2018 by Kalgi 1,782 views
+3 votes
1 answer

Unable to find the TargetArguments path While configuring dot cover in VSTS

For your unable to find the TargetArguments ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by ajs3033
• 7,300 points
1,253 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,064 views
+2 votes
1 answer
+5 votes
1 answer

How to program and get the Digital Ocean ID of the current Droplet from within the Droplet?

You can run curl http://169.254.169.254/metadata/v1/id within the ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by Atul
• 10,240 points
3,545 views
0 votes
1 answer

Is it possible to preserve local ivy repository in Bluemix BUILD & DEPLOY?

You're right--the pipeline spins up a new ...READ MORE

answered Jul 19, 2018 in DevOps & Agile by Atul
• 10,240 points
571 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP