4 Replies - 1626 Views - Last Post: 11 July 2019 - 11:19 AM

#1 astonecipher   User is offline

  • Senior Systems Engineer
  • member icon

Reputation: 2996
  • View blog
  • Posts: 11,539
  • Joined: 03-December 12

Build definition for just a DLL project?

Posted 18 March 2019 - 10:47 AM

This is a VSTS question, but figured this was the most appropriate spot.



I created a new project for a CLR app and the project type is a Class Library. How can I set the build definition up without a solution file, when it should just build the DLL?
Is This A Good Question/Topic? 0
  • +

Replies To: Build definition for just a DLL project?

#2 modi123_1   User is offline

  • Suitor #2
  • member icon



Reputation: 15356
  • View blog
  • Posts: 61,566
  • Joined: 12-June 08

Re: Build definition for just a DLL project?

Posted 18 March 2019 - 10:58 AM

Whatcha mean 'without a solution file'? Class library should spit out a .DLL in the bin.
Was This Post Helpful? 0
  • +
  • -

#3 astonecipher   User is offline

  • Senior Systems Engineer
  • member icon

Reputation: 2996
  • View blog
  • Posts: 11,539
  • Joined: 03-December 12

Re: Build definition for just a DLL project?

Posted 19 March 2019 - 05:11 AM

I guess they are wanting the solution file in the repo, but it isn't there. When I created the new project and added it to the repo check-in, some files were not included, Oops.
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1   User is offline

  • Suitor #2
  • member icon



Reputation: 15356
  • View blog
  • Posts: 61,566
  • Joined: 12-June 08

Re: Build definition for just a DLL project?

Posted 19 March 2019 - 06:46 AM

Yeah TFS doesn't like uploading .DLLs. Sorta like how github dislikes doing the same with .EXEs.
Was This Post Helpful? 0
  • +
  • -

#5 fearfulsc2   User is offline

  • D.I.C Regular

Reputation: 16
  • View blog
  • Posts: 281
  • Joined: 25-May 16

Re: Build definition for just a DLL project?

Posted 11 July 2019 - 11:19 AM

If I am understanding your question, you want to have a Class Library and create the DLL for it to be used in another project somewhere else.

If you are familiar with using Nuget and have a Nexus Repository or some other type of repository to host your DLL, you can use the nuget.exe to do that or you can use the DotNet cli to also package it. Once it's package up as a nuget package, you can upload to your nexus repo and use your other projects to use that DLL and it'll be included in your VSTS build from the bin folder.

If you do not have a Nexus repo or something similar, you can try pushing up that dll in your source control somewhere in TFS and hope that TFS doesn't yell at you.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1