Skip to content

Conversation

dougbu
Copy link
Contributor

@dougbu dougbu commented Jul 8, 2020

  • 5.3.0 -> 5.6.0
  • should improve performance and may improve reliability

- 5.3.0 -> 5.6.0
- should improve performance and may improve reliability
@dougbu dougbu requested review from rrelyea and a team July 8, 2020 22:08
@ghost ghost added the feature-installers Includes: Installers label Jul 8, 2020
@wtgodbe
Copy link
Member

wtgodbe commented Jul 8, 2020

What about other references to nuget in the repo? There's at least one other:

<PackageReference Include="NuGet.Build.Tasks" Version="5.3.0" />

@@ -25,9 +25,8 @@ if (-not (Test-Path $NuGetDir)) {
}

if (-not (Test-Path $NuGetExe)) {
# Using 5.3.0 to workaround https://github.com/NuGet/Home/issues/5016
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rrelyea this bug doesn't appear relevant anymore, especially because we aren't using the more-performant 3.5.0 version. If that's correct, I'm wondering if is dotnet pack able to handle https://github.com/dotnet/aspnetcore/blob/master/src/Installers/Windows/SharedFramework/SharedFrameworkPackage.nuspec and https://github.com/dotnet/aspnetcore/blob/master/src/Installers/Windows/TargetingPack/TargetingPackPackage.nuspec as well as the properties we pass in below yet ❔ I don't see *.nuspecsupport in the help dotnet pack -? spits out but hope it's just undocumented 😄 or will be coming soon.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Chatted offline w/ @rrelyea and it's likely we could create the two installer packages using a new *.csproj that runs after our *.wixproj.

Will file a separate issue about this work. It's a larger change and not something I'm going to tackle now. But, it would remove our need for NuGet.exe anywhere in this repo (outside a couple of Arcade post-build stages).

@dougbu
Copy link
Contributor Author

dougbu commented Jul 8, 2020

What about other references to nuget in the repo? There's at least one other:

<PackageReference Include="NuGet.Build.Tasks" Version="5.3.0" />

@rrelyea would changing that one negatively impact loading our tasks into dotnet msbuild or msbuild❔ If not, I'll add another commit…

@dougbu
Copy link
Contributor Author

dougbu commented Jul 8, 2020

And @rrelyea if I shouldn't be asking you NuGet questions anymore please add the right contact.

@rrelyea
Copy link

rrelyea commented Jul 8, 2020

it might be easier to have a quick teams call to chat through these several questions. call me sometime?

@dougbu
Copy link
Contributor Author

dougbu commented Jul 8, 2020

Sounds good @rrelyea

@dougbu
Copy link
Contributor Author

dougbu commented Jul 9, 2020

@rrelyea and I also discussed updating

<PackageReference Include="NuGet.Build.Tasks" Version="5.3.0" />
There should be no downside to moving to 5.6.0. @rrelyea also pointed out we don't need all of NuGet.Build.Tasks and could move to getting just NuGet.Packaging. Overall, that transitively brings in 5 packages instead of the current 12. I confirmed this looking at RepoTasks.dll and am going to try this narrowing out in the next iteration.

- move to 5.6.0 version here too
- reduce transitive dependencies; we don't need them all
@dougbu
Copy link
Contributor Author

dougbu commented Jul 9, 2020

/ping @dotnet/aspnet-build this is building successfully and just needs a review 😺

@dougbu dougbu merged commit 59433bc into master Jul 10, 2020
@dougbu dougbu deleted the dougbu/latest.nuget branch July 10, 2020 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-installers Includes: Installers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants