dotnet / dotnet/msbuild

Is it possible to allow remote projectreference from git repo?

Open
#6,132 26 comments 14 reactions 0 assignees View on GitHub
Feature Request needs-design triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

In addition to building project and publish into package, sometimes it was more convenient to let the project reference another project directly and compile it along with the main project

But current method of projectreference require project to present in machine and reference it only locally. Which is inconvenient and require setup on each machine

So I think msbuild should allow referencing git repo in csproj. Internally you could pull git project into temp folder and do the same process as projectreference. But it should be standardize and allow us to build project with CI/CD by projectreference

```xml



Commit="3d9b5e6eccb0a66d34172f07ceeb8b7f4d82aaec"
/>

```

Is it possible?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.