Another application instead of JShint? - visual-studio-2013

JShint cannot be used for VS 2013.
I'm looking for a tool that is similiar as jshint for VS 2013.
Do you know anything that you can recommend me to use?

JsHint can be integrated with Visual Studio using the WebEssentials tools.
It's also relatively simple to integrate JsHint into MsBuild.

Related

How to integrate VSCode with the Visual C++ compiler?

How to integrate Visual Studio Code with the Visual C++ compiler to build and debug C++ MFC solutions?
You would need to try and use on e of the msbuild VSCode extensions: they can help mainly for Visual Studio setting files completion.
The official Microsoft vscode cpp extension does allow to call Visual Studio msbuild, but only through a Build task, as mentioned in issue 984.
An answer such as "VS is much better than VSCode, so don't bother" would be a (possibly) good answer.
I doubt indeed you will find all the Visual Studio features directly in VSCode.

Is it a good idea to use MSBuild for Visual Studio projects

I'm new to .net and want to use a build tool for my project. I'm reading about MSBUILD and other options but recently came to know that Visual studio projects are MS Build scripts.
So, that makes me think, should I really use MSBUILD for Visual studio projects ?
Visual Studio uses MSBuild under the hood and the project system is based on it.
There are a few other tools that help with .NET builds, like Cake, but for the most important part, they also call MSBuild (but help you to script it for complex scenarios).
There really isn't an alternative to MSBuild since all tools (VS, JetBrains Rider, OmniSharp (/VSCode)) require it to understand C#/VB.NET projects.
should I really use MSBUILD for Visual studio projects ?
Obviously, we can also use devenv.exe, csc.exe or other compilers for Visual Studio projects except MSBuild. But just as Martin`s answer, all tools (VS, JetBrains Rider, OmniSharp (/VSCode)) require it to understand C#/VB.NET projects. And Visual Studio hosts MSBuild to load and build managed projects. Because MSBuild is responsible for the project, almost any project in the MSBuild format can be successfully used in Visual Studio.
With MSBuild, you could build projects on a build server for .NET apps without Visual Studio.
Besides, MSBuild will give you significant flexibility in choosing what technologies you use to implement continuous integration. And custom MSBuild tasks will give you even more flexibility in implementing custom builds.
What more, If Visual Studio Team System is in your future, applications built using MSBuild will be much easier to move into that environment than those built via alternative means.
Though, we can build Visual Studio project by using other ways, it is absolutely a good idea to use MSBuild for Visual Studio projects.
Hope this can help you.

SystemJS modules with Visual Studio 2013 and TypeScript

I'm trying to use SystemJS modules in Visual Studio 2013 with TypeScript, but Visual Studio shows errors.
This is my setup:
Installed TypeScript Tools for Microsoft Visual Studio 2013 1.8.5.0
Uninstalled lower versions of TypeScript
Project file (VS 2013 does not support tsconfig.json):
<TypeScriptToolsVersion>1.8</TypeScriptToolsVersion>
<TypeScriptModuleKind >system</TypeScriptModuleKind>
<TypeScriptTarget>es5</TypeScriptTarget>
This is what I see:
My project compiles successfully
In the browser, AngularJs runs successfully
But in Visual Studio, I see squiggly lines. Upon hovering it says 'expression statement is not assignment or call':
This issue is related to this question, however, the answer there is 'use VS 2015', which simply is not an option for me.
Is there any way to use SystemJS with TypeScript in Visual Studio 2013? It doesn't have to be ES6-style modules, just any combination of SystemJS and TypeScript will do. Thanks!
I don't know if you already tried to set SystemJS as module system in the preferences:
If still doesn't work, try to follow this guide: http://www.codeproject.com/Articles/1060262/First-Angular-App-with-TypeScript-and-Visual-Studi
from "Setting Up Visual Studio Project".
By the way, VB 2013 is a very old version of the software, is there any reason why shouldn't you migrate to a newer version?
It seems that there just isn't a solution for this. Upgrading to VS2015 is the only way to fix it.
You may need --allowSyntheticDefaultImports if angular doesn't have a default export.

How to run Visual Studio Code Analysis on Hudson-CI?

I have found how to integrate StyleCop and FxCop with Hudson, but what about Visual Studio Code Analysis? Can't it also be integrated into Hudson?
Visual Studio Code Analysis is simply an extended version of FxCop. If you want to include the addition rules shipped with VS Code Analysis, run FxCopCmd.exe from your VS installation instead of from a stand-alone FxCop installation.
Unless someone has created a plugin for this specific purpose, you'll either have to write your own or you're out of luck. Having StyleCop and FxCop covers a lot though, so I wouldn't worry too much.

logging libraries for visual studio 2010

Visual Studio 2010
I was using log4net for Visual Studio 2005. However, I am now using visual studio 2010.
log4net is not available for that framework.
Is there any other logging libraries out there that I can use?
Many thanks,
Just to clarify, the IDE isn't really a factor here. That said, use Enterprise Library.
If you want to stick with log4Net, it may be as simple as changing your application's target framework. See this post that describes how the author was able to get log4Net up and running: http://krishnabhargav.blogspot.com/2010/02/using-net-35-clr-20-dll-inside-visual.html

Resources