-
Notifications
You must be signed in to change notification settings - Fork 60
[Regression] EditorConfig templates are missing their display name #167
Comments
Same for VB: |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@davkean @tmeschter So who does this bug get assigned to then? |
Who owns this? |
I was hoping you knew. This is a repo I didn't really know existed. :-) |
Project system owns this. |
@jmarolf Any idea what might be wrong here? |
dunno, I haven't changed anything in setup for over a year. For item templates to show up in the default items category and work, they need to be copied to the So the name for the item template should either be coming from this vsdir or this template file. Can we confirm that this package from here is being installed/deployed? I expect this resource string to load: Line 127 in 4aaa045
|
Can other folks repro this? |
@davkean I can, I'll take a look on monday. There must be something I am not seeing that has changed |
I can repro this too, so absolutely a bug. |
This bug is caused by this setting not being respected during compilation: What is in the file: Line 10 in e785ec0
What gets installed:
|
I assume that this is because this target does not exist in arcade? Lines 57 to 61 in e785ec0
@tmat what is the correct way to include a |
The PkgdefOutputGroup is only needed if you're doing generation automatically; if you're manually specifying it then you can just directly state it your .vsixmanifest. If you're seenig it switch from Codebase to Assembly, that leads me to believe that either:
|
@jasonmalinowski Is there any reason for this behavior to have changed if this code's not been changed in a while? With regard to your comments:
From what I'm seeing if I try specifying UseCodebase I get the following error:
Is there any way to validate if we're using generation? |
This is likely an arcade change. We generate a I assume this is not supported in arcade |
So things being loaded by a CodeBase causes issues with ngen images; Roslyn for example doesn't have a Codebase entry in our Packages key, it does point to the assembly name. Then there's also an attribute that says when loading our assembly where to find it. That explains Arcade's message: if you're ngenning, you need to use the Assembly one and have the additional entry.
What do you mean? Your pkgdef is just defining a generic package, there's nothing special about it. I'm not sure why you wouldn't be generating it... |
Looking at this, its likely this was always wrong and it was only happenstance that the correct pkgdef was selected. @jasonmalinowski what is the right attribute / assets specification to get this to be generated? Lines 6 to 11 in d62058c
|
You've already got this: Lines 9 to 11 in d62058c
Which will spit the package node like that; you'll want to remove the InstalledProductRegistration though or else you'll have a useless entry in Help > About. If you really want a CodeBase attribute though you'll then need to set UseCodebase = true, and then turn off ngen because Arcade is otherwise going to complain. If the package is indeed only providing resources, then I can't imagine ngen is actually going to help anything... |
We resolved this, and ended up taking that approach while deleting the "hand-coded" pkgdef. I also saw the InstalledProductRegistation and made exactly the same comment. :) |
Fixed in #167 |
Version Used:
Version 16.3.0 Preview 3.0 [29221.207.master]
Steps to Reproduce:
Expected Behavior:
![image](https://user-images.githubusercontent.com/1103906/63518698-f0c62700-c534-11e9-8faa-5b39c265306d.png)
Actual Behavior:
16.2:
![image](https://user-images.githubusercontent.com/1103906/63518757-10f5e600-c535-11e9-88bf-89cf5a627927.png)
The text was updated successfully, but these errors were encountered: