FastKoala icon indicating copy to clipboard operation
FastKoala copied to clipboard

"Add missing transforms" not adding generated file to project

Open stimpy77 opened this issue 9 years ago • 0 comments

Had a case where "Enable config transforms" was applied to a TFS 2015 (local workspace) enabled Windows Forms (not ClickOnce) project in a moderately large solution. One config name ("Local") was missing from the project, so I added it, but when right-clicking the App.config file and choosing "Add missing transforms", the App.local.config was created, but it wasn't added to the project. I tried deleting the created file and moving the project to the root of the solution explorer tree (which fixes a lot of FK things) but retrying "Add missing transforms" still resulted in the file being created but not added to the project. And, adding the file from "Show All Files" and right-clicking to "Include in project" results in the file not nesting under App.config, but that is by design. The only workaround is to edit the .csproj and duplicate the XML entries from where App.Debug.config is dependent upon App.config.

stimpy77 avatar Jun 15 '16 20:06 stimpy77