on 2017 Mar 13 11:23 AM
When installing Visual Studio 2017, the SetupVSPackage of SQLAnywhere does not install the EF6 libraries into Visual Studio. Is there any way this can be implemented so that we can use EF with VS2017?
Thanks!
Request clarification before answering.
From my limited understanding, the SetupVSPackage needs to be built for each new Visual Studio release and since VS 2017 just released this month, it may be a little while before that happens on the supported branches.
Since SQL Anywhere 12 went past development support last December, if you absolutely must need to use Visual Studion 2017 for project work you will need to go to SQL Anywhere versions 16 or 17 when that support becomes available for those releases.
[Caveat this thread only applies to support for EF6 on VS2017 and should not be read as implying an announcement of or suggesting support for the newer EF-Core which remains to be undetermined at this time.]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'll take a look at this. We will have to add VS integration for this new version.
Microsoft has radically changed the way things are set up with VS 2017. The registry structure is quite different (or gone entirely) so this will take some time.
Prepare the comparison files "12.0.without.reg" and "12.0.wth.reg" (12.0 is for Visual Studio 2013, correct for your version of VS).
Prepare a snapshot of the registry without an installed SA provider.
Cd C:\\Program Files\\SQL Anywhere 17\\Assembly\\V4
SetupVSPackage.exe /u
Export the HKEY LOCAL MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\12.0 branch to the file "12.0.without.reg"
Preparing the snapshot of the registry after connecting the SA provider.
SetupVSPackage.exe / i / v EF6
Export the HKEY LOCAL MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\12.0 branch to the file "12.0.with.reg"
Run WinDiff.exe(or another file comparison utility) and compare files.
Save the difference to any file ("2017.05.16.reg", for instance).
Change the prefix HKEY LOCAL MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\12.0 to
HKEY USERS\\VS2017PrivateRegistry\\Software\\Microsoft\\VisualStudio\\15.0 e014b343 Config inside this file.
Connect a hive.
Select the HKEY_USERS node in Regedit.
Connect hive from C:\\Users\\User\\AppData\\Local\\Microsoft\\VisualStudio\\15.0_e014b343\\privateregistry.bin. (value of literal "e014b343" may be different)
Assign an name to hive (VS2017PrivateRegistry, for instance).
Add "2017.05.15.reg" to the registry (just click on the file).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
9 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.