Skip to content

Optimize NuGet package dependencies.#650

Merged
KirillOsenkov merged 5 commits intoKirillOsenkov:mainfrom
teo-tsirpanis:msbuild-tasks
Jan 28, 2023
Merged

Optimize NuGet package dependencies.#650
KirillOsenkov merged 5 commits intoKirillOsenkov:mainfrom
teo-tsirpanis:msbuild-tasks

Conversation

@teo-tsirpanis
Copy link
Copy Markdown
Contributor

@teo-tsirpanis teo-tsirpanis commented Jan 27, 2023

Fixes #649.

@KirillOsenkov
Copy link
Copy Markdown
Owner

Hmm, wait, I'm getting a build failure:

image

The viewer project (StructuredLogViewer.csproj) does depend on Microsoft.Build.Tasks.Core.dll because it ships it with the app:

<file src="Microsoft.Build.Tasks.Core.dll" target="lib\net472" />

I think we'll need to add the Tasks.Core PackageReference to StructuredLogViewer.csproj

Copy link
Copy Markdown
Owner

@KirillOsenkov KirillOsenkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to add a PackageReference to Tasks to StructuredLogViewer.csproj so that the build succeeds

@teo-tsirpanis teo-tsirpanis changed the title Remove unused dependency to Microsoft.Build.Tasks.Core. Optimize NuGet package dependencies. Jan 28, 2023
@teo-tsirpanis
Copy link
Copy Markdown
Contributor Author

CI is green now.

Copy link
Copy Markdown
Owner

@KirillOsenkov KirillOsenkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@KirillOsenkov KirillOsenkov merged commit 11c55ec into KirillOsenkov:main Jan 28, 2023
@teo-tsirpanis teo-tsirpanis deleted the msbuild-tasks branch January 28, 2023 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider removing the Microsoft.Build package dependency, and the TargetGraph class.

2 participants