This project has moved. For the latest updates, please go here.

VS2015 Support

Jul 22, 2015 at 9:43 AM
Can you add vs2015 support?
Jul 29, 2015 at 9:21 AM
The standard trick for installation works:
  1. rename .vsix to .zip
  2. Extract to folder
  3. Edit .manifest file : add VS version 14 (IE vs2015)
  4. Add content of folder to zip
    NB: Do not zip the folder, but the contents of the folder, otherwise the manifest does not appear to be at the root.
  5. Rename .zip to vsix
BUT, the plugin does not work anymore in VS2015, when saving my config file, the following error ocurred:
------ CSD file generation started: Configuration document:  ------
* Searching for configuration project handle... found!
[ ERROR ENCOUNTERED! ] Object reference not set to an instance of an object.
   at Microsoft.VisualStudio.TextTemplating.VSHost.OrchestratorOptionsAutomation.ShowSecurityWarningDialog(IServiceProvider serviceProvider)
   at Microsoft.VisualStudio.TextTemplating.VSHost.BaseTemplatedCodeGenerator.ShowWarningDialog()
   at Microsoft.VisualStudio.TextTemplating.VSHost.BaseTemplatedCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)
   at Microsoft.VisualStudio.TextTemplating.VSHost.TemplatedCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)
   at ConfigurationSectionDesigner.CsdFileGenerator.TemplateCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)
   at ConfigurationSectionDesigner.CsdFileGenerator.GenerateAllContent(String fileExtension)
   at ConfigurationSectionDesigner.CsdFileGenerator.GenerateContent(String element)
   at ConfigurationSectionDesigner.VsMultipleFileGenerator`1.Generate(String wszInputFilePath, String bstrInputFileContents, String wszDefaultNamespace, IntPtr[] rgbOutputFileContents, UInt32& pcbOutput, IVsGeneratorProgress pGenerateProgress)
Aug 12, 2015 at 7:01 AM
Any progress on the vs2015 support?
Aug 13, 2015 at 7:45 AM
Would be nice to see this working in 2015
Sep 15, 2015 at 3:53 AM
Edited Sep 15, 2015 at 4:07 AM
I downloaded the code and modified it to support vs2015.
Here is my VSIX
Sep 23, 2015 at 11:02 AM
Ray1984's package works, but only in VS2015, at least for me. See https://csd.codeplex.com/workitem/11011.
Sep 23, 2015 at 12:35 PM
monomorph wrote:
Ray1984's package works, but only in VS2015, at least for me. See https://csd.codeplex.com/workitem/11011.
Well....it seems that I did modify the package based on an older version :(

In fact, the .vsextension file of the original shows that the VSIX only works on the VS version it's compiled for.
If you want to install CSD for both VS2013 & VS2015, you have to install two vsixs, one for 2013, one for 2015.

So.....my patch should only works on VS2015. The reason why it can be installed on VS2013 is that I didn't delete the that configuration in .vsextension file :P
BTW...maybe I should download the HEAD version codes and recompile one :D
Oct 22, 2015 at 2:42 AM
Ray1984 wrote:
BTW...maybe I should download the HEAD version codes and recompile one :D
YES PLEASE! :)

I've tried doing it myself but I don't know enough about extensions to make it work.
Jan 28, 2016 at 3:01 AM
Edited Jan 28, 2016 at 7:02 AM
geoffappleby wrote:
Ray1984 wrote:
BTW...maybe I should download the HEAD version codes and recompile one :D
YES PLEASE! :)

I've tried doing it myself but I don't know enough about extensions to make it work.
Late for this... :(

I've built a new vsix for VS2015 based on HEAD version (2.0.1 r7)
Here is the link. ConfigurationSectionDesigner.DslPackage-VS2015

And I alse uploaded the Source Codes.

Besides, you need to install seperate vsix for different VS versions. (2013 for 2013, 2015 for 2015 etc.)
Coordinator
Sep 13, 2016 at 3:36 PM
I branched the source to support VS 2015. Use the 2015 branch.
Oct 19, 2016 at 3:58 PM
In visual studio 2015 with version 2.0.2 r0, the generated xsd file contains the following text

ErrorGeneratingOutput

The .cs file instead is generated correctly.