Skip to content

Conversation

@michael-hawker
Copy link
Member

Fixes issue introduced in #91

Before it meant that we couldn't work on the Converters component and see results in Sample App as it was pulling in the pre-built NuGet package.

With this change, we can define the property in the root props for the Windows repo (like we do with Extensions) so that it'll use the source project when running from there. Like Extensions does for the Tests.

Related to CommunityToolkit/Windows#117

  • This adds a DependencyVariant property for app heads (like was introduced for test heads) which is used to pickup the proper dependency.
  • It modifies the Uno switch script to swap it as well.
  • Removes the Converters NuGet reference
  • Adds switch for Converters NuGet reference/source

We could theoretically re-use the PackageIdVariant, but probably best to leave them separate as they serve different purposes/ends to different problems.

Once this is merged, we can update the Windows repo with the new property in Directory.build.props:

<ToolkitConvertersSourceProject>$(RepositoryDirectory)\components\Converters\src\CommunityToolkit.WinUI.Converters.csproj</ToolkitConvertersSourceProject>

Before it meant that we couldn't work on the Converters component and see results in Sample App as it was pulling in the pre-built NuGet package
With this change, we can define the property in the root props for the Windows repo (like we do with Extensions) so that it'll use the source project when running from there. Like Extensions does for the Tests.
@michael-hawker michael-hawker added bug 🐛 Something isn't working dev loop ➰ For issues that impact the core dev-loop of building experiments sample app 🖼 templating labels Jul 14, 2023
@niels9001 niels9001 requested a review from Arlodotexe July 16, 2023 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🐛 Something isn't working dev loop ➰ For issues that impact the core dev-loop of building experiments sample app 🖼 templating

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants