text:
Yocto build failure: Mono 5.18.1.0 cannot build msbuild 16.0 from current xplat-master

Steps to reproduce

Set up a Yocto based build environment e.g. via https://github.com/Angstrom-distribution/angstrom-manifest, use the genericx86 or genericx86-64  machine type for building software.

Add the meta-mono layer from the below repository to this custom OS:

https://github.com/zboszor/meta-mono
branch: add-msbuild-16-WIP

Run these commands:

bitbake mono-native
bitbake -c compile msbuild-native
Expected  behavior
msbuild should be built correctly.
Actual behavior
msbuild fails with errors. The actual error depends on the command line switches to the build script or extra patches.
With the basic setup, i.e. running "make" the command extracted from the msbuild Makefile in the msbuild recipe, this error occurs:
$ bitbake -c compile msbuild-native
...
| Build FAILED.
|
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: The "Nerdbank.GitVersioning.Tasks.GetBuildVersion" task failed unexpectedly. [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Framework/Microsoft.Build.Framework.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: This is an unhandled exception from a task -- PLEASE OPEN A BUG AGAINST THE TASK OWNER. [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Framework/Microsoft.Build.Framework.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: System.BadImageFormatException: Method has no body [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Framework/Microsoft.Build.Framework.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: File name: 'LibGit2Sharp' [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Framework/Microsoft.Build.Framework.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at LibGit2Sharp.Core.Proxy.git_libgit2_opts_set_search_path (LibGit2Sharp.ConfigurationLevel level, System.String path) [0x00000] in <b59d5da32f8541b2a767004d8bddc22b>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Framework/Microsoft.Build.Framework.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at LibGit2Sharp.GlobalSettings.SetConfigSearchPaths (LibGit2Sharp.ConfigurationLevel level, System.String[] paths) [0x0001a] in <b59d5da32f8541b2a767004d8bddc22b>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Framework/Microsoft.Build.Framework.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.GitExtensions.OpenGitRepo (System.String pathUnderGitRepo) [0x00012] in <d5c302de109d414fa214601b94ba5a00>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Framework/Microsoft.Build.Framework.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.VersionOracle.Create (System.String projectDirectory, System.String gitRepoDirectory, Nerdbank.GitVersioning.ICloudBuild cloudBuild, System.Nullable`1[T] overrideBuildNumberOffset, System.String projectPathRelativeToGitRepoRoot) [0x00017] in <d5c302de109d414fa214601b94ba5a00>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Framework/Microsoft.Build.Framework.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.Tasks.GetBuildVersion.ExecuteInner () [0x000c5] in <db38da72e3ec49ccb3403d46c2880fec>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Framework/Microsoft.Build.Framework.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at MSBuildExtensionTask.ContextAwareTask.Execute () [0x0005e] in <2863c467d0fb4834bca629d1f35b9331>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Framework/Microsoft.Build.Framework.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () [0x0002a] in <143af2be99a94a8480f7f49f5d47377c>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Framework/Microsoft.Build.Framework.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask (Microsoft.Build.BackEnd.ITaskExecutionHost taskExecutionHost, Microsoft.Build.BackEnd.Logging.TaskLoggingContext taskLoggingContext, Microsoft.Build.BackEnd.TaskHost taskHost, Microsoft.Build.BackEnd.ItemBucket bucket, Microsoft.Build.BackEnd.TaskExecutionMode howToExecuteTask) [0x002a2] in <143af2be99a94a8480f7f49f5d47377c>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Framework/Microsoft.Build.Framework.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: The "Nerdbank.GitVersioning.Tasks.GetBuildVersion" task failed unexpectedly. [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Xunit.NetCore.Extensions/Xunit.NetCore.Extensions.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: This is an unhandled exception from a task -- PLEASE OPEN A BUG AGAINST THE TASK OWNER. [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Xunit.NetCore.Extensions/Xunit.NetCore.Extensions.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: System.BadImageFormatException: Method has no body [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Xunit.NetCore.Extensions/Xunit.NetCore.Extensions.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: File name: 'LibGit2Sharp' [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Xunit.NetCore.Extensions/Xunit.NetCore.Extensions.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at LibGit2Sharp.Core.Proxy.git_libgit2_opts_set_search_path (LibGit2Sharp.ConfigurationLevel level, System.String path) [0x00000] in <b59d5da32f8541b2a767004d8bddc22b>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Xunit.NetCore.Extensions/Xunit.NetCore.Extensions.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at LibGit2Sharp.GlobalSettings.SetConfigSearchPaths (LibGit2Sharp.ConfigurationLevel level, System.String[] paths) [0x0001a] in <b59d5da32f8541b2a767004d8bddc22b>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Xunit.NetCore.Extensions/Xunit.NetCore.Extensions.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.GitExtensions.OpenGitRepo (System.String pathUnderGitRepo) [0x00012] in <d5c302de109d414fa214601b94ba5a00>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Xunit.NetCore.Extensions/Xunit.NetCore.Extensions.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.VersionOracle.Create (System.String projectDirectory, System.String gitRepoDirectory, Nerdbank.GitVersioning.ICloudBuild cloudBuild, System.Nullable`1[T] overrideBuildNumberOffset, System.String projectPathRelativeToGitRepoRoot) [0x00017] in <d5c302de109d414fa214601b94ba5a00>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Xunit.NetCore.Extensions/Xunit.NetCore.Extensions.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.Tasks.GetBuildVersion.ExecuteInner () [0x000c5] in <db38da72e3ec49ccb3403d46c2880fec>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Xunit.NetCore.Extensions/Xunit.NetCore.Extensions.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at MSBuildExtensionTask.ContextAwareTask.Execute () [0x0005e] in <2863c467d0fb4834bca629d1f35b9331>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Xunit.NetCore.Extensions/Xunit.NetCore.Extensions.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () [0x0002a] in <143af2be99a94a8480f7f49f5d47377c>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Xunit.NetCore.Extensions/Xunit.NetCore.Extensions.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.33/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask (Microsoft.Build.BackEnd.ITaskExecutionHost taskExecutionHost, Microsoft.Build.BackEnd.Logging.TaskLoggingContext taskLoggingContext, Microsoft.Build.BackEnd.TaskHost taskHost, Microsoft.Build.BackEnd.ItemBucket bucket, Microsoft.Build.BackEnd.TaskExecutionMode howToExecuteTask) [0x002a2] in <143af2be99a94a8480f7f49f5d47377c>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Xunit.NetCore.Extensions/Xunit.NetCore.Extensions.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: The "Nerdbank.GitVersioning.Tasks.GetBuildVersion" task failed unexpectedly. [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/Dependency/Dependency.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: This is an unhandled exception from a task -- PLEASE OPEN A BUG AGAINST THE TASK OWNER. [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/Dependency/Dependency.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: System.BadImageFormatException: Method has no body [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/Dependency/Dependency.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: File name: 'LibGit2Sharp' [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/Dependency/Dependency.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at LibGit2Sharp.Core.Proxy.git_libgit2_opts_set_search_path (LibGit2Sharp.ConfigurationLevel level, System.String path) [0x00000] in <b59d5da32f8541b2a767004d8bddc22b>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/Dependency/Dependency.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at LibGit2Sharp.GlobalSettings.SetConfigSearchPaths (LibGit2Sharp.ConfigurationLevel level, System.String[] paths) [0x0001a] in <b59d5da32f8541b2a767004d8bddc22b>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/Dependency/Dependency.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.GitExtensions.OpenGitRepo (System.String pathUnderGitRepo) [0x00012] in <150882c73d494e8384ad79d7674b0ae0>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/Dependency/Dependency.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.VersionOracle.Create (System.String projectDirectory, System.String gitRepoDirectory, Nerdbank.GitVersioning.ICloudBuild cloudBuild, System.Nullable`1[T] overrideBuildNumberOffset, System.String projectPathRelativeToGitRepoRoot) [0x00017] in <150882c73d494e8384ad79d7674b0ae0>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/Dependency/Dependency.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.Tasks.GetBuildVersion.ExecuteInner () [0x000c5] in <a9ad9b18f9d14576b838941f05d31209>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/Dependency/Dependency.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at MSBuildExtensionTask.ContextAwareTask.Execute () [0x0005e] in <a039684190264706bf075ac0ee99291f>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/Dependency/Dependency.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () [0x0002a] in <143af2be99a94a8480f7f49f5d47377c>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/Dependency/Dependency.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask (Microsoft.Build.BackEnd.ITaskExecutionHost taskExecutionHost, Microsoft.Build.BackEnd.Logging.TaskLoggingContext taskLoggingContext, Microsoft.Build.BackEnd.TaskHost taskHost, Microsoft.Build.BackEnd.ItemBucket bucket, Microsoft.Build.BackEnd.TaskExecutionMode howToExecuteTask) [0x002a2] in <143af2be99a94a8480f7f49f5d47377c>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/Dependency/Dependency.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: The "Nerdbank.GitVersioning.Tasks.GetBuildVersion" task failed unexpectedly. [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/PortableTask/PortableTask.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: This is an unhandled exception from a task -- PLEASE OPEN A BUG AGAINST THE TASK OWNER. [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/PortableTask/PortableTask.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: System.BadImageFormatException: Method has no body [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/PortableTask/PortableTask.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: File name: 'LibGit2Sharp' [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/PortableTask/PortableTask.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at LibGit2Sharp.Core.Proxy.git_libgit2_opts_set_search_path (LibGit2Sharp.ConfigurationLevel level, System.String path) [0x00000] in <b59d5da32f8541b2a767004d8bddc22b>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/PortableTask/PortableTask.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at LibGit2Sharp.GlobalSettings.SetConfigSearchPaths (LibGit2Sharp.ConfigurationLevel level, System.String[] paths) [0x0001a] in <b59d5da32f8541b2a767004d8bddc22b>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/PortableTask/PortableTask.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.GitExtensions.OpenGitRepo (System.String pathUnderGitRepo) [0x00012] in <150882c73d494e8384ad79d7674b0ae0>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/PortableTask/PortableTask.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.VersionOracle.Create (System.String projectDirectory, System.String gitRepoDirectory, Nerdbank.GitVersioning.ICloudBuild cloudBuild, System.Nullable`1[T] overrideBuildNumberOffset, System.String projectPathRelativeToGitRepoRoot) [0x00017] in <150882c73d494e8384ad79d7674b0ae0>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/PortableTask/PortableTask.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.Tasks.GetBuildVersion.ExecuteInner () [0x000c5] in <a9ad9b18f9d14576b838941f05d31209>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/PortableTask/PortableTask.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at MSBuildExtensionTask.ContextAwareTask.Execute () [0x0005e] in <a039684190264706bf075ac0ee99291f>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/PortableTask/PortableTask.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () [0x0002a] in <143af2be99a94a8480f7f49f5d47377c>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/PortableTask/PortableTask.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask (Microsoft.Build.BackEnd.ITaskExecutionHost taskExecutionHost, Microsoft.Build.BackEnd.Logging.TaskLoggingContext taskLoggingContext, Microsoft.Build.BackEnd.TaskHost taskHost, Microsoft.Build.BackEnd.ItemBucket bucket, Microsoft.Build.BackEnd.TaskExecutionMode howToExecuteTask) [0x002a2] in <143af2be99a94a8480f7f49f5d47377c>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/PortableTask/PortableTask.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: The "Nerdbank.GitVersioning.Tasks.GetBuildVersion" task failed unexpectedly. [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/TaskUsageLogger/TaskUsageLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: This is an unhandled exception from a task -- PLEASE OPEN A BUG AGAINST THE TASK OWNER. [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/TaskUsageLogger/TaskUsageLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: System.BadImageFormatException: Method has no body [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/TaskUsageLogger/TaskUsageLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: File name: 'LibGit2Sharp' [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/TaskUsageLogger/TaskUsageLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at LibGit2Sharp.Core.Proxy.git_libgit2_opts_set_search_path (LibGit2Sharp.ConfigurationLevel level, System.String path) [0x00000] in <b59d5da32f8541b2a767004d8bddc22b>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/TaskUsageLogger/TaskUsageLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at LibGit2Sharp.GlobalSettings.SetConfigSearchPaths (LibGit2Sharp.ConfigurationLevel level, System.String[] paths) [0x0001a] in <b59d5da32f8541b2a767004d8bddc22b>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/TaskUsageLogger/TaskUsageLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.GitExtensions.OpenGitRepo (System.String pathUnderGitRepo) [0x00012] in <150882c73d494e8384ad79d7674b0ae0>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/TaskUsageLogger/TaskUsageLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.VersionOracle.Create (System.String projectDirectory, System.String gitRepoDirectory, Nerdbank.GitVersioning.ICloudBuild cloudBuild, System.Nullable`1[T] overrideBuildNumberOffset, System.String projectPathRelativeToGitRepoRoot) [0x00017] in <150882c73d494e8384ad79d7674b0ae0>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/TaskUsageLogger/TaskUsageLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.Tasks.GetBuildVersion.ExecuteInner () [0x000c5] in <a9ad9b18f9d14576b838941f05d31209>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/TaskUsageLogger/TaskUsageLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at MSBuildExtensionTask.ContextAwareTask.Execute () [0x0005e] in <a039684190264706bf075ac0ee99291f>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/TaskUsageLogger/TaskUsageLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () [0x0002a] in <143af2be99a94a8480f7f49f5d47377c>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/TaskUsageLogger/TaskUsageLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask (Microsoft.Build.BackEnd.ITaskExecutionHost taskExecutionHost, Microsoft.Build.BackEnd.Logging.TaskLoggingContext taskLoggingContext, Microsoft.Build.BackEnd.TaskHost taskHost, Microsoft.Build.BackEnd.ItemBucket bucket, Microsoft.Build.BackEnd.TaskExecutionMode howToExecuteTask) [0x002a2] in <143af2be99a94a8480f7f49f5d47377c>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/TaskUsageLogger/TaskUsageLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: The "Nerdbank.GitVersioning.Tasks.GetBuildVersion" task failed unexpectedly. [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/XmlFileLogger/XmlFileLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: This is an unhandled exception from a task -- PLEASE OPEN A BUG AGAINST THE TASK OWNER. [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/XmlFileLogger/XmlFileLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: System.BadImageFormatException: Method has no body [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/XmlFileLogger/XmlFileLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: File name: 'LibGit2Sharp' [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/XmlFileLogger/XmlFileLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at LibGit2Sharp.Core.Proxy.git_libgit2_opts_set_search_path (LibGit2Sharp.ConfigurationLevel level, System.String path) [0x00000] in <b59d5da32f8541b2a767004d8bddc22b>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/XmlFileLogger/XmlFileLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at LibGit2Sharp.GlobalSettings.SetConfigSearchPaths (LibGit2Sharp.ConfigurationLevel level, System.String[] paths) [0x0001a] in <b59d5da32f8541b2a767004d8bddc22b>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/XmlFileLogger/XmlFileLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.GitExtensions.OpenGitRepo (System.String pathUnderGitRepo) [0x00012] in <150882c73d494e8384ad79d7674b0ae0>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/XmlFileLogger/XmlFileLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.VersionOracle.Create (System.String projectDirectory, System.String gitRepoDirectory, Nerdbank.GitVersioning.ICloudBuild cloudBuild, System.Nullable`1[T] overrideBuildNumberOffset, System.String projectPathRelativeToGitRepoRoot) [0x00017] in <150882c73d494e8384ad79d7674b0ae0>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/XmlFileLogger/XmlFileLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Nerdbank.GitVersioning.Tasks.GetBuildVersion.ExecuteInner () [0x000c5] in <a9ad9b18f9d14576b838941f05d31209>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/XmlFileLogger/XmlFileLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at MSBuildExtensionTask.ContextAwareTask.Execute () [0x0005e] in <a039684190264706bf075ac0ee99291f>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/XmlFileLogger/XmlFileLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () [0x0002a] in <143af2be99a94a8480f7f49f5d47377c>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/XmlFileLogger/XmlFileLogger.csproj]
| /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/.packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask (Microsoft.Build.BackEnd.ITaskExecutionHost taskExecutionHost, Microsoft.Build.BackEnd.Logging.TaskLoggingContext taskLoggingContext, Microsoft.Build.BackEnd.TaskHost taskHost, Microsoft.Build.BackEnd.ItemBucket bucket, Microsoft.Build.BackEnd.TaskExecutionMode howToExecuteTask) [0x002a2] in <143af2be99a94a8480f7f49f5d47377c>:0  [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Samples/XmlFileLogger/XmlFileLogger.csproj]
|
| Time Elapsed 00:02:42.94
| Build failed (exit code '1').
| Cannot open assembly '/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/eng/../artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/MSBuild.dll': No such file or directory.
| Build failed (exit code '2').
| WARNING: /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/temp/run.do_compile.7519:1 exit 2 from './eng/cibuild_bootstrapped_msbuild.sh --host_type mono --configuration Release --binaryLog --skip_tests'
| ERROR: Function failed: do_compile (log file is located at /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/temp/log.do_compile.7519)
...

Patching msbuild/src/Samples/Directory.Build.targets to use the latest Nerdbank.Gitversioning 2.3.38 (that promises to fix build errors on CentOS and Fedora hosts) does not help.
Using /p:DisableNerdbankVersioning=true gives this error:
$ bitbake -c compile msbuild-native
...
Build FAILED.

/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build.Framework, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Build.OM.UnitTests/Microsoft.Build.Engine.OM.UnitTests.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build.Utilities.Core, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Build.OM.UnitTests/Microsoft.Build.Engine.OM.UnitTests.csproj]
Definition/ProjectCollection_Tests.cs(1425,51): error CS0122: 'ThisAssembly' is inaccessible due to its protection level [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Build.OM.UnitTests/Microsoft.Build.Engine.OM.UnitTests.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build.Framework, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/MSBuild/MSBuild.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build.Utilities.Core, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/MSBuild/MSBuild.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build.Framework, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Build.UnitTests/Microsoft.Build.Engine.UnitTests.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Build.UnitTests/Microsoft.Build.Engine.UnitTests.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build.Tasks.Core, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Build.UnitTests/Microsoft.Build.Engine.UnitTests.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build.Utilities.Core, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Build.UnitTests/Microsoft.Build.Engine.UnitTests.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build.Framework, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/MSBuild.UnitTests/Microsoft.Build.CommandLine.UnitTests.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/MSBuild.UnitTests/Microsoft.Build.CommandLine.UnitTests.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build.Utilities.Core, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/MSBuild.UnitTests/Microsoft.Build.CommandLine.UnitTests.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build.Framework, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Tasks.UnitTests/Microsoft.Build.Tasks.UnitTests.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Tasks.UnitTests/Microsoft.Build.Tasks.UnitTests.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build.Utilities.Core, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Tasks.UnitTests/Microsoft.Build.Tasks.UnitTests.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build.Framework, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Utilities.UnitTests/Microsoft.Build.Utilities.UnitTests.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build.Tasks.Core, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Utilities.UnitTests/Microsoft.Build.Utilities.UnitTests.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2248,5): error MSB3836: The explicit binding redirect on "Microsoft.Build.Utilities.Core, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="42.42.42.42" xmlns="urn:schemas-microsoft-com:asm.v1" />". [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Utilities.UnitTests/Microsoft.Build.Utilities.UnitTests.csproj]

Time Elapsed 00:02:06.45
Build failed (exit code '1').
WARNING: /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/temp/run.do_compile.8704:1 exit 1 from './eng/cibuild_bootstrapped_msbuild.sh --host_type mono --configuration Release --binaryLog --skip_tests /p:DisableNerdbankVersioning=true'
...

I then added /p:AutoGenerateBindingRedirects=false according to the suggested solution. Now this error pops up:
$ bitbake -c compile msbuild-native
...
Build FAILED.

Definition/ProjectCollection_Tests.cs(1425,51): error CS0122: 'ThisAssembly' is inaccessible due to its protection level [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/Build.OM.UnitTests/Microsoft.Build.Engine.OM.UnitTests.csproj]
/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2134,5): error MSB3276: Found conflicts between different versions of the same dependent assembly. Please set the "AutoGenerateBindingRedirects" property to true in the project file. For more information, see http://go.microsoft.com/fwlink/?LinkId=294190. [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/MSBuild/MSBuild.csproj]

Time Elapsed 00:02:04.29
Build failed (exit code '1').
WARNING: /data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/temp/run.do_compile.11886:1 exit 1 from './eng/cibuild_bootstrapped_msbuild.sh --host_type mono --configuration Release --binaryLog --skip_tests /p:DisableNerdbankVersioning=true /p:AutoGenerateBindingRedirects=false'
...

Tried to patch MSBuild.sln to remove the failing unittest subproject, Microsoft.Build.Engine.OM.UnitTests. Now this happens:
$ bitbake -c compile msbuild-native
...
Build FAILED.

/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/artifacts/bin/bootstrap/net472/MSBuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(2134,5): error MSB3276: Found conflicts between different versions of the same dependent assembly. Please set the "AutoGenerateBindingRedirects" property to true in the project file. For more information, see http://go.microsoft.com/fwlink/?LinkId=294190. [/data/OE/sicom-manifest-2.5/build/tmp-sicom-glibc/work/x86_64-linux/msbuild-native/16.0-r0/git/src/MSBuild/MSBuild.csproj]
...

So, there's a build error with or without /p:AutoGenerateBindingRedirects=false. This is a complete failure.
How to build msbuild solely from sources with only Mono present as a pre-built software with no extra dependencies?
Environment data
msbuild /version output:
Nothing, it's msbuild that I am trying to build.
OS info:
Yocto 2.5 based cross-compiled custom OS on CentOS 7 build host.

Mistakenly made against the Microsoft repo.
Now reported against Mono at https://github.com/mono/mono/issues/13602

repo: Microsoft/msbuild

license: mit

license_source: bigquery


text:
TVP second operation issue with result set

For TVP, if we use the same result set twice, the second operation does nothing: no data is copied and no data is thrown, unless we move the cursor backwards (if possible).
It will be better if we throw exception when result set cursor is in the end.

+ if table type used for TVP doesn't exist, then copying from empty ResultSet into TVP doesn't throw exception.

ResultSet rs = stmt.executeQuery("SELECT * FROM "+srcTable); // rs is empty
SQLServerPreparedStatement pStmt =(SQLServerPreparedStatement) conn.prepareStatement("INSERT INTO " + tableName + " select * from ? ; ");
pStmt.setStructured(1, tvp, rs); // use table type that doesn't exist
pStmt.execute(); // no exception

closing this issue since they are expected behaviours.

source: gharchive/issue

authors: v-suhame v-xiangs

repo: Microsoft/mssql-jdbc

license: MIT

license_type: permissive

license_source: github-api


text:
Make SQLServerException constructors public

Make SQLServerException constructors public so that interfaces like ISQLServerBulk record can be implemented outside of the package.

Codecov Report

Merging #216 into dev will increase coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev     #216      +/-   ##
============================================
+ Coverage     32.82%   32.86%   +0.04%
+ Complexity     1436     1435       -1
============================================
  Files            97       97
  Lines         23383    23359      -24
  Branches       3889     3881       -8
============================================
+ Hits           7675     7678       +3
+ Misses        14163    14142      -21
+ Partials       1545     1539       -6

Flag
Coverage Δ
Complexity Δ

#JDBC41
32.74% <ø> (+0.09%)
1426 <ø> (ø)
:arrow_down:

#JDBC42
32.81% <ø> (+0.07%)
1433 <ø> (-1)
:arrow_down:

Impacted Files
Coverage Δ
Complexity Δ

...m/microsoft/sqlserver/jdbc/SQLServerException.java
65.85% <ø> (ø)
25 <0> (ø)
:arrow_down:

...a/com/microsoft/sqlserver/jdbc/ParameterUtils.java
46.66% <0%> (-15.56%)
12% <0%> (-7%)

src/main/java/microsoft/sql/DateTimeOffset.java
37.14% <0%> (-2.86%)
8% <0%> (-2%)

...in/java/com/microsoft/sqlserver/jdbc/IOBuffer.java
36.23% <0%> (-0.11%)
0% <0%> (ø)

...om/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java
45.01% <0%> (+0.21%)
183% <0%> (+2%)
:arrow_up:

...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java
24.33% <0%> (+0.44%)
175% <0%> (+5%)
:arrow_up:

...oft/sqlserver/jdbc/SQLServerParameterMetaData.java
20.88% <0%> (+1.1%)
27% <0%> (ø)
:arrow_down:

...om/microsoft/sqlserver/jdbc/ReaderInputStream.java
42.69% <0%> (+1.12%)
15% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b352610...abf2e1b. Read the comment docs.

@mhaderman : Thanks. Can you push code from your dev branch? I just want to avoid cherry-pick merge.

@mhaderman please remove README file from the commit.

@mhaderman can you submit this PR using dev as base branch? Right now the PR is using master as source and dev as destination, so there are additional commits in this PR that are not intended.

Closing with ref #247

source: gharchive/pull-request

authors: codecov-io mhaderman v-nisidh v-suhame


text:
Proposal: set OE_SIMULATION at configure time if libsgx etc. is not found

Similar to #1076, as part of making our build smarter, I propose that if libsgx (or optee etc.) is not found at configure time (that is, -DUSE_LIBSGX=OFF), that we build with OE_SIMULATION set as like a #define. Currently, if we build without SGX available, we still need to set OE_SIMULATION=1 as an environment variable at runtime in order to run the tests. This is annoying! If the binaries were built without SGX available, then only simulation mode is going to be usable by those binaries, so why are we requiring a runtime environment variable? If it's not set, everything fails, and it's not like we can copy this binary to an SGX capable system and have it start working. So let's just automatically run in simulation mode when tests were built without any other support.

/cc @johnkord @anakrish

We're closing this issue because if the libsgx flag isn't set for the build, we can still interface with SGX using AESM.

authors: andschwa johnkord

repo: Microsoft/openenclave


text:
Update instructions and deployment script

Better details on Metrics and Logging post installation steps
Cleaner installation of Azure provider that doesn't require complete
reboot of nodes

@haroldwongms,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

authors: haroldwongms msftclas

repo: Microsoft/openshift-container-platform


text:
change metrics name due to node_exporter upgrade

node_exporter upgrade introduced many metrics name change, change grafana metrics to address no data point in font page.

Coverage decreased (-1.5%) to 76.383% when pulling 37edc1a7a793197375cd5c811a8e5b9f66750266 on xudifsd:fix-no-data-point into 81558013f3cb02fa25c165c200808f823543337a on Microsoft:master.

please test it in INT bed after merge

@fanyangCS deployed in INT bed, it looks all good.

authors: coveralls fanyangCS xudifsd

repo: Microsoft/pai


text:
Youtube embed accessibility

Attempt to fix #2595
Use html5 version of youtube's embed player which is meant to be accessible.

Looks good to me.

authors: microsoftsam veler

repo: Microsoft/pxt


text:
Proper serialization to document of child object with parent does not work

This library does not support the proper serialization of a child class to a Document. You will notice that the parent fields are not saved.
There is a serious bug in the MappingDocumentDbConverter class.  The writeInternal uses reflection instead of a third party Json serializer.  The use of the call ....getClass().getDeclaredFields() will only return the fields declared in a sub class. Parent class fields are ignored.
ex.:
public abstract Vehicle {
private int size;
...
@Document(collection = "mycollection")
public class Truck extends Vehicle...
...
Haven't tested the deserialization process in this specific case with a  document that has a super class field already saved in the DB.

This has been fixed and released in our latest release.
@danielfiore Could you help confirm? We will close this issue then.

Closing this issue because of inactivity.

authors: danielfiore xscript

repo: Microsoft/spring-data-cosmosdb


text:
Optionally suppress generated Builder types

// Let's call this example.thrift

namespace java com.foo.bar

struct Query {
  1: required string text,
  2: optional i64 resultsNewerThan
}

struct SearchResult {
  1: required string url,
  2: required list<string> keywords = [], // A list of keywords related to the result
  3: required i64 lastUpdatedMillis // The time at which the result was last checked, in unix millis
}

service Google {
  list<SearchResult> search(1: Query query)
}

In the example above we need builder only for Query as the value for the search result is populated by deserializer. Looking at the code there is no easy way to distinguish if the model is request/response type.  Any idea on how to go around it?

This is implemented in the newly-landed Kotlin codegen feature.  I'm not inclined to make any efforts for generated Java code - thrifty-java-codegen is sufficiently complex that it would be a big job for which I don't have time.
Since there hasn't been any action here since January, I'm inclined to close this issue.  Are you still planning on doing something here, or is Kotlin good enough?

Kotlin should be enough. It makes sense to close it.

authors: bangarharshit benjamin-bader

repo: Microsoft/thrifty


text:
[pqp] fixes wrong declaration of math functions

Signed-off-by: Tobias Kohlbau tobias@kohlbau.de

@tobiaskohlbau,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Thanks!

authors: msftclas ras0219-msft tobiaskohlbau

repo: Microsoft/vcpkg


text:
Adding a new file to existing project crashes VS

Create an F# console app
Right Click > Add File
Wait for a few seconds.

VS will crash and restart.

I can reproduce it reliably in VS 2017 RC.

Note @brettfo there is another bug is VSTS about renaming a file and having it crash.  That might be related to this.

authors: cartermp vasily-kirichenko

repo: Microsoft/visualfsharp


text:
[RFCs FS-1037, FS-1055] allow flexible inference (subsumption) at  list/sequence/array yield points

RFC FS-1055: https://github.com/fsharp/fslang-design/blob/master/RFCs/FS-1055-subsumption-for-yield-in-sequence-expression.md
F# array and list computation expressions are great.  However when you start to use yield you have to insert coercions, e.g.
let x1 : obj list  = [ yield "" :> obj ]
let x2 : seq<obj>  = seq { yield "" :> _ }

If the nominal type is known by type inference this should not be needed since the corresponding coercion is not needed for the simpler form.
let x1 : obj list  = [ yield ""  ]
let x2 : seq<obj>  = seq { yield "" }

This PR trial this language change.
RFC will follow tomorrow, I'm putting this in to run the whole test suite.

@dsyme Could this also be allowed in more places? E.g. if an expression is known to be of type of an implemented interface member.

Could you give an example please?  You mean on method property return?

@dotnet-bot Test Ubuntu16.04 Release_default Build please

@auduchinok I've looked into allowing subsumption on the bodies of lambdas (which is my interpretation of what you're asking, or at least the natural way to implement it). This is subsumption based on the expected ("known") type of the lambda.
It's potentially simple but there are some additional considerations.  So I don't think it's good to do in a 4.5 timeframe. Perhaps 5.0. The change above is smaller and aligns sequence expressions with list/array expressions.

This is ready. We may add #2382 into this PR, as mentioned there, or do it shortly after

Now also incorporates RFC https://github.com/fsharp/fslang-design/blob/master/RFCs/FS-1037-allow-union-constructors-to-deal-with-flexible-types.md via #4798

This is now ready

It looks like I didn't push the commits for the union constructors (RFC FS-1037), they are now in https://github.com/Microsoft/visualfsharp/pull/5030


text:
Fix error in optimization of for loops over strings and lists

We recently discovered this issue in FAKE:
https://github.com/fsharp/FAKE/issues/985
Which actually comes from FAKE's dependency on FSharp.Compiler.Service, which is based on the latest version of visualfsharp, which contains the actual bug :)
The problem is that the optimization looks for code of the form:
let s = "to loop over"
for x in s do
System.Consolve.WriteLine(x)
This works when code loops over the string, as might be expected, but if you declare a string before the for loop and loop over something else the optimization is triggered and produces a bizarre compile error: For example the following program
let configure () =
let aSequence = seq { yield "" }
let aString = new System.String([||])
for _ in aSequence do
System.Console.WriteLine(aString)
configure ()
Give the following compile error:
myrepo.fs(5,65): error FS0971: Undefined value 'aString: string'
This pull request fixes the issue by looping at the expression that GetEnumator is called on, rather than the let declaration before the loop.

Hi @robertpi, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Thank you for the fix, could you please add a test so we don't regress this.  Thanks

Not sure what I should add as a test. The test I was going to add, to check the foreach loop is correctly turned into a for loop are covered in:
fsharpqa\Source\Optimizations\ForLoop\ForEachOnList01.fs
fsharpqa\Source\Optimizations\ForLoop\ForEachOnString01.fs
Tell me what else is needed and I'll add it.

@robertpi, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

Well it was discovered because of this:
This works when code loops over the string, as might be expected, but if you declare a string before the for loop and loop over something else the optimization is triggered and produces a bizarre compile error: For example the following program
let configure () =
let aSequence = seq { yield "" }
let aString = new System.String([||])
for _ in aSequence do
System.Console.WriteLine(aString)
configure
So I suppose the test is to ensure this compiles and runs correctly.

According to appveyor the fsharp smoketests fail.
[00:27:42] Error: 'RunTests.cmd release fsharpqa Smoke' failed

More output:
+++ CodeGen\EmittedIL\Misc (ForLoop01.fs - NetFx40) +++
[00:27:42] Microsoft (R) F# Compil
[00:27:42] er version (private)
[00:27:42] Copyright (c) Microsoft Corporation. All Rights Reserved.
[00:27:42] POSTCMD: [..\CompareIL.cmd ForLoop01.exe NetFx40]
[00:27:42]
[00:27:42] C:\projects\visualfsharp-radou\tests\fsharpqa\Source\CodeGen\EmittedIL\Misc>REM == ForLoop01.exe --> assembly
[00:27:42]
[00:27:42] C:\projects\visualfsharp-radou\tests\fsharpqa\Source\CodeGen\EmittedIL\Misc>REM == NetFx40 --> NetFx20|NetFx40 (default is NetFx20) - case insensitive
[00:27:42]
[00:27:42] C:\projects\visualfsharp-radou\tests\fsharpqa\Source\CodeGen\EmittedIL\Misc>ildasm /TEXT /LINENUM /NOBAR "ForLoop01.exe"  1>"ForLoop01.il"
[00:27:42]
[00:27:42] C:\projects\visualfsharp-radou\tests\fsharpqa\Source\CodeGen\EmittedIL\Misc>IF NOT ERRORLEVEL 0 exit 1
[00:27:42]
[00:27:42] C:\projects\visualfsharp-radou\tests\fsharpqa\Source\CodeGen\EmittedIL\Misc>IF /I "NetFx40" == "NetFx40" goto :NetFx4
[00:27:42]
[00:27:42] C:\projects\visualfsharp-radou\tests\fsharpqa\Source\CodeGen\EmittedIL\Misc>..\..\..\..\testenv\bin\ILComparer.exe "ForLoop01.il.netfx4.bsl" "ForLoop01.il"
[00:27:42] Files differ at line 49:
[00:27:42] 	>>              [2] int32 wi,
[00:27:42] 	<<              [2] class [FShar
[00:27:42] p.Core]Microsoft.FSharp.Collections.FSharpList`1<int32> V_2,
[00:27:42]
[00:27:42] C:\projects\visualfsharp-radou\tests\fsharpqa\Source\CodeGen\EmittedIL\Misc>exit /b 1
[00:27:42]

I've provided an alternative implementation of a fix here: https://github.com/Microsoft/visualfsharp/pull/756 .  It incorporates some of the ideas from this fix but applies some additional constraints.  I've also added the original repro as a test.

Closing as covered by 742

A not-so-pretty workaround for this issue is here: https://github.com/Microsoft/visualfsharp/issues/759#issuecomment-162243299.  (note however it requires changes to user code)

authors: KevinRansom dsyme msftclas robertpi


text:
Suggestion: Handle the case where the caret is placed arbitrarily within a logical soft-tab

Backspace++: v.0.0.12
VS Code: v.0.10.11
Try this with a tab width of n = 4

Create a line with 2 x n = 8 spaces - a perfect multiple of the tab width.
Place the caret after (2 x n) - 1 = 7 of the spaces - leaving one space to the right
Press backspace.

I absolutely love the fact that it removes only n - 1 = 3 characters to the left of the caret, leaving one whole tab. I think it might be awesome if it also removed the space to the right of the caret since it logically belonged to the soft-tab that was removed.
Backspace++ is a life-saver. Thanks for making it!

I like, I wonder if it should be the default tho....

It would feel strange if spaces to the right of the cursor were deleted on backspace.

yeah, maybe we implement similar logic for the deleteRight command

authors: Tyriar jrieken stephenmartindale

repo: Microsoft/vscode-backspace


text:
Extension causes high cpu load

Issue Type: Performance
Extension Name: vscode-eslint
Extension Version: 1.8.2
OS Version: Darwin x64 18.5.0
VSCode version: 1.33.1

dbaeumer.vscode-eslint-unresponsive.cpuprofile.txt

@ajrussellaudio thanks for providing the information.

authors: ajrussellaudio dbaeumer

repo: Microsoft/vscode-eslint


text:
Fix warning messages on CI server for Travis

prospector 0.12.7 has requirement pycodestyle==2.0.0, but you'll have pycodestyle 2.3.1 which is incompatible.

New prospector version released. Please update your environment :smiley:

@brettcannon does it still need a PR? AFAICT, this issue has already been fixed by upstream.

Agreed.

authors: DonJayamanne chocoelho

repo: Microsoft/vscode-python


text:
cannot autocomplete Python asyncio module with Python extension

cannot autocomplete Python asyncio module
env:

windows 10
python 3.7.1
vscode 1.30.1
python extention version : 2018.12.1

config:

jediEnabled: True

even setting
"python.autoComplete.extraPaths": [
"path\to\asyncio"
]
pics:

but other modules like threading/ time ..etc are ok

by the way, i tried this in atom/sublime text3, none of them had this problem.

It works for me:

Make sure you waited long enough for Jedi to start and that you don't have a personal copy of Jedi installed that is overriding the one that comes with the extension.  If that doesn't solve it then come back and we can continue to try and debug this.

authors: Provinm brettcannon


text:
Each build of VSIX should have a unique version

[ ] Update version to contain a unique (incrementing) build number
[ ] Ensure version number of extension in package.json is in sync with version number in changelog.md for releases
[ ] Review and update https://github.com/Microsoft/vscode-python/blob/master/CONTRIBUTING.md#versioning

Already done


text:
Indent guides should use guides setting from tmTheme, not invisibles

VSCode Version: Code - Insiders 1.5.0-insider (11ffcfcf69608c07e7db4b4c77856854d5083497, 2016-08-16T06:12:46.372Z)
OS Version: Linux x64 4.4.0-34-generic, Ubuntu 16.04

In order to be consistent with Sublime Text.

Nice catch!

Whitespace might also use guide, I'm not 100% sure.

I am not sure if white space rendering uses guide setting.. I think there is a different setting highlight.whitespace.

authors: Tyriar alexandrudima sandy081

repo: Microsoft/vscode


text:
[loc][Query][VSCode] Please clarify the context for a string

Hi, we have a question from our translator. Can you help please? Thanks!
Source:
[Unsupported]
File Name:
src\vs\workbench\services\history\browser\history.nls.resx
Resource ID:
".resx", 0; "patchedWindowTitle"
Query:
Please clarify context for gender/issue.	CnE_Developer_Moravia_ITA1@hotmail.com	11/15/2016 7:44:15 PM

@mkyjakova we show [Unsupported] in the window title if we detect an installation that has corrupt bits on disk. Let me know if you need more details.

authors: bpasero mkyjakova


text:
Documentation: Extension Manifest doesn't exist

The FAQ in the Customize Visual Studio Code page points to a non-existing Extension Manifest page.
Clicking the link yields a 404.

@chrisdias fyi

@gregvanl can you take a look?

Fixed in vscode-docs repo commit https://github.com/Microsoft/vscode-docs/commit/a0091326a57d770f032dd8210f5de9078136d868

authors: SetTrend bpasero chrisdias gregvanl


text:
useCodeSnippetsOnMethodSuggest for javascript not working

VSCode Version: 1.8.1
OS Version: win10

http://stackoverflow.com/questions/30793337/vscode-intellisense-autocomplete-for-javascript
I expected : document.getElementById("")
but the result was : document.getElementById
I saw the relative merge
https://github.com/Microsoft/vscode/pull/16351
but the lastest build dosen't work too.

I'm unable to repo this in 1.8.1 in a simple JS file. Just to make sure, you are setting 	"typescript.useCodeSnippetsOnMethodSuggest": true correct? There is no 	"javascript.useCodeSnippetsOnMethodSuggest" setting as the stack overflow answer indicates.

Yes. my setting is  "typescript.useCodeSnippetsOnMethodSuggest": true.
Perhaps, there was such an option in the past.
This is my test code.

@AlcoholV Are you in a js file, or inside a script block in javascript?

@mjbvz  Oh.. It works fine in js files. I'm working in html script block.

@AlcoholV Thanks. I believe this is expected currently since script blocks are handled by the html extension instead of the js/ts extension. I've changed the title to make the issue here more clear

We have this setting only for typescript. I find it a bit strange that the embedded JavaScript would listen to that setting.
IMO not a bug but a feature request.

To keep the number of issues in our inbox on a manageable level, we're closing issues that have been on the backlog for a long time but haven't gained traction: We look at the number of votes the issue has received and the number of duplicates issues filed.
If you disagree and feel that this issue is crucial: We're happy to listen and to reconsider.
Maybe you want to give it a try yourself and provide the feature through an extension or a PR: We're happy to give advise and get you started.
Thanks for your understanding. Thanks for helping and happy coding!

authors: AlcoholV aeschli mjbvz


text:
No replace widget in untitled new files

If one creates a new file and opens the Find widget, the arrow to open the replace input is missing.

I can not reproduce this with the latest vscode which has updates to the find widget

authors: SrTobi isidorn


text:
Tab completion (e.g. Emmet) stopped working

VSCode Version: Code - Insiders 1.10.0-insider (eff9148502fd3edf42573beb16006bee533c3cf9, 2017-02-08T07:05:20.062Z)
OS Version: Darwin x64 16.4.0
Extensions:

Extension
Author
Version

code-settings-sync
Shan
2.4.3

sort-lines
Tyriar
1.2.0

html-css-class-completion
Zignd
1.0.3

Bookmarks
alefragnani
0.10.2

project-manager
alefragnani
0.13.2

vscode-angular-files
alexiv
1.3.7

vscode-eslint
dbaeumer
1.2.5

tslint
eg2
0.8.1

vscode-great-icons
emmanuelbeziat
1.1.44

auto-rename-tag
formulahendry
0.0.11

Angular2
johnpapa
1.0.2

vscode-icon-theme
jtlowe
1.4.0

theme-karyfoundation-themes
karyfoundation
11.0.0

ftp-sync
lukasz-wronski
0.3.2

HTMLHint
mkaufman
0.3.3

vscode-autoprefixer
mrmlnc
2.0.0

vscode-csscomb
mrmlnc
4.0.0

vscode-postcss-sorting
mrmlnc
2.2.1

vscode-stylefmt
mrmlnc
2.2.2

Theme-1337
ms-vscode
0.1.2

angular2-inline
natewallace
0.0.17

vscode-icons
robertohuertasm
7.2.0

stylelint
shinnn
0.22.0

darcula-extended
smlombardi
3.3.2

slime
smlombardi
1.0.3

theme-espresso
smlombardi
1.0.1

theme-tesla
smlombardi
6.0.0

change-case
wmaurer
1.0.0

Steps to Reproduce:

in SCSS or CSS file, type something like h40 and hit tab.  Nothing happens.  Should expand to height: 40px

in HTML file type div and tab.  Nothing happens, should expand to

This is a recent regression, worked fine yesterday.

Same here - might be related to:
239b199f6dcdbfb1fb3105c0954ef21e61fd326e

Saying that - there seem to be some reports of tab key not working full stop...

@admmasters  Yes, I have subsequently noticed the tab key doesn't work at all. Thanks.

Likely related to https://github.com/Microsoft/vscode/issues/20209

authors: admmasters smlombardi


text:
In the past 5 minutes, the TypeScript language service unexpectedly suspended for the 5 time

VSCode Version: Code 1.9.1 (f9d0c687ff2ea7aabd85fb9a43129117c0ecf519, 2017-02-09T00:26:45.394Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

html-snippets
abusaidm
0.1.0

project-manager
alefragnani
0.13.2

path-intellisense
christian-kohler
1.2.0

vscode-eslint
dbaeumer
1.2.6

vscode-html-css
ecmel
0.0.33

auto-rename-tag
formulahendry
0.0.11

vue-snippets
hollowtree
0.1.0

beautify
HookyQR
0.8.0

sky-react-create-snippet
lulinmemeda
0.0.3

vscode-icons
robertohuertasm
7.2.0

vue
seanwash
0.4.2

guides
spywhere
0.6.1

react-beautify
taichi
0.3.0

Steps to Reproduce:
1.open vsc;
2.open javascript file
3.The warning bar has been beating, unable to close,and warning's tip is In the past 5 minutes, the TypeScript language service unexpectedly suspended for the 5 time

If you see a message about a missing typescript/... file, you may be seeing #20496 in which an antivirus program is deleting our TypeScript implementation. See this comment for workarounds
Let me know if this is not the case

@mjbvz I used the command subst X: to map a virtual disk X disk, and then work on the X disk. And how can I solve this problem?

Opening a folder from a mapped network drive will crash TypeScript 2.1.6. We are tracking a fix here: https://github.com/Microsoft/TypeScript/issues/13997
Thanks


text:
New Insiders Build Crashing After A While (And Immediately after Inserting an  tag)

Since updating to the latest version this morning, the performance of the insiders build has been degrading over usage time. It works perfectly on startup, but after a while, when I type something like <div class= it starts to become unresponsive.
After a little while longer, the program completely crashes and I am given a popup box asking me to reload the page or wait until it responds.
I've checked the task manager on my computer and there is nothing causing any bottleneck on my ram or cpu and all other programs that I am running are still performing the same as they were yesterday.
EDIT: Note: It seems to happen every time I try to create an anchor tag, so maybe it is something to do with the intellisense autocompletion as I get to type 'a' and then it crashes.

VSCode Version: 1.11.0-insider commit: 32942fd950cf2ffe19c44f944170014704b4fd2c
OS Version: Windows 10 Pro

Steps to Reproduce:

Open VsCode Insiders
Wait for a while, and the performance will start to degrade when using normally
After an unknown amount of time, the program will completely crash and have to be restarted

@markheron91
I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line (NOT the integrated terminal in Code), execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

There hasn't been any changes to the HTML language service in the latest release...

@bpasero tried running it without the extensions I have installed but I still get the same problem. I am wondering if it is something to do with my machine especially if noone else is having the same problem - anyhow the extensions I have installed are

Atom One Dark Theme
final-newline
language-vscode-javascript-angular2
REST client
TSLint
vscode-icons

@markheron91 can you see if a specific process is resulting in high CPU when this happens?

This is a snapshot of the task manager while my vscode is crashing - nothing looks too out of the ordinary as far as I can see

@markheron91 can you double check that you are not seeing this crash in stable?

@bpasero using the stable version just now and it looks ok haven't had any crashes so far

@markheron91 do you get a dialog when it crashes or is it just going down? can you share a video?

@bpasero unable to make a video at the moment but after I have tried to write some code, it freezes, and after about 15-20 seconds I get this popup message

Please see if you can find any logged output that could help us find the source of the issue:

run code --verbose from the command line and attach the output
in Code select Help | Toggle Developer Tools and select the Console
attach any output you see in the Console you can find

Thanks!

@bpasero the code command is opening the stable version of vscode on my system as I have both installed. As for using the dev tools when I have the console open and try to reproduce the error the crash still happens but the dialog box that I posted before doesn't show up

@markheron91 try code-insiders

I've the same error, after some minutes into vs code this happens and then it just freezes (I've a bootsrap v4 folder open with all sass files):
Problem

Video

(I fast forward the gif, since it takes some seconds until the warning appears)
Result

Version

@ciruz can you share this workspace with us or the file where it crashes?

Sure, here is a repo for you https://github.com/ciruz/vscode-crash.
It's basically a default bootstrap v4 source folder with a default starter template.
After adding some elements, it happend:

@ciruz tried and cannot reproduce after trying for a couple of minutes. Does it reproduce for you when you disable all extensions?
How are your settings looking like?

Hey sorry was on a hiking trip.
Here you go:
{
    "editor.detectIndentation": false,
    "editor.renderWhitespace": "all",
    "editor.renderIndentGuides": true,
    "window.zoomLevel": 0,
    "typescript.check.tscVersion": false,
    "workbench.welcome.enabled": false,
    "workbench.iconTheme": "vscode-great-icons",
    "html.format.indentInnerHtml": true,
    "editor.minimap.enabled": true,
    "search.exclude": {
        "**/.git": true,
        "**/node_modules": true,
        "**/bower_components": true,
        "**/tmp": true,
        "**/Zend": true
    },
    "terminal.integrated.shell.windows": "C:\\WINDOWS\\Sysnative\\WindowsPowerShell\\v1.0\\powershell.exe"
}

authors: aeschli bpasero ciruz markheron91


text:
[theme] add text colors

Text colors should be used for formatted text (e.g. preview, markdown, send a smile text) but also in views for richer labels.

textLabel.foreground: Foreground color for main text and labels.

textDescription.foreground: Foreground color for description text, typically providing additional information to the label text.

textPreformat.background: Border color for preformatted text segments.

textPreformat.foreground: Foreground color for preformatted text segments.

textTitle.border: Border color for titles.

textTitle.foreground: Foreground color for titles.

textSubTitle.foreground: Foreground color for titles.

textBlockQuote.background: Background color for block quotes in text.

textBlockQuote.border: Border color for block quotes in text.

textCodeBlock.background: Background color for code blocks in text.

textLink.foreground: Foreground color for links in text.

textLink.activeForeground: Foreground color for active links in text.

textTableHeader.border: Border color for table headers.

FYI @bpasero @mjbvz

I am a little bit concerned that we add too many new concepts and if we need them all. Can we fold these into one?
textLabel / textDescription
textTitle / textSubTitle
?

Updated the list after looking into it together with @aeschli

authors: aeschli bpasero


text:
Cannot have multiple instances of VS Code when running as admin

VSCode Version: Code 1.13.0 (376c52b955428d205459bea6619fc161fc8faacf, 2017-06-08T16:43:13.058Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

gitignore
codezombiech
0.5.0

vscode-markdownlint
DavidAnson
0.9.1

githistory
donjayamanne
0.2.0

xml
DotJoshJohnson
1.8.0

json-tools
eriklynd
1.0.2

git-project-manager
felipecaputo
1.3.2

mssql
ms-mssql
1.0.0

csharp
ms-vscode
1.10.0

PowerShell
ms-vscode
1.3.2

team
ms-vsts
1.118.2

gitblame
waderyan
1.11.2

markdown-pdf
yzane
0.1.7

Steps to Reproduce:

Open an instance of Visual Studio Code to "Run as administrator"
Right-click on the window in the Windows task bar and choose "New Window" OR just try and launch a new instance of VS Code the regular way (click desktop shortcut, launch via start menu, etc.).
Nothing happens.

You would expect a new instance/window of Visual Studio Code to appear, but nothing happens. The functionality works as expected when not running VS Code as admin. It seems that when you are running VS Code as admin, you can never have more than one instance running at a time.

Can repro this in Insiders as well

This issue has already been reported. Please use the search function next time before reporting an issue and/or this time if you are curious about the progress of the issue.

Thanks @bpasero. I actually had searched for "admin" and looked through the details of a few of them before reporting this issue to see if it had already been reported, but did not notice any that looked like this problem. Searching more thoroughly now I do see two open issues that are related to this problem:
Allow to open different windows with different permissions #6560
Better support running Code as administrator #1614
In the future I would ask that when you report an issue as duplicate, you also provide a link to the other issue(s) like I have done here, to make it easier for people who may find this issue in the future and want to get to the original issue to see the status of it. Thanks!

authors: bpasero deadlydog ramya-rao-a


text:
Option to link the explorer directory to the internal terminal's directory

VSCode Version: 1.13.1
OS Version: Linux Mint 18 Sarah

I used to be a heavy Vim user, but I've finally started to move away from it since VS Code is much easier (to setup at least) and has awesome Vim bindings available. The only thing I'm still missing is a way to integrate terminal usage properly into the editor. VS Code already has a built-in terminal support, which is awesome, but I'd like to request a further feature where changing the directory in the internal terminal would also change the directory shown in the explorer view.
I.e. the areas marked with red would always match to each other, and doing something like cd .. would also go up by one directory in the explorer view:

Ideally this would be a full terminal integration, so doing something like git checkout dev would also change the integrated git's branch to dev. It's probably best to leave it as an option, not everyone wants this I believe.

No plans to add something like this any time soon, it may be possible as an extension when the terminal API is built out more.

authors: Mahi Tyriar


text:
URI toString() percent-encodes colon symbol after drive letter (MS Win 10)

While developing an MS VS Code extension in JavaScript, I encountered this unexpected behaviour while accessing the URI of the current document open in the editor;
editor.document.uri.toString()

Returns invalid MS Win 10 file URI
"file:///d%3A/Dir/VS-Code/Extensions/vscode-opn/temp/index.html"

When it should return a valid MS Win 10 file URI
"file:///d:/Dir/VS-Code/Extensions/vscode-opn/temp/index.html"

Code Snippet;

var editor = vscode.window.activeTextEditor;

// Bug workaround
if (editor.document.uri.scheme.toString() === 'file') {
  opn('file://'+editor.document.uri.path.toString());
}
else {
  opn(editor.document.uri.toString());
}

@lfurzewaddock what do you mean by MS Win 10 file uri? Passing file:///d%3A/Dir/VS-Code/Extensions/vscode-opn/temp/index.html to the C# implementation of Uri does the correct thing.

@lfurzewaddock As a workaround you should use fsPath (which also handles network shares). The real fix is to use a 'scheme'-dependent encoding. Fixing this might have unwanted consequences because we use the URI often as a key in persisted storage

OK @jrieken, fsPath will work on all 3 platforms (Win, Mac and Linux) too?
Out of interest if I implemented 'scheme'-dependent encoding locally for my extension, I would check editor.document.uri.scheme.toString() then encode which property? In other words which property holds the raw/untouched path, recommended to be encoded depending on the scheme to work on all platforms?

Yes, fsPath is the one use for fs operations. It's also honors UNC share paths were windows paths are made up from a authority and path, like file://shares/file/stuff is \\shares\file\stuff where the path is just /file/stuff and auth is shares.

I afraid that the raw path as given to parse isn't stored but only the uri components

Idea is that Uri#toString will take a parameter that controls to what degree encoding happens. If not wished only what is required to parse into the same result again is encoded, a sample would be the #-character inside a path: file:///pröjects/c#/file.cs#l=12 will toString like this: file:///pröjects/c%23/file.cs#l=12

With 65cb339 I pushed a change that allows you to skipEncoding when calling URI.toString. That or fsPath should be sufficient when talking to other applications/systems

authors: jrieken lfurzewaddock


text:
Do not clean last command on escape key press

VSCode Version: 1.14.1
OS Version: Windows 10 bulid 15063

Summary
Sometimes I open the Command Palette Ctrl+Shift+P by mistake, for example, while I actually want to open is the Goto Anything... Ctrl+P. So I press Escape key, to close the Command Palette. However doing so erases my last command inputted.
Expected behavior
To remember the last inputted command on the Command Palette when it is closed by the Escape key.
To clean the last inputted command on the Command Palette it is expected to:

Open the Command Palette Ctrl+Shift+P
Press the Backspace key
Press the Escape key to close the Command Palette

Actual behavior
The last inputted command on the Command Palette is forgotten when the Command Palette is closed by the Escape key.
Steps to reproduce

Enable the setting "workbench.commandPalette.preserveInput": true,
Open the Command Palette Ctrl+Shift+P
Type some command as select
Open the Command Palette again, you will notice your command select is remembered
Now press the Escape key
Open the Command Palette again
Your command select was forgotten

Reproduces without extensions: Yes

Related issues:

https://github.com/Microsoft/vscode/issues/17163 Preserve and restore the last typed text in command palette
https://github.com/SublimeTextIssues/Core/issues/1814 Command palette cleans the last command on escape key press

/duplicate https://github.com/Microsoft/vscode/issues/29553

authors: bpasero evandrocoan


text:
Telemetry application insights refactor

[ ] windows @joaomoreno
[ ] mac @weinand
[ ] linux @Tyriar

The application insights adapter has been refactored, that code path is critical as it affects all the telemetry data flowing from VSCode.
To test:

Open the dev tools and set a breakpoint at application insight channel.js#79

Do some work in the product

console.log batch

verify that events are flowing, when verifying events make sure:

all events are prefixed with monacoworkbench/
numeric values are under measures.
textual values are under properties.

This test description was bad. I've updated with better steps.

authors: SofianHn joaomoreno


text:
Git conflict decorations do not clean themselves

have a git conflict
click around if the line conflict decorations don't show up
delete the conflicting lines
undo
Observe: now the conflict decorations never disappear without a Reload window or a new model instantiation.

Yeah... duplicate of #66 :/

authors: alexandrudima joaomoreno


text:
TypeScript must flag resource settings as resource settings otherwise they are treated as window settings

IMO all typescript settings which are currently not marked as window settings must be marked as resource settings. Window is the default and now for example all formatter settings are window settings which IMO doesn't make much sense. We should prefer resource of window if possible.

IMO we should address this for September.

@mjbvz actually I meant August.


text:
Keyboard navigation across word-boundaries doesn't feel right

Right now, the cursor in vscode jumps from the ending of one word to the ending of the next even when there are spaces and other characters between them.
Demo (with a pipe as my current cursor |, and repeated presses Ctrl+Right)
"|command": "actions.find"
"command|": "actions.find"
"command": "actions|.find"

Expected (sublimetext)
"|command": "actions.find"
"command|": "actions.find"
"command":| "actions.find"
"command": "actions|.find"

I think another related issue is that there is no setting in vscode (that I could find) of specifying the word separators (regex) such as in Sublime - or there should be a sub-word navigation option.
This was discussed here earlier: https://github.com/Microsoft/vscode/issues/3249

@kumarharsh Thank you for the feedback. In the upcoming 10.10, the word navigation has been refurbished and these will be the new stops for Ctrl+Right for your example:
|"command": "actions.find"
"|command": "actions.find"
"command|": "actions.find"
"command":| "actions.find"
"command": "|actions.find"
"command": "actions|.find"
"command": "actions.|find"
"command": "actions.find|"
"command": "actions.find"|

There will also be a new setting editor.wordSeparators where you can customize what a word is.

What about camel case?
|"commandCamelCase": "actions.find"
"|commandCamelCase": "actions.find"
"command|CamelCase": "actions.find"
"commandCamel|Case": "actions.find"
"commandCamelCase|": "actions.find"

@gordey4doronin that is subword navigation, which is being discussed in another issue.

@kumarharsh Yes, I saw the issue #541
However.. I'm curious why we call it subword?
If we have something like this command-with-few-words, then it works fine.
It sees there are 4 word separated with - symbol which is taken from "editor.wordSeparators": "~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?".
And when we have commandWithFewWords, why it became subwords rather than words?
My expectation is vscode needs to understand that camel-case is also some kind of a word separator.
@alexandrudima What do you think?

You are correct, they are very similar in nature.
But technically, one is called word navigation (as it involves separator characters between groups of characters that become a word, so command-with-few-words is a group of characters containing 4 words if - is defined as a separator) and one is called subword navigation (as it involves examining the contents of a word commandWithFewWords is a group of characters containing 1 word and 4 subwords).
They usually have different implementations and the latter involves some interesting questions about localization myÜberCoolWord, therefore making it non-trivial to implement correctly.

@alexandrudima Oh... I was going to take a shot at it this weekend, but hadn't thought the case for localization at all. :disappointed:

authors: alexandrudima gordey4doronin kumarharsh