Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add property that can disable the private MSBuild task invocation #667

Merged
merged 2 commits into from
Oct 9, 2021

Conversation

AArnott
Copy link
Collaborator

@AArnott AArnott commented Oct 7, 2021

This allows Nerdbank.GitVersioning to (once again) work under quickbuild, and does so by default, although without any version caching.

@AArnott AArnott added this to the v3.5 milestone Oct 7, 2021
@KalleOlaviNiemitalo
Copy link

Does "quickbuild" mean https://wiki.pmease.com/display/QB11?

(I also found dollhouse kits with that name.)

@AArnott
Copy link
Collaborator Author

AArnott commented Oct 8, 2021

@KalleOlaviNiemitalo No. This quickbuild is an internal microsoft tool.

@AArnott AArnott force-pushed the quickbuild2 branch 3 times, most recently from 5d1a84c to c599a72 Compare October 9, 2021 01:39
@AArnott AArnott marked this pull request as draft October 9, 2021 01:41
This allows Nerdbank.GitVersioning to (once again) work under quickbuild.
Quickbuild requires that every P2P be to a git-controlled project. This makes it incompatible with NB.GV's running the MSBuild task to one of its own .targets files.
To workaround this, a quickbuild user will have to define their own project that does nothing but compute the version using NB.GV, and then set `NBGV_CachingProjectReference` to the full path to this custom project.

Note that no actual *caching* occurs at this stage when under quickbuild because quickbuild uses a new top-level msbuild call for every project. We'll need to combine this with caching version info to a file on disk for this to be a perf improvement in quickbuild.
@AArnott AArnott marked this pull request as ready for review October 9, 2021 02:40
@AArnott AArnott enabled auto-merge October 9, 2021 02:41
@AArnott AArnott merged commit a1d636e into master Oct 9, 2021
@AArnott AArnott deleted the quickbuild2 branch October 9, 2021 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants