Bug 21028 – Cannot create new D project on user account

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2020-07-08T10:34:27Z
Last change time
2020-07-19T15:00:23Z
Assigned to
No Owner
Creator
IGotD-

Comments

Comment #0 by qalr45xa — 2020-07-08T10:34:27Z
Unable to create a new D project when selecting a new project in VS2019. D project cannot be selected at all and never shows for local windows account with only user rights. How to recreate. 1. Install VS2019 on the computer, will automatically ask for an account admin (administrator) rights if you are running a user account. 2. Install VisualD, will automatically ask for admin rights 3. Start VS019, the "welcome screen" is shown. Select "create a new project" and the new project window is shown. In the pull down menu with first entry "All languages", try to choose D but D is never shown. If you start VS2019 in an account with admin rights, then you can select D as language when creating a new project.
Comment #1 by qalr45xa — 2020-07-08T11:11:42Z
Problem seen with version VisualD 1.0.0.
Comment #2 by r.sagitario — 2020-07-08T20:23:43Z
I can reproduce. For some reason, the installed manifest file (usually in "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Extensions\Rainer Schuetze\VisualD\1.0\extension.vsixmanifest") has bad access rights and is not readable for standard users. If this is corrected, creating projects works.
Comment #3 by qalr45xa — 2020-07-09T10:39:13Z
The access rights of the extension.vsixmanifest was wrong, that users couldn't read it. Changing extension.vsixmanifest to allow read access for users doesn't change that you are unable to create new D projects. There must be something more that stops VS2019 from realize that you can have D projects. VisualD extension shows up in the Extension menu when starting up without a project at least.
Comment #4 by r.sagitario — 2020-07-09T17:27:24Z
You have to force a rescan of the extensions aswell. This can be done manually by touching the file "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Extensions\extensions.configurationchanged" and restarting Visual Studio.
Comment #5 by qalr45xa — 2020-07-09T18:24:10Z
Touching the file extensions.configurationchanged finally made the D projects appear, thank you.
Comment #6 by r.sagitario — 2020-07-19T15:00:23Z