Visual Studio 2013 support

Oct 17, 2013 at 2:17 PM
Hi,
could you please adapt the project to support Visual Studio 2013?

I already tried, the plugin builds and installs Ok (with the VS2013 SDK) but fails to work in Visual Studio 2013.

Thanks
Nov 14, 2013 at 10:08 AM
What sort of errors did you get when attempting to use it with VS2013?

I would also like this plugin to support VS2013.
Nov 15, 2013 at 9:12 PM
Edited Nov 15, 2013 at 9:28 PM
I used the source code to create a package for vs2013.
and succeeded.
Source code i altered where some of references, ill see if i can upload the code somehow. (not done much on CodePlex yet.
Link to the vsix

Not if it doesnt work right away delete this key HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\FontAndColors\Cache.
and restart vs2013
Coordinator
Nov 15, 2013 at 11:54 PM
I will update NShader soon for VS2013 support.
Nov 16, 2013 at 9:25 PM
silentsouls wrote:
I used the source code to create a package for vs2013.
and succeeded.
Source code i altered where some of references, ill see if i can upload the code somehow. (not done much on CodePlex yet.
Link to the vsix

Not if it doesnt work right away delete this key HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\FontAndColors\Cache.
and restart vs2013
Cool that worked fine for me, any idea how to change the highlighting to make it look better for the dark theme?

Image
Nov 17, 2013 at 12:12 AM
I Made a few changes to how the colors are used now it uses the system colors, (download same link as above)
Feb 13, 2014 at 1:18 AM
When is soon?

The lack of 2013 support is the reason I'm not using 2013, but that's not going to fly for much longer :(.
Apr 22, 2014 at 6:25 AM
Trying to get NShader to work in VS 2013 - still no luck even after deleting this key:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\ 12.0\FontAndColors\Cache.

After restarting VS 2013, still no color coding - Any suggestions would be appreciated.
Do I need to delete this key?
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\ 12.0_Config
(To scared to try it out - as i didn't see anything about doing this regarding installing NShader in VS 2013. - Please note this is the 12.0_Config NOT the 11.0_Config).
Jul 9, 2014 at 12:30 PM
Right, how soon is soon? :)

I would highly appreciate an official 2013 release... The package posted by silentsouls doesn't work for me: when I try to install, I'm getting the message "Wrong username or password" -> weird. The registry key stated above doesn't exist here, so this approach doesn't help. MSVS 12.0 Update 2.

Here's the install log:
09.07.2014 13:19:03 - Microsoft VSIX Installer
09.07.2014 13:19:03 - -------------------------------------------
09.07.2014 13:19:03 - Initializing Install...
09.07.2014 13:19:03 - Extension Details...
09.07.2014 13:19:03 -   Identifier      : NShader.51a01e9d-eb56-4ee2-a9fd-8212bf6bf2b1
09.07.2014 13:19:03 -   Name            : NShader
09.07.2014 13:19:03 -   Author          : Alexandre Mutel
09.07.2014 13:19:03 -   Version         : 1.3.1
09.07.2014 13:19:03 -   Description     : NShader is an extension to Visual Studio 2008/2010/2012/2013 that provides syntax highlighting for various shader languages including HLSL - GLSL - CG
09.07.2014 13:19:03 -   Locale          : en-US
09.07.2014 13:19:03 -   MoreInfoURL     : http://nshader.codeplex.com/
09.07.2014 13:19:03 -   InstalledByMSI  : False
09.07.2014 13:19:03 -   SupportedFrameworkVersionRange : [4.0,4.5.1]
09.07.2014 13:19:03 - 
09.07.2014 13:19:03 -   Supported Products : 
09.07.2014 13:19:03 -       Microsoft.VisualStudio.Ultimate
09.07.2014 13:19:03 -           Version : [10.0]
09.07.2014 13:19:03 -       Microsoft.VisualStudio.Ultimate
09.07.2014 13:19:03 -           Version : [11.0]
09.07.2014 13:19:03 -       Microsoft.VisualStudio.Ultimate
09.07.2014 13:19:03 -           Version : [12.0]
09.07.2014 13:19:03 -       Microsoft.VisualStudio.Premium
09.07.2014 13:19:03 -           Version : [10.0]
09.07.2014 13:19:03 -       Microsoft.VisualStudio.Premium
09.07.2014 13:19:03 -           Version : [11.0]
09.07.2014 13:19:03 -       Microsoft.VisualStudio.Premium
09.07.2014 13:19:03 -           Version : [12.0]
09.07.2014 13:19:03 -       Microsoft.VisualStudio.Pro
09.07.2014 13:19:03 -           Version : [10.0]
09.07.2014 13:19:03 -       Microsoft.VisualStudio.Pro
09.07.2014 13:19:03 -           Version : [11.0]
09.07.2014 13:19:03 -       Microsoft.VisualStudio.Pro
09.07.2014 13:19:03 -           Version : [12.0]
09.07.2014 13:19:03 - 
09.07.2014 13:19:03 -   References      : 
09.07.2014 13:19:03 - 
09.07.2014 13:19:03 - Searching for applicable products...
09.07.2014 13:19:03 - Found installed product - Microsoft Visual Studio 2010 Professional
09.07.2014 13:19:03 - System.Runtime.InteropServices.COMException (0x8007052E): Der Benutzername oder das Kennwort ist falsch. (Ausnahme von HRESULT: 0x8007052E)
   bei System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   bei System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   bei Microsoft.VisualStudio.Settings.ExternalSettingsManager.GetScopePaths(String applicationPath, String suffixOrName, String vsVersion, Boolean isLogged, Boolean isForIsolatedApplication)
   bei Microsoft.VisualStudio.Settings.ExternalSettingsManager.CreateForApplication(String applicationPath)
   bei VSIXInstaller.App.GetExtensionManager(SupportedVSSKU sku)
   bei VSIXInstaller.App.GetExtensionManagerForApplicableSKU(SupportedVSSKU supportedSKU, IInstallableExtension installableExtension, List`1 applicableSKUs)
   bei VSIXInstaller.App.InitializeInstall()
   bei System.Threading.Tasks.Task.InnerInvoke()
   bei System.Threading.Tasks.Task.Execute()
Apparently, it tries to install for MSVS 10, which I've also got on my system. Any ideas what I can do about this? Thanks!
Jan 8 at 11:49 PM
Edited Jan 8 at 11:49 PM
I made a custom build for VS2013, you can give it a try: https://drive.google.com/file/d/0Bxy36xOeQZOcTnNOczRORjkwRzA/view?usp=sharing

I also added Unity file support. For HLSL, GLSL and Unity you can also copy the supplied *.map files to the %APPDATA% folder to add/remove keywords (Read the readme.txt)
Jan 28 at 6:57 PM
IssamK, please fork this repo!

We've been waiting since Nov 15, 2013 for VS2013 support.
Feb 20 at 8:27 AM
Hi,
yes please fork the repo or at least put your sources on github somewhere. This would help to add other features and make the extension fit for VS 2015.

Thank you so much for the help!
Feb 24 at 5:00 PM
Hi! Sorry I did not look at the forums until chris_lux emailed me.
I did a fork at: http://nshader.codeplex.com/SourceControl/network/forks/IssamK/VS2013andUnityShaders
I am not too familiar with codeplex, I think I made the fork public?