Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

Including C# projects in the Azure hosted build pipeline

Posted on by 95

Hi

For a new project we have setup the 'new' Azure hosted build pipeline, but I'm facing a small issue.

In one of the VS projects there is a reference to a C# project, the C# project is in DevOps.

The directory structure of devops is pretty simple

$<projecst_name/Trunk/Main/

--- Metadata

--- Projects

The $/project_name/Trunk/Main is then mapped to $(build.sourcesDirectory)/Metadata and $(build.sourcesDirectory)/Projects

(Pretty standard I think?)

But when the pipeline is executed, the build fails as it cannot find reference to the C# objects even if the project does not have reference to the c# objects

Example:

There is 3 project Project_a, Project_b and Project_c

Project_a does not have reference to the C#
Project_b has reference and include the C# project
Project_c does not have reference to the C# objects

the pipeline runs build Project_a and fails

Anyone seen something like this before ?

Thanks

  • steen.rabol Profile Picture
    steen.rabol 95 on at
    RE: Including C# projects in the Azure hosted build pipeline

    This helped me: community.dynamics.com/.../adding-a-customer-or-3rd-party-c-library-to-azure-devops-for-the-build-process

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans