-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Improve project reference consistency #37338
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
Changes from all commits
3d5202a
6acca56
248d2ab
6c4bdcf
0197a05
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,9 +28,8 @@ | |
<!-- We include this here to ensure that the shared framework is built before we leverage it when running | ||
the dev server. --> | ||
<ItemGroup> | ||
<ProjectReference | ||
Include="$(RepoRoot)src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj" | ||
PrivateAssets="All" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
<ProjectReference Include="$(RepoRoot)src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's a nit but I'm tempted to make Microsoft.AspNetCore.App.Ref and Microsoft.AspNetCore.App.Runtime project reference providers and add errors when they're |
||
Private="false" | ||
ReferenceOutputAssembly="false" | ||
SkipGetTargetFrameworkProperties="true" /> | ||
</ItemGroup> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,12 @@ | |
<Reference Include="Microsoft.Extensions.Logging" /> | ||
<Reference Include="Microsoft.JSInterop.WebAssembly" /> | ||
|
||
<ProjectReference Include="..\..\..\Web.JS\Microsoft.AspNetCore.Components.Web.JS.npmproj" ReferenceOutputAssemblies="false" SkipGetTargetFrameworkProperties="true" UndefineProperties="TargetFramework" Private="false" Condition="'$(BuildNodeJS)' != 'false' and '$(BuildingInsideVisualStudio)' != 'true'" /> | ||
<ProjectReference Include="..\..\..\Web.JS\Microsoft.AspNetCore.Components.Web.JS.npmproj" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similarly, could make the |
||
Condition="'$(BuildNodeJS)' != 'false' and '$(BuildingInsideVisualStudio)' != 'true'" | ||
Private="false" | ||
ReferenceOutputAssembly="false" | ||
SkipGetTargetFrameworkProperties="true" | ||
UndefineProperties="TargetFramework" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,11 +19,10 @@ | |
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Reference | ||
Include="Microsoft.AspNetCore.Mvc.Testing.Tasks" | ||
ReferenceOutputAssembly="false" | ||
SkipGetTargetFrameworkProperties="true" | ||
UndefineProperties="TargetFramework;TargetFrameworks;RuntimeIdentifier;PublishDir" /> | ||
<Reference Include="Microsoft.AspNetCore.Mvc.Testing.Tasks" | ||
Private="false" | ||
ReferenceOutputAssembly="false" | ||
SkipGetTargetFrameworkProperties="true" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. TFM here is |
||
</ItemGroup> | ||
|
||
<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.
At least we got the spelling right, even if the metadata was ignored 😁