Hi @PYao
Yes it should be as simple as that I do not see anything specifically compiled for VS2015 so if you were to tweak the registry keys and install paths to point to the right place then the install would mostly work.
The ResetToolboxes bit is probably going to be the most annoying as you would have to reverse engineer that to set the correct key.
Not something I have ever tried or anybody I know of has tried and obviously not a supported install but it should be possible.
Hope that helps
@EttienneS I am trying this now with VS2015 EOL in October.
Changed extension.vsixmanifest to include below allowed it to install for VS2019.
<InstallationTarget Id="Microsoft.VisualStudio.Professional" Version="i16.0,17.0)" />
I didn’t touch the ResetToolboxes, issues encountered seem to be before that.
- On start of VS2019 gets an error message “The ‘WorkflowPackage’ package did not load correctly. The problem may have been caused by a configuration change or by the installation of another extension. (more info in activityLog.xml)
<source>VisualStudio</source>
<description>LegacySitePackage failed for package WorkflowPackage] Source: 'mscorlib' Description: Version string portion was too short or too long. SourceCode.VisualStudio.K2ProjectFactory..ctor(WorkflowPackage package) at SourceCode.VisualStudio.WorkflowPackage.Initialize() at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)
<guid>{AB85DF7A-EE9A-42CB-877E-E96781A6E60E}</guid>
<hr>80070057 - E_INVALIDARG</hr>
SetSite failed for package >WorkflowPackage]
SourceCode.VisualStudio.pkgdef
"ProductVersion"="1.0"
Changed to
"ProductVersion"="1.0.0.0"
If I disable SourceCode.VisualStudio extension then I don’t get the above error when I start VS2019. VS2019 has Wndows Workflow Foundation component installed.
After the message it does start VS2019 and I see extension SourceCode.VisualStudio installed, indicating it’s using deprecated API (OK, it’s a warning).
I have also enabled Tools/Options/Extensions - Allow synchronous autoload of extensions (used for K2 extension but not recommended for VS2019).
When I load the project that contains K2 4.7 ,kprx, VS project says (incompatible).
The above test did not run below, another dev is assisting with converting those to VS2019.
SourceCode.SmartObjects.VisualStudio(2015).reg
SourceCode.VisualStudio(2015).reg
SourceCode.Workflow.VisualStudio (2015).reg