This project is read-only.

Is there going to be an add in for Visual Studio 2010?

Mar 3, 2010 at 12:00 AM

will there be an add-in for 2010?

May 10, 2010 at 9:23 PM

I second that request.

May 12, 2010 at 8:37 PM

Here is my vote.

May 12, 2010 at 8:40 PM

I wonder how different the APIs are.  Might just do it myself :-)

May 13, 2010 at 11:47 AM

I spoke to the developer who said he may look into it, after I attempted to convert the source code to a VS2010 plugin and failed, but then I didn't have a clue what I was doing really, so maybe it was my fault it didn't work.

May 15, 2010 at 4:35 PM

I really hope a VS2010 version comes out!

I spent about 2 hours trying to convert it myself, but it's just not working. When I re-load Visual Studio after selecting the Add In, I get an '80131534' error.

May 27, 2010 at 1:42 AM

I've created a patch to get this working with VS2010:

not sure about backwards compatibility:

apply to the source directory:

 

Index: JSLint.sln===================================================================--- JSLint.sln (revision 46679)+++ JSLint.sln (working copy)@@ -1,6 +1,6 @@ -Microsoft Visual Studio Solution File, Format Version 10.00-# Visual Studio 2008+Microsoft Visual Studio Solution File, Format Version 11.00+# Visual Studio 2010 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JSLint", "JSLint\JSLint.csproj", "{621CC3D7-1FE6-48FD-B2ED-CF6BA0D720DA}" EndProject GlobalIndex: JSLint/app.config===================================================================--- JSLint/app.config (revision 46679)+++ JSLint/app.config (working copy)@@ -1,8 +1,8 @@-<?xml version="1.0" encoding="utf-8" ?>+<?xml version="1.0"?> <configuration>     <configSections>-        <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >-            <section name="JSLint.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />+        <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">+            <section name="JSLint.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>         </sectionGroup>     </configSections>     <userSettings>@@ -20,11 +20,11 @@                 <value>eqeqeq, nomen, undef, white</value>             </setting>             <setting name="CheckingScope" serializeAs="String">-                <value />+                <value/>             </setting>             <setting name="JSLintProcessWaitTime" serializeAs="String">                 <value>10</value>             </setting>         </JSLint.Properties.Settings>     </userSettings>-</configuration>\ No newline at end of file+<startup><supportedRuntime version="v2.0.50727"/></startup></configuration>Index: JSLint/Connect.cs===================================================================Cannot display: file marked as a binary type.svn:mime-type = application/octet-streamIndex: JSLint/JSLint.AddIn===================================================================Cannot display: file marked as a binary type.svn:mime-type = application/octet-streamIndex: JSLint/JSLint.csproj===================================================================--- JSLint/JSLint.csproj (revision 46679)+++ JSLint/JSLint.csproj (working copy)@@ -1,4 +1,5 @@-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">+<?xml version="1.0" encoding="utf-8"?>+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">   <PropertyGroup>     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>@@ -15,7 +16,10 @@     </FileUpgradeFlags>     <UpgradeBackupLocation>     </UpgradeBackupLocation>-    <OldToolsVersion>2.0</OldToolsVersion>+    <OldToolsVersion>3.5</OldToolsVersion>+    <IsWebBootstrapper>true</IsWebBootstrapper>+    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>+    <TargetFrameworkProfile />     <PublishUrl>http://localhost/JSLint/</PublishUrl>     <Install>true</Install>     <InstallFrom>Web</InstallFrom>@@ -28,7 +32,6 @@     <MapFileExtensions>true</MapFileExtensions>     <ApplicationRevision>0</ApplicationRevision>     <ApplicationVersion>1.0.0.%2a</ApplicationVersion>-    <IsWebBootstrapper>true</IsWebBootstrapper>     <UseApplicationTrust>false</UseApplicationTrust>     <BootstrapperEnabled>true</BootstrapperEnabled>   </PropertyGroup>@@ -40,6 +43,7 @@     <DefineConstants>DEBUG;TRACE</DefineConstants>     <WarningLevel>4</WarningLevel>     <IncrementalBuild>false</IncrementalBuild>+    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>   </PropertyGroup>   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">     <DebugSymbols>false</DebugSymbols>@@ -49,6 +53,7 @@     <DefineConstants>TRACE</DefineConstants>     <WarningLevel>4</WarningLevel>     <IncrementalBuild>false</IncrementalBuild>+    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>   </PropertyGroup>   <ItemGroup>     <Reference Include="Extensibility, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />@@ -128,6 +133,7 @@     <Content Include="install\!install_src_readme.txt" />     <Content Include="JSLint.AddIn">       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+      <SubType>Designer</SubType>     </Content>     <EmbeddedResource Include="JSLintFiles\wsh.js" />     <EmbeddedResource Include="JSLintOptions.xml" />@@ -144,7 +150,7 @@   <ItemGroup>     <BootstrapperPackage Include="Microsoft.Net.Client.3.5">       <Visible>False</Visible>-      <ProductName>.NET Framework Client Profile</ProductName>+      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>       <Install>false</Install>     </BootstrapperPackage>     <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">@@ -172,9 +178,9 @@   <PropertyGroup>     <PreBuildEvent>     </PreBuildEvent>-    <PostBuildEvent>copy "$(TargetDir)JsLint.AddIn" "D:\Documents\Visual Studio 2008\Addins\JsLint.AddIn"-copy "$(TargetDir)JsLint.dll" "D:\Documents\Visual Studio 2008\Addins\JsLint.dll"-copy "$(TargetDir)JsLint.dll.config" "D:\Documents\Visual Studio 2008\Addins\JsLint.dll.config"</PostBuildEvent>+    <PostBuildEvent>copy "$(TargetDir)JsLint.AddIn" %25HOMEPATH%25"\Documents\Visual Studio 2010\Addins\JsLint.AddIn"+copy "$(TargetDir)JsLint.dll" %25HOMEPATH%25"\Documents\Visual Studio 2010\Addins\JsLint.dll"+copy "$(TargetDir)JsLint.dll.config" %25HOMEPATH%25"\Documents\Visual Studio 2010\Addins\JsLint.dll.config"</PostBuildEvent>   </PropertyGroup>   <ProjectExtensions>     <VisualStudio>Index: JSLint/Properties/Settings.Designer.cs===================================================================--- JSLint/Properties/Settings.Designer.cs (revision 46679)+++ JSLint/Properties/Settings.Designer.cs (working copy)@@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // <auto-generated> //     This code was generated by a tool.-//     Runtime Version:2.0.50727.3053+//     Runtime Version:4.0.30319.1 // //     Changes to this file may cause incorrect behavior and will be lost if //     the code is regenerated.@@ -12,7 +12,7 @@               [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]-    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]     internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {                  private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));

 

Aug 30, 2010 at 12:56 PM

Posting the patch to the forum does not help. Line breaks are lost and I for one wouldn't know how to apply it. There is another place in CodePlex from which to submit patches, http://jslint.codeplex.com/SourceControl/UploadPatch.aspx

This project really needs to get ported over to VS 2010. It was premature to expect a VS2010 implementation back in May, but it's August now and VS 2010 has been released and in heavy use all over now for a few months.

I want to see this happen already. How can I help?!

Sep 26, 2010 at 4:03 PM

Myself and another developer are working on a version for 2010. Its very early stages but in a couple of weeks it should be beta quality (currently alpha).

I hope that it will eventually be better than the current add-in.

http://jslint4vs2010.codeplex.com