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,510 points
84 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

+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,100 points
629 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,280 points

edited Oct 12, 2018 by Kalgi 259 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,280 points
80 views
0 votes
1 answer

unable to build .Net project using NUGet

you just need the developer pack for ...READ MORE

answered Apr 3, 2018 in DevOps & Agile by ajs3033
• 7,280 points
136 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
124 views
0 votes
1 answer
+5 votes
2 answers

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 26, 2018 in DevOps & Agile by Atul
• 10,240 points
206 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
23 views