Home .NET Core build with dll reference
Reply: 0

.NET Core build with dll reference

user1462 Published in March 18, 2018, 2:01 am

I am trying to get .NET core to work with the build system at my work, which had been designed with Java in mind. But it is sadly so integrated into our pipelines that there is no way we can be without it. So if I want to use .NET at work will it have to be with this build system.

Each project is built into a package, with their own git repository.

Given a program like below where MyConsoleApp has a dependency on MyLibrary.

 - MyConsoleApp
 - MyLibrary

At build time the source code would be placed in


However I can only build one at the time, and I cannot move the source code. Which means that I would need to build MyLibrary first, with the DLL ending up in


When I then build MyConsoleApp, I need a way to tell the .NET Core build tool that the MyLibrary.1.0.dll file can be found at


Storing packages in Nuget is not an option, as the package may not be ready for release at the build time, and the build system works in a sandbox mode, meaning it has no external connections.

I can edit the MyConsoleApp.csproj if that makes it possible.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.301257 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO