What's the status of F# 4.6 in Visual Studio 2017? - f#

F# 4.6 was released for Visual Studio 2019 (https://devblogs.microsoft.com/dotnet/announcing-f-4-6/) but will features and tooling from F# 4.6 every be available for Visual Studio 2017 (namely, I'm interested in anonymous types)?
I have Nightly Releases configured for Visual F# Tools in my installation of Visual Studio 2017, but attempting to update to the latest gives me an installation error (latest version has min VS version targeting VS 16.0, i.e. Visual Studio 2019):
4/22/2019 9:32:08 AM - Microsoft VSIX Installer 4/22/2019 9:32:08 AM -
------------------------------------------- 4/22/2019 9:32:08 AM - vsixinstaller.exe version: 4/22/2019 9:32:08 AM - 16.1.42 4/22/2019
9:32:08 AM - ------------------------------------------- 4/22/2019
9:32:08 AM - Command line parameters: 4/22/2019 9:32:08 AM -
C:\Program Files (x86)\Microsoft Visual
Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\vsixinstaller.exe,/appidinstallpath:C:\Program
Files (x86)\Microsoft Visual
Studio\2017\Professional\Common7\IDE\devenv.exe,/skuName:Pro,/skuVersion:15.0.28307.586,/appidname:Microsoft
Visual Studio Professional
2017,/culture:en-US,/noep,C:\Users\steph\AppData\Local\Temp\VSIX4htuqo2p.vsix
4/22/2019 9:32:08 AM - -------------------------------------------
4/22/2019 9:32:08 AM - Microsoft VSIX Installer 4/22/2019 9:32:08 AM -
------------------------------------------- 4/22/2019 9:32:08 AM - Initializing Install... 4/22/2019 9:32:08 AM - Extension Details...
4/22/2019 9:32:08 AM - Identifier : VisualFSharp 4/22/2019
9:32:08 AM - Name : Visual F# Tools 4/22/2019 9:32:08
AM - Author : Microsoft.VisualFSharpTools 4/22/2019
9:32:08 AM - Version : 16.0.20190420.1922001 4/22/2019
9:32:08 AM - Description : Deploy Visual F# Tools Binaries to
Visual Studio 4/22/2019 9:32:08 AM - Locale : en-US
4/22/2019 9:32:08 AM - MoreInfoURL :
https://learn.microsoft.com/en-us/dotnet/articles/fsharp/ 4/22/2019
9:32:08 AM - InstalledByMSI : False 4/22/2019 9:32:08 AM -
SupportedFrameworkVersionRange : [4.6,) 4/22/2019 9:32:08 AM -
4/22/2019 9:32:10 AM - SignatureState : ValidSignature 4/22/2019
9:32:10 AM - SignedBy : Microsoft Corporation 4/22/2019
9:32:10 AM - Certificate Info : 4/22/2019 9:32:10 AM -
------------------------------------------------------- 4/22/2019
9:32:10 AM - [Subject] : CN=Microsoft Corporation, OU=OPC,
O=Microsoft Corporation, L=Redmond, S=Washington, C=US 4/22/2019
9:32:10 AM - [Issuer] : CN=Microsoft Code Signing PCA 2010,
O=Microsoft Corporation, L=Redmond, S=Washington, C=US 4/22/2019
9:32:10 AM - [Serial Number] :
330000026ECE6AE5984BFC96A900000000026E 4/22/2019 9:32:10 AM - [Not
Before] : 9/6/2018 5:00:30 PM 4/22/2019 9:32:10 AM - [Not After]
: 9/6/2019 5:00:30 PM 4/22/2019 9:32:10 AM - [Thumbprint] :
99B6246883B4B32EA59AE18B36945D205A876800 4/22/2019 9:32:10 AM -
4/22/2019 9:32:10 AM - Supported Products : 4/22/2019 9:32:10 AM -
Microsoft.VisualStudio.Pro 4/22/2019 9:32:10 AM - Version :
[16.0,) 4/22/2019 9:32:10 AM - 4/22/2019 9:32:10 AM - References
: 4/22/2019 9:32:10 AM - Prerequisites : 4/22/2019 9:32:10 AM
- ------------------------------------------------------- 4/22/2019 9:32:10 AM - Identifier :
Microsoft.VisualStudio.Component.CoreEditor 4/22/2019 9:32:10 AM -
Name : Visual Studio core editor 4/22/2019 9:32:10 AM -
Version : [16.0,) 4/22/2019 9:32:10 AM - 4/22/2019 9:32:10 AM
- Signature Details... 4/22/2019 9:32:10 AM - Extension is signed with a valid signature. 4/22/2019 9:32:10 AM - 4/22/2019 9:32:10 AM -
VSIXInstaller.NoApplicableSKUsException: This extension is not
installable on any currently installed products. at
VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath,
String extensionPackParentName, Boolean isRepairSupported, IStateData
stateData, IEnumerable1& skuData) at
VSIXInstaller.ExtensionService.ComputeInstallableExtensions(IStateData
stateData, Boolean isRepairSupported, Boolean isExtensionPack,
IDictionary2 skuDataMapping, IList1 installableExtensionsPaths)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported) at
VSIXInstaller.App.Initialize() at
System.Threading.Tasks.Task1.InnerInvoke() at
System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown --- at
Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception
exceptionObject)

The nightly channel is a representation of latest master in the F# codebase, which requires Visual Studio 2019 if you are using it in Visual Studio. Note that the compiler can be used independently of tooling.
If you wish to use F# 4.6 in Visual Studio, you should upgrade to VS 2019.

Related

Compilation error when deploying my Ember/Rails app

I have a rails 5 ember 2.17 app that was previously being successfully deployed in production. The deployment is done with ember-cli-rails.
During asset compilation I have the following error :
=================================================================================
ENV Summary:
TIME: Mon Jul 08 2019 15:40:33 GMT+0200 (CEST)
TITLE: ember
ARGV:
- /usr/bin/node
- /srv/production/www/placedemarche/releases/20190708133545/marketadmin/node_modules/ember-cli/bin/ember
- build
- --environment
- production
- --output-path
- /srv/production/www/placedemarche/releases/20190708133545/tmp/ember-cli/apps/marketadmin
EXEC_PATH: /usr/bin/node
TMPDIR: /tmp
SHELL: /bin/bash
PATH:
- /srv/production/www/placedemarche/shared/bundle/ruby/2.4.0/bin
- /home/admin/.rvm/gems/ruby-2.4.1/bin
- /home/admin/.rvm/gems/ruby-2.4.1#global/bin
- /home/admin/.rvm/rubies/ruby-2.4.1/bin
- /home/admin/.rvm/bin
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/games
- /usr/local/games
PLATFORM: linux x64
FREEMEM: 1093439488
TOTALMEM: 3149369344
UPTIME: 16758723
LOADAVG: 0.8134765625,0.71240234375,0.56201171875
CPUS:
- Intel(R) Xeon(R) CPU E5-2650 v4 # 2.20GHz - 2200
- Intel(R) Xeon(R) CPU E5-2650 v4 # 2.20GHz - 2200
- Intel(R) Xeon(R) CPU E5-2650 v4 # 2.20GHz - 2200
- Intel(R) Xeon(R) CPU E5-2650 v4 # 2.20GHz - 2200
- Intel(R) Xeon(R) CPU E5-2650 v4 # 2.20GHz - 2200
- Intel(R) Xeon(R) CPU E5-2650 v4 # 2.20GHz - 2200
ENDIANNESS: LE
VERSIONS:
- ares: 1.10.1-DEV
- http_parser: 2.8.0
- icu: 58.2
- modules: 48
- napi: 3
- node: 6.14.3
- openssl: 1.0.2o
- uv: 1.16.1
- v8: 5.1.281.111
- zlib: 1.2.11
ERROR Summary:
- broccoliBuilderErrorStack: [undefined]
- code: [undefined]
- codeFrame: [undefined]
- errorMessage: Unexpected identifier
- errorType: [undefined]
- location:
- column: [undefined]
- file: [undefined]
- line: [undefined]
- message: Unexpected identifier
- name: SyntaxError
- nodeAnnotation: [undefined]
- nodeName: [undefined]
- originalErrorMessage: [undefined]
- stack: /srv/production/www/placedemarche/releases/20190708133545/marketadmin/node_modules/#embroider/core/src/to-broccoli-plugin.js:18
async build() {
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/srv/production/www/placedemarche/releases/20190708133545/marketadmin/node_modules/#embroider/core/src/index.js:9:28)
=================================================================================
I am not sure what's the next step to solve this problem.
I could see in the error log that the build used node 6:
ENV Summary:
VERSIONS:
- node: 6.14.3
Node 6 is not supported anymore. It's LTS supported ended at April 30, 2019. The ember ecosystem drops support for it as well.
Embroider is an experimental build tool for Ember. It's only tested against Node 10 so far.
I would recommend upgrading your build environment to a recent version of node.

JMeter error :Could not instantiate org.apache.jmeter.protocol.smtp.sampler.gui

I am getting the below error in JMeter log while running via jenkins.
I am using JMeter version 2.11r.
The logs are:
2017/09/14 17:00:16 INFO - jmeter.util.JMeterUtils: Setting Locale to en_US
2017/09/14 17:00:16 INFO - jmeter.JMeter: Loading user properties from: E:\J-Meter\bin\user.properties
2017/09/14 17:00:16 INFO - jmeter.JMeter: Loading system properties from: E:\J-Meter\bin\system.properties
2017/09/14 17:00:16 INFO - jmeter.JMeter: Copyright (c) 1998-2014 The Apache Software Foundation
2017/09/14 17:00:16 INFO - jmeter.JMeter: Version 2.11 r1554548
2017/09/14 17:00:16 INFO - jmeter.JMeter: java.version=1.8.0_121
2017/09/14 17:00:16 INFO - jmeter.JMeter: java.vm.name=Java HotSpot(TM) 64-Bit Server VM
2017/09/14 17:00:16 INFO - jmeter.JMeter: os.name=Windows 8.1
2017/09/14 17:00:16 INFO - jmeter.JMeter: os.arch=amd64
2017/09/14 17:00:16 INFO - jmeter.JMeter: os.version=6.3
2017/09/14 17:00:16 INFO - jmeter.JMeter: file.encoding=Cp1252
2017/09/14 17:00:16 INFO - jmeter.JMeter: Default Locale=English (United States)
2017/09/14 17:00:16 INFO - jmeter.JMeter: JMeter Locale=English (United States)
2017/09/14 17:00:16 INFO - jmeter.JMeter: JMeterHome=E:\J-Meter
2017/09/14 17:00:16 INFO - jmeter.JMeter: user.dir =C:\Program Files (x86)\Jenkins\workspace\J-meter
2017/09/14 17:00:16 INFO - jmeter.JMeter: PWD =C:\Program Files (x86)\Jenkins\workspace\J-meter
2017/09/14 17:00:16 INFO - jmeter.JMeter: IP: 10.150.246.100 Name: NOD-AF1-lo-D1N FullName: NOD-AF1-lo-D1N.timesgroup.com
2017/09/14 17:00:16 INFO - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties
2017/09/14 17:00:17 INFO - jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2017/09/14 17:00:17 INFO - jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2017/09/14 17:00:17 INFO - jmeter.gui.action.LookAndFeelCommand: Using look and feel: javax.swing.plaf.metal.MetalLookAndFeel [Metal, CrossPlatform]
2017/09/14 17:00:17 INFO - jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22
2017/09/14 17:00:18 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className property for htmlParser, using default
2017/09/14 17:00:18 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is
2017/09/14 17:00:18 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is
2017/09/14 17:00:18 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is
2017/09/14 17:00:18 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is
2017/09/14 17:00:18 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2017/09/14 17:00:18 INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui
2017/09/14 17:00:18 INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui
2017/09/14 17:00:18 INFO - jorphan.exec.KeyToolUtils: keytool found at 'C:\Program Files\Java\jre1.8.0_121\bin\keytool'
2017/09/14 17:00:18 INFO - jmeter.protocol.http.proxy.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file E:\J-Meter\bin\proxyserver.jks
2017/09/14 17:00:18 WARN - jmeter.gui.util.MenuFactory: Could not instantiate org.apache.jmeter.protocol.smtp.sampler.gui.SmtpSamplerGui java.lang.NullPointerException
at sun.awt.shell.Win32ShellFolder2.access$200(Unknown Source)
at sun.awt.shell.Win32ShellFolder2$1.call(Unknown Source)
at sun.awt.shell.Win32ShellFolder2$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Unknown Source)
Some Java developers are a little bit relaxed when it comes to handling edge situations (or they simply don't have enough qualification) as it's evidenced by JENKINS-37013 (even Workspace Whitespace Replacement Plugin exists)
I would recommend re-installing your Java, Jenkins and JMeter into folders without spaces and special characters in path and the issue should go away, for example:
c:\apps\java
c:\apps\jenkins
c:\apps\jmeter
Just in case check out Continuous Integration 101: How to Run JMeter With Jenkins article for more details.
You're running JMeter 2.11 with Java 8 as per your log lines:
2017/09/14 17:00:16 INFO - jmeter.JMeter: Version 2.11 r1554548
2017/09/14 17:00:16 INFO - jmeter.JMeter: java.version=1.8.0_121
JMeter is compatible with Java 8 only since version 2.12, as per:
http://jmeter.apache.org/changes_history.html
See:
Version 2.12
Now, JMeter 2.12 is compliant with Java 8.
Anyway, 2.11 is 5 versions away from 3.2, so very old now.
Always use last version of JMeter.

How to display a website/redmine on TFS Dashboard

I am currently building a TFS-Dashboard (TFS2015-on premise). We are still using redmine as our ticketing system. I want to get an overview of open tickets per release and display that in the TFS dashboard but cannot seem to find a fitting addin. Great would be an addin for Redmine, but I would also settle for a possiblity to display a webpage. I tried the iframe addin but it would not install:
30.05.2017 11:04:29 - Microsoft VSIX Installer
30.05.2017 11:04:29 - -------------------------------------------
30.05.2017 11:04:29 - Initializing Install...
30.05.2017 11:04:29 - Erweiterungsdetails...
30.05.2017 11:04:29 - Identifier : iframe-dashboard-widget
30.05.2017 11:04:29 - Name : Iframe Dashboard Widget
30.05.2017 11:04:29 - Author : areve
30.05.2017 11:04:29 - Version : 1.0.11
30.05.2017 11:04:29 - Description : A dashboard widget to show an Iframe in TFS/VSTS.
30.05.2017 11:04:29 - Locale : en-US
30.05.2017 11:04:29 - MoreInfoURL :
30.05.2017 11:04:29 - InstalledByMSI : False
30.05.2017 11:04:29 - SupportedFrameworkVersionRange : [0.0,2147483647.2147483647]
30.05.2017 11:04:29 -
30.05.2017 11:04:29 - Unterstützte Produkte :
30.05.2017 11:04:29 - Microsoft.VisualStudio.Services
30.05.2017 11:04:29 - Version :
30.05.2017 11:04:29 -
30.05.2017 11:04:29 - Verweise :
30.05.2017 11:04:29 -
30.05.2017 11:04:29 - Er wird nach passenden Produkten gesucht...
30.05.2017 11:04:29 - Installiertes Produkt gefunden - Microsoft Visual Studio Premium 2013
30.05.2017 11:04:29 - Installiertes Produkt gefunden - Microsoft Visual Studio Professional 2013
30.05.2017 11:04:29 - Installiertes Produkt gefunden - Microsoft Visual Studio 2013 Shell (Integrated)
30.05.2017 11:04:29 - Installiertes Produkt gefunden - Globaler Pfad
30.05.2017 11:04:29 - Installiertes Produkt gefunden - ssms
30.05.2017 11:04:29 - VSIXInstaller.NoApplicableSKUsException: Diese Erweiterung kann auf den derzeit installierten Produkten nicht installiert werden.
bei VSIXInstaller.App.InitializeInstall()
bei System.Threading.Tasks.Task.InnerInvoke()
bei System.Threading.Tasks.Task.Execute()
Can you recommend an addin or solution to the install-problem?
There is not any official plugins or something similar for combining TFS and Redmine for now.
You could add a uservoice or vote for Help --- service hook for redmine, TFS PM will kindly review your suggestion.
To integrate you will either have to roll your own or buy a tool. Such as Takstop which devote to your software integration flows, or Cloudpipes.
The error I got above was due to a rookie mistake - instead of uploading the extension to the TFS-webui I double-clicked it in the file system.

OpenTok iOS SDK - how to know the current version?

how do I know which is the current version of the OpenTok iOS SDK installed on my project please ?
Compile and run the app from within XCode and you will see a banner as shown below for 2.10.2 version.
2017-03-30 11:52:49.237431 1.Hello-World[7170:1471305] ------------------------------------------------
2017-03-30 11:52:49.237522 1.Hello-World[7170:1471305] OpenTok iOS Library, Rev.2
2017-03-30 11:52:49.237661 1.Hello-World[7170:1471305] This build was born on Feb 23 2017 at 09:55:38
2017-03-30 11:52:49.249858 1.Hello-World[7170:1471305] Version: 2.10.2.2083-ios
2017-03-30 11:52:49.250112 1.Hello-World[7170:1471305] libOpenTokObjC:8eb18711043f86f3070443a583eba2374771ec04
2017-03-30 11:52:49.250289 1.Hello-World[7170:1471305] libOTKit:edb2cecf59f96e813dcdfd14b031f89757cf8ba5
2017-03-30 11:52:49.250459 1.Hello-World[7170:1471305] WebRTC:ca7fe7ea0257ae5e4318549abbe7c0f79063865e
2017-03-30 11:52:49.250557 1.Hello-World[7170:1471305] Copyright 2016 TokBox, Inc.
2017-03-30 11:52:49.250637 1.Hello-World[7170:1471305] Licensed under the Apache License, Version 2.0
2017-03-30 11:52:49.250718 1.Hello-World[7170:1471305] ------------------------------------------------

Xamarin iOS Error initialized task IBTool

I can't run any project for iOS in Xamarin, It shows me the following error "Error Initialized task IBTool: Not registered task IBToll", how I can resolve this error?
I use Xamarin Studio 5.9.4, XCode 5.0, Xamarin Ios 8.10.3.2 (Business Edition) and S.O Mac Os X 10.9.5
I hope you can help me
UPGRADE
=== Xamarin Studio ===
Version 5.9.4 (build 5)
Installation UUID: 616c0f77-e96a-4f5d-a6f7-c303c7e143c3
Runtime:
Mono 4.0.2 ((detached/c99aa0c)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400020005
=== Xamarin.Android ===
Version: 5.1.4.16 (Business Edition)
Android SDK: /Users/student/Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
=== Xamarin Android Player ===
Not Installed
=== Apple Developer Tools ===
Xcode 5.0 (3332.22)
Build 5A1412
=== Xamarin.iOS ===
Version: 8.10.3.2 (Business Edition)
Hash: 8b265d6
Branch: master
Build date: 2015-06-30 15:19:13-0400
=== Xamarin.Mac ===
Not Installed
=== Build Information ===
Release ID: 509040005
Git revision: 8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b
Build date: 2015-06-08 16:52:06-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8
=== Operating System ===
Mac OS X 10.9.5
Darwin Students-Mac.local 13.4.0 Darwin Kernel Version 13.4.0
Sun Aug 17 19:50:11 PDT 2014
root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64

Resources