-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Convert ProjectTemplates to build using ProjectReferences #6935
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To the degree to which I can attest them, the changes look good to me. So long as you can build a working template from .\build.cmd /t:Pack we should be good. (Having the E2E tests run would be good too).
4470d7a
to
cd84202
Compare
The new command you'll need to run is |
I'm going to wait on merging this until after we've stabilized Preview 2. |
Nevermind. Just learned that we have respin the build 2 or 3 more times to consume partner dependency updates. PR checks are all green, so I'm going to merge this. I'll monitor CI to make sure this doesn't break the build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a couple minor items we might want to file followups for depending, but otherwise this looks awesome.
@@ -7,6 +7,5 @@ | |||
</ItemDefinitionGroup> | |||
|
|||
<ItemGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just murder this file now or should we keep it in case we have a temporary need for buildorder building?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we can murder this now, along with a lot of other code. See #6995
@@ -125,6 +127,10 @@ | |||
@(ProjectToBuild); | |||
@(ProjectToExclude);" /> | |||
|
|||
<!-- | |||
Use caution to avoid deep recursion. If the globbing pattern picks up something which exceeds MAX_PATH, | |||
the entire pattern will silently fail to evaluate correctly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any way we can make it fail loudly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MSBuild will fail to expand the glob, which produces an error like "Cannot find project C:\src\aspnet\AspNetCore\src\Something*.csproj" when we try to invoke build and restore targets.
@@ -36,6 +36,5 @@ | |||
</PropertyGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume since TestsRequiredTheSharedRuntime
is still above that we didn't solve that problem in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise should we consider this file for deletion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#4321 is still unresolved. I have one change in the works that addresses part of the problem, but it's a tricky enough challenge that I didn't tackle it completely.
Resolves #4246
Changes:
src/ProjectTemplates/