-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add control library templates #1005
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
Conversation
@cartermp do we want to add new templates for WPF for 3.0 at this point? Who was the team member from XAML that asked for this? |
Yes. Control library templates are essential to getting to experience parity with desktop WPF. @vatsan-madhavan this work is critical to landing the full WPF experience, as there are customers who will need access to this library type for .NET Core. |
Or rather, people aren't technically blocked because they could:
But this is not the norm for WPF users and certainly wouldn't be the expected experience. |
@cartermp can you port dotnet/project-system#4715 to this repo as per their guidelines? |
I don't have permissions to move the issue. Is copy/paste sufficient? |
@cartemp, copy/paste should be good, thank you! Do these templates have the same expectation of user experience when opened in VS/Blend that is being discussed in #1007? |
Moved the bug over here: #1036 This is about having the WPF experience being at parity between .NET Framework and .NET Core |
Were you able to validate that the resultant nuget packages for project tempaltes - both in its structure, and functionally within VS & Blend? |
Are these xcopy'd from .NET framework templates? |
....Dotnet.Wpf.ProjectTemplates/content/WpfControlLibrary-CSharp/.template.config/template.json
Outdated
Show resolved
Hide resolved
....Dotnet.Wpf.ProjectTemplates/content/WpfControlLibrary-CSharp/.template.config/template.json
Outdated
Show resolved
Hide resolved
Consider naming the paths |
Removing NO MERGE since #1100 is completed and master has switched to Preview 8. This PR can continue on with usual due-diligence. |
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.
If this is something the VS team would like to target for Preview8, we'd like to take this earlier rather than later in the milestone. Working through the changes in the next 1-2 weeks would be ideal.
We definitely want this for Preview 8. Is there anything we can do to help? |
c61a848
to
c3c2767
Compare
@vatsan-madhavan ready for review |
After installing the generated project template package ( Note that WPF user control is missing VB.
When I try to create a control library, it doesn't work. Custom controls get created ok.
Comparing the files for the custom control template with those of .NET Framework (generated by Visual Studio Project->New), I see a few files missing. ==
|
c3c2767
to
cd10804
Compare
7cc51f8
to
8239fe3
Compare
UserControl - C#:
|
Looks good to me - thanks @jmarolf! We have couple of outstanding things to puzzle out.
The rest looks good to me. Marking for auto_merge as soon as the build completes successfully! /cc @diverdan92, @chabiss |
Hello @vatsan-madhavan! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
fixes dotnet/project-system#4715