Run F# 3.1 on Visual Studio 2012 (not express) - visual-studio-2012

I was wondering if it is possible to run F# 3.1 on Visual studio 2012? if possible then what is the best way to do this?
Thanks

You can't run the 3.1 Visual Studio integration components (e.g. the language service, project system, editor integration) on VS 2012, no. So any bug fixes or features there will not be available.
But you can still build, run, debug projects against the F# 3.1 compiler and runtime from VS 2012. Install the latest release (3.1.1) from here. Create a new project in VS 2012, and edit the .fsproj file to point at the 3.1 Microsoft.FSharp.targets file and the 3.1 version of FSharp.Core.dll. I haven't tried this personally, but I think it should work reasonably well.
And in case cost is a factor preventing moving to VS 2013, note that starting with 3.1.1, Visual F# does support VS Desktop Express.

Related

Performance profiling Node.js/TS with Visual Studio Pro 2019

I created a project in Visual Studio Pro 2019 from an existing Node.js TypeScript web code via the “Create a new project” wizard in VS. I am using a Windows 10 machine.
When I launch the Performance Profiler, the only available tool is “Events Viewer”. The tool that I want to use is “Instrumentation” so that I can measure call counts and call response times.
Has anyone had any success in doing this for a Node.js TypeScript web project in VS? If so, how were you able to get the “Instrumentation” tool enabled?
I have seen mention of profiling in the following link, but it is probably referring to Node.js JavaScript projects: https://visualstudio.microsoft.com/vs/features/node-js/
I haven't been able to profile Node.js project with Visual Studio 2019 but I'm using Visual Studio Code as a workaround.
Can I profile NodeJS Applications using Visual Studio Code?
I have been using profiler for C++ project with Visual Studio 2019 and it is better than profiler on VS Code.

TypeScript 1.4 for visual studio 2012

I have downloaded typescript for vs2012 from the below link
http://www.microsoft.com/en-in/download/details.aspx?id=34790
but it is giving 1.0 version but i want to work with 1.4(latest)
Is there a way to install typescript 1.4 for vs2012.
You need to use Visual Studio 2013 or above to use the latest version of TypeScript.
There is a free community edition, if you satisfy the licensing rules.
You can also use Atom (with Atom TypeScript), Sublime, WebStorm, and a few others too - so you aren't tied to Visual Studio.

Visual Studio 2012 fails to open Visual Studio 2010 projects

I tried to open in Visual Studio 2012 a VS 2010 solution and I get these error:
Unable to read the project file "Language.vcxproj".
D:...\Language\Language.vcxproj(2,33): The tools version "4.0" is unrecognized. Available tools versions are "2.0".
It has something to do with the ToolsVersion attribute:
I believe this may be something with target platform settings, or with the version of the .NET framework, or with the version of the C++ compiler.
BTW, this also happens with .csproj files contained on other solutions I have.
What annoys me more is that I have a colleague that can open those solutions in his computer without any problem and I can not.
In the Control Panel, I have this items for the .NET framework:
Microsoft .NET Framework 4.5 Multi-Targeting Pack
Microsoft .NET Framework 4.5 SDK
Help, please!

Corrupt C runtime library?

I'm using Visual Studio Professional 2012 (with Update 2) and since I have a project that needs to be built with the VC++ 2010 toolset I also installed Visual C++ 2010 Express (with SP1).
I use the newer 2012 IDE also for the older projects. So for these projects I set the Platform Toolset to v100. And when I also set the runtime library to /MT or /MTd I get the following error:
error LNK1127: library is corrupt
for libcpmt.lib or libcpmtd.lib, depending on the configuration.
What could be wrong here?
Installation history:
VS2012 Professional
Windows 7 SDK
Uninstalled VS2012 and Windows SDK
VC++ 2010 Express
VS2012 Professional
If I understood correctly, you installed VS2010 after installing VS2012? If not, please edit your question to make it clear.
This sequence of installations is not recommended by Microsoft, and there are plenty of caveats and ReadMe's to navigate in order to find out what's happened.
I suggest that the best thing to do is to reinstall VS2012 (or do a repair install), then see what - if anything - is still broken.

Is it possible to develop extensions for visual studio 2012 using free tools?

I would like to make a template for F# lib + XNA 4.0 + Xbox360 for visual studio 2012.
All I have is Visual Studio 2012 Express Edition for Web.
When I try to install the Visual Studio 2012 SDK, it stops after reporting that it requires Visual Studio 2012. The log seems to indicate it's looking for the Professional edition.
I'm not interested in buying a professional license for hobby work, and I am a bit surprised Microsoft would want to prevent hobbyists from extending their product.
I do have a professional license for Visual Studio 2010, though. If there's a way to make extensions for 2012 using 2010, that would work for me.
You can use VS2010 to develop extension compatible with VS2012.
All you have to do is to manually change vsixmanifest to make it work with newer version:
<SupportedProducts>
<VisualStudio Version="11.0">
Note however that Visual Studio Express does not support extensions, so you won't be able to install it in VS2012 Express anyway.

Resources