Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Refactor Win32 tools for use in native projects#138

Merged
michael-hawker merged 5 commits intomasterfrom
NewNuGetToolPackage
Aug 7, 2019
Merged

Refactor Win32 tools for use in native projects#138
michael-hawker merged 5 commits intomasterfrom
NewNuGetToolPackage

Conversation

@ocalvo
Copy link
Contributor

@ocalvo ocalvo commented Jun 27, 2019

Issue: #

PR Type

What kind of change does this PR introduce?

  • Feature

What is the current behavior?

Currently the tools use it to generate manifests and perform layout for Win32 apps using XamlIslands is shipping in a manage only package.
This make it impossible for native projects (e.g.: Windows Terminal) to use.

What is the new behavior?

We created a separate NuGet package and make XamlHost reference the "tools" package.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested code with current supported SDKs
  • Pull Request has been submitted to the documentation repository instructions. Link:
  • Sample in sample app has been added / updated (for bug fixes / features)
  • Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Header has been added to all new source files (run build/UpdateHeaders.bat)
  • Contains NO breaking changes

Other information

@ocalvo ocalvo requested a review from azchohfi June 27, 2019 23:08
@ocalvo ocalvo self-assigned this Jul 9, 2019
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<TargetFrameworks>net462;netcoreapp3.0</TargetFrameworks>
<RootNamespace>Microsoft.Toolkit.Win32.SDK.Tasks</RootNamespace>
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not used, but it should match the PackageId or the Assembly name.

Copy link
Member

@michael-hawker michael-hawker left a comment

Choose a reason for hiding this comment

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

Tested swapping out packages for Miguel's sample, worked fine still.

@michael-hawker michael-hawker merged commit 7b5326b into master Aug 7, 2019
@delete-merged-branch delete-merged-branch bot deleted the NewNuGetToolPackage branch August 7, 2019 22:05
@michael-hawker michael-hawker added this to the 6.0.0 milestone Nov 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants