text:
Ability to run MSI installer projects

Steps to reproduce
Attempt to build an MSI installer project which will fail because you can't install the VSIX with only msbuild installed.
Expected  behavior
As a developer i should be able to build msi projects with msbuild only.
Actual behavior
Successful generation of MSIs
Environment data
msbuild /version output:
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

15.9.20.62856
OS info:
Windows Server 2016

Can you clarify what you mean by "msbuild only"?
As a bit of background: components of Visual Studio and third parties can extend the types of projects that MSBuild can build, so you need to install the appropriate workloads as part of Visual Studio or Build Tools for Visual Studio and in some cases install SDKs separately before you can build some kinds of project.

this needs to be installed: https://marketplace.visualstudio.com/items?itemName=VisualStudioClient.MicrosoftVisualStudio2017InstallerProjects
which doesn't seem to be compatible with msbuild15 (without installing VS)

More detailed message:

1/4/2019 2:55:07 PM - Microsoft VSIX Installer
1/4/2019 2:55:07 PM - -------------------------------------------
1/4/2019 2:55:07 PM - vsixinstaller.exe version:
1/4/2019 2:55:07 PM - 15.6.152+ge95e4dd1ce
1/4/2019 2:55:07 PM - -------------------------------------------
1/4/2019 2:55:07 PM - Command line parameters:
1/4/2019 2:55:07 PM - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\jschuhmann\Desktop\InstallerProjects.vsix
1/4/2019 2:55:07 PM - -------------------------------------------
1/4/2019 2:55:07 PM - Microsoft VSIX Installer
1/4/2019 2:55:07 PM - -------------------------------------------
1/4/2019 2:55:08 PM - Initializing Install...
1/4/2019 2:55:08 PM - Extension Details...
1/4/2019 2:55:08 PM - 	Identifier         : VSInstallerProjects
1/4/2019 2:55:08 PM - 	Name               : Microsoft Visual Studio Installer Projects
1/4/2019 2:55:08 PM - 	Author             : Microsoft
1/4/2019 2:55:08 PM - 	Version            : 0.9.0
1/4/2019 2:55:08 PM - 	Description        : This official Microsoft extension provides support for Visual Studio Installer Projects in Visual Studio.
1/4/2019 2:55:08 PM - 	Locale             : en-US
1/4/2019 2:55:08 PM - 	MoreInfoURL        :
1/4/2019 2:55:08 PM - 	InstalledByMSI     : False
1/4/2019 2:55:08 PM - 	SupportedFrameworkVersionRange : [4.6.1,)
1/4/2019 2:55:08 PM -
1/4/2019 2:55:09 PM - 	SignatureState     : ValidSignature
1/4/2019 2:55:09 PM - 	SignedBy           : Microsoft Corporation
1/4/2019 2:55:09 PM - 	Certificate Info   :
1/4/2019 2:55:09 PM - 		-------------------------------------------------------
1/4/2019 2:55:09 PM - 		[Subject]       : CN=Microsoft Corporation, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
1/4/2019 2:55:09 PM - 		[Issuer]        : CN=Microsoft Code Signing PCA 2010, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
1/4/2019 2:55:09 PM - 		[Serial Number] : 330000026ECE6AE5984BFC96A900000000026E
1/4/2019 2:55:09 PM - 		[Not Before]    : 9/6/2018 9:00:30 PM
1/4/2019 2:55:09 PM - 		[Not After]     : 9/6/2019 9:00:30 PM
1/4/2019 2:55:09 PM - 		[Thumbprint]    : 99B6246883B4B32EA59AE18B36945D205A876800
1/4/2019 2:55:09 PM -
1/4/2019 2:55:09 PM - 	Supported Products :
1/4/2019 2:55:09 PM - 		Microsoft.VisualStudio.Community
1/4/2019 2:55:09 PM - 			Version : [15.0,17.0)
1/4/2019 2:55:09 PM -
1/4/2019 2:55:09 PM - 	References         :
1/4/2019 2:55:09 PM - 	Prerequisites      :
1/4/2019 2:55:09 PM - 		-------------------------------------------------------
1/4/2019 2:55:09 PM - 		Identifier   : Microsoft.VisualStudio.MinShell
1/4/2019 2:55:09 PM - 		Name         : Visual Studio Min Shell
1/4/2019 2:55:09 PM - 		Version      : [15.0.26205,17.0)
1/4/2019 2:55:09 PM -
1/4/2019 2:55:09 PM - 		-------------------------------------------------------
1/4/2019 2:55:09 PM - 		Identifier   : Microsoft.Component.ClickOnce
1/4/2019 2:55:09 PM - 		Name         : ClickOnce Publishing
1/4/2019 2:55:09 PM - 		Version      : [15.0,17.0)
1/4/2019 2:55:09 PM -
1/4/2019 2:55:09 PM - Signature Details...
1/4/2019 2:55:09 PM - 	Extension is signed with a valid signature.
1/4/2019 2:55:09 PM -
1/4/2019 2:55:09 PM - Searching for applicable products...
1/4/2019 2:55:09 PM - Found installed product - Global Location
1/4/2019 2:55:09 PM - Found installed product - Visual Studio Build Tools 2017
1/4/2019 2:55:09 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
   at VSIXInstaller.App.GetInstallableData(String vsixPath, Boolean isRepairSupported, IEnumerable`1& skuData)
   at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
   at VSIXInstaller.App.Initialize()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

This is not something that we can fix on MSBuild. Like @rainersigwald mentioned, additional components are required depending on what kinds of projects you are trying to build.
I would suggest filling a feedback ticket through VS itself, so that this issue gets routed to the appropriate VS team.

@EasyAsABC123 Hey did you ever get a resolution on this?  I have the same problem. I think it is silly that I can't release an MSI using my build server.

There is no solution and Microsoft doesn't care, that's the feeling I get
On Thu, May 2, 2019 at 3:49 PM JackZylkin notifications@github.com wrote:

@EasyAsABC123 https://github.com/EasyAsABC123 Hey did you ever get a
resolution on this? I have the same problem. I think it is silly that I
can't release an MSI using my build server.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/msbuild/issues/4005#issuecomment-488807748,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOD5YBZNGKTKQS7SOJSEDLPTNAVDANCNFSM4GKBZFJA
.

Hello.
I am not an advocate for Microsoft but I think the guys closing the issue are right. You should install additional tools to your build server manually and then use MSBuild with extended task list.
From the comment above I saw @EasyAsABC123  tried installing VSIX that is visual studio extension. Visual studio and MSBuild are different things. You should install something that extends MSBuild and not the Visual Studio.
I would personally recommend using Wix Toolset  to build MSI packages. it belongs to .Net foundation and I think it is de-facto way to author MSI packages.
Hope my comment is a bit useful.

@tomuxmon i don't disagree, i'd think backporting would be simple for the people with the code.  I'd be happy if there is an extension for msbuild to create MSIs.
No new solutions on this.

authors: EasyAsABC123 JackZylkin livarcocc rainersigwald tomuxmon


text:
Hikari + MSSQL 7.2.1 having issues

Hello All,
We have an spring boot application that is using HikariCP and mssql 6.x libraries and everything seems working fine.
We started moving to the latest version of mssql, which is 7.2.1 and started observing issues connecting to the database, once in a while under load test.
On the initial research, we found that the SharedTimer thingy that got introduced is killing us.
2019-04-17_00:27:40.315 [42122f1e7f861f55:42122f1e7f861f55:0] [Root=1-5cb672fb-8a9936f01f1e83407ebf0024] [qtp1673605040-61] ERROR com.zaxxer.hikari.pool.HikariPool - HikariPool-278 - Exception during pool initialization. java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@746dc536 rejected from java.util.concurrent.ScheduledThreadPoolExecutor@7dd4eba[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] 	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063) 	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830) 	at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:326) 	at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:533) 	at com.microsoft.sqlserver.jdbc.SharedTimer.schedule(SharedTimer.java:102)
Any help on how to fix is highly appreciated.

Hi @TheHydGuy, thanks for reporting this issue. The team is looking into this, and we'll let you know soon once we have an update.

Is it because you have not thread-safe implementation of SharedTimer introduced in #920
public static synchronized SharedTimer getTimer() use lock on class instance
public synchronized void removeRef() use lock on timer object instance
so possible situation when

first thread start removeRef, shutdown executer and execute executor = null;
second thread receive the same object over getTimer and execute schedule on the same timer object

refCount also updated in lines 63 and 84 without any memory barriers or synchronization, so nobody can guaranty what the final result will be =)

Thanks for the response.
That means the HikariCP library we are using is not handling properly in this case? We do not directly deal with SharedTimer class in our code.
Thanks!

HikariCP use SQLConnection and QueryExecutor, QueryExecutor use SharedTimer, SharedTimer contain bug.
It doesn't mean how you will use mssql-jdbc driver with HikariCP or directly without any pool, you always will have incorrect work of SharedTimer in the end.

Hi @TheHydGuy @xhumanoid
I've created PR #1046 to address thread safety issues as discussed here, please take a look and let me know if I missed something.

source: gharchive/issue

authors: TheHydGuy cheenamalhotra peterbae xhumanoid

repo: Microsoft/mssql-jdbc

license: MIT

license_type: permissive

license_source: github-api


text:
[Feature] Keep unknown property when getting url from database metadata

I'm writing features for jdbc distributed tracing. In particular, the ability to define the remote service name inside the connection string that will be parsed.
Unfortunately, unknown tokens are removed  from the final properties map.
final Connection connection = DriverManager.getConnection("sqlserver://localhost;databaseName=master;foo=bar", "user", "password");
connection.getMetaData().getURL().contains("foo=bar"); //returns false

Indeed, in SQLServerDriver.java#L576, null is returned for unknown tokens.
A quick fix would be to return the name instead of null but it might break some other logic in the code (even if the test passes locally on my machine)
What do you think of such feature. Does it make sense ?
Thanks
(PS: it works with other databases such as MySQL)

Thanks @hypnoce, we are looking into the issue and will keep you posted!

Let me know if you need any help on this. I mean the fix is pretty simple from my point of view but I'm sure I'm missing some aspect

Sure! We are currently investigating towards providing this feature, and impact this change would have on driver's existing behavior with applications. Also, if we find any better ways to handle your requirement we will let you know!

Deal !

Hi @hypnoce, thanks for filing your issue. I understand that you'd like to be able to trace p6spy zipkin. Unfortunately, we have not heard of any other customers who want to pass in their own connection string properties, unknown to the JDBC Driver itself.
Since this is not a typical ask from other customers, would you consider making the changes (equivalent to PR #489) to your own branch of the JDBC Driver and using that in your workload? I'm not sure how likely we are to merge your PR as there may be some security concerns with passing in unknown parameters through the connection string to the JDBC Driver.

Hi @ajlam, I understand your concern. Actually it's a new feature in zipkin that has been added very recently. I will see what I can do on my side. Thanks !

Hi @hypnoce, thanks for your understanding. Please let us know if you have any other JDBC related issues. Happy to help 😄

+1 to not supporting unknown properties. I like the explicit validation of connection properties as it provides validation that the properties are actually enabled.
Ignoring missing properties can cause problems when a user has an older version of a driver that doesn't support a newer property or, even worse, when they try to enable a property with a typo or incorrect name (ex: ssl=true instead of the actual property encrypt=true).

As I understood the code, typos in properties are  ignored and logged with fine level. So adding support for unknown properties (that still logs that they are unknown) won't make this situation worse nor better. The connection is not validated.
Nevertheless, I totally understand the security problem here. We could sanitize this part. Anyway, I think we may still have security issues with values as they don't seem sanitized (maybe I'm wrong here) unlike the keys that should match a set of predefined strings.

Closing this issue. @hypnoce, please let us know if you have any additional questions.

authors: ajlam cheenamalhotra hypnoce sehrope


text:
update docs and lua initial params strategy

add doc about sync server and async server
update lua initial params strategy

The travis fails because of the  https://github.com/Microsoft/fb.resnet.torch/pull/4 is not Merged yet.
The PR is ready for review now.

source: gharchive/pull-request

repo: Microsoft/multiverso

license: mit

license_source: bigquery


text:
Prioritization with CUDA

I'm new to ONNX runtime.
We have several CUDA projects, Open GL usage in our product.
How would they interact with WinML's (ONNX) GPU based inferencing, like process prioritization? For example,
Process A (Above Normal Priority): OpenGL rendering + Real time processing with CUDA + WinML (ONNX) inference for model 1
Process B (Below Normal Priority): WinML (ONNX) inference for model 2 and model 3
Q1. In process A, how can I profile CUDA and ONNX usage together? nvprof? Visual studio profiler?
Q2. Would Process A GPU usage takes priority over Process B ML usage?
Q3. How can I profile Process B, ML usage?

Hi, thanks for the questions.
For profiling (Q1 & Q3), we recommend using PIX.  I'm not sure what it’ll make of CUDA, but ultimately that all boils down to WDDM work submission so at least some amount of this should show up in timing captures. In addition to PIX we also have GPUView (which ships as part of the Windows Performance Toolkit) which is good at giving an all up system view of how the GPU is being used and shared across all processes so you can see exactly how the various workload are effectively sharing the GPU.
Q2: In general, CPU thread priority doesn’t impact GPU scheduling priorities.
There are ways to impact GPU scheduling priorities, but that’s typically better to be avoided by regular application. Windows will automatically boost any process that is in focus. In specific instances (like VR) there are mechanism for a process to ask for a global “realtime” priority on their work submission… but applications that do this are required to have admin privilege and have to be incredibly careful to avoid totally screwing up the user experience. For regular compute app there should be no reason for application to touch our default policies.

repo: Microsoft/onnxruntime


text:
Error: Building package libepoxy:x86-windows failed with: BUILD_FAILED

I performed ".\vcpkg update" and then ".\vcpkg install gtk". The output was:

The following packages will be built and installed:
gtk:x86-windows
* libepoxy:x86-windows
Additional packages (*) will be installed to complete this operation.
Building package libepoxy:x86-windows...
-- CURRENT_INSTALLED_DIR=C:/Program Files (x86)/vcpkg/vcpkg/installed/x86-windows
-- DOWNLOADS=C:/Program Files (x86)/vcpkg/vcpkg/downloads
-- CURRENT_PACKAGES_DIR=C:/Program Files (x86)/vcpkg/vcpkg/packages/libepoxy_x86-windows
-- CURRENT_BUILDTREES_DIR=C:/Program Files (x86)/vcpkg/vcpkg/buildtrees/libepoxy
-- CURRENT_PORT_DIR=C:/Program Files (x86)/vcpkg/vcpkg/ports/libepoxy/.
-- Using cached C:/Program Files (x86)/vcpkg/vcpkg/downloads/anholt-libepoxy-1.4.3.tar.gz
-- Testing integrity of cached file...
-- Testing integrity of cached file... OK
-- Extracting done
-- Configuring x86-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:43 (message):
Command failed: C:/Program Files (x86)/vcpkg/vcpkg/downloads/tools/python/python.exe;C:/Program Files (x86)/vcpkg/vcpkg/downloads/tools/meson/meson-0.40.1/meson.py;-Denable-glx=no;-Denable-egl=no;--buildtype;plain;--backend;ninja;--default-library;shared;--prefix;C:/Program Files (x86)/vcpkg/vcpkg/packages/libepoxy_x86-windows;C:/Program Files (x86)/vcpkg/vcpkg/buildtrees/libepoxy/src/libepoxy-1.4.3
Working Directory: C:/Program Files (x86)/vcpkg/vcpkg/buildtrees/libepoxy/x86-windows-rel
See logs for more information:
C:\Program Files (x86)\vcpkg\vcpkg\buildtrees\libepoxy\config-x86-windows-rel-out.log
C:\Program Files (x86)\vcpkg\vcpkg\buildtrees\libepoxy\config-x86-windows-rel-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_meson.cmake:51 (vcpkg_execute_required_process)
ports/libepoxy/portfile.cmake:14 (vcpkg_configure_meson)
scripts/ports.cmake:72 (include)
Error: Building package libepoxy:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: libepoxy:x86-windows
Vcpkg version: 0.0.82-f2c655c7dfa02fe0fcca4a6207f3f1cc55da540c
Additionally, attach any relevant sections from the log files above.

Please see the attached logs. Let me know if there's any more information I can provide.
config-x86-windows-rel-err.log.txt
config-x86-windows-rel-out.log.txt

Hi @t-sharp, thanks for posting your issue and sorry for the delay!
This is probably due to the codepage handling regression in CMake 3.9.0 (#1660). Could you try running chcp 65001 in your console before invoking Vcpkg?

Hello @ras0219-msft, your suggestion was to run chcp 65001 before invoking Vcpkg and your suggestion worked. I successfully built gtk. Thank you for your help. Have a nice day!

Please report if the latest master fixes things for you.

Hello @alexkaratarakis, yes; the latest master fixed this issue for me. Thank you and have a nice weekend.

authors: alexkaratarakis ras0219-msft t-sharp

repo: Microsoft/vcpkg


text:
[physfs] Update to version 3.0.1

PhysFS now supports UWP, and fixes numerous bugs.

Thanks, this is great!


text:
Syntax colorization is never called in Preview 4

We haven't touched classification for dev16. @brettfo was mentioning than an underlying Roslyn change (not at the API level) added an invariant that requires Roslyn syntax trees that we then violate.

Bug fix here: https://github.com/dotnet/roslyn/pull/33576

Closing as this has been merged on Roslyn's side.

repo: Microsoft/visualfsharp


text:
Make fsharpcoreunittests run on coreclr again

The FSharpCoreUnitests stopped working on coreclr a while back.  I don't actually know when.  Anyway this gets them running again.

The FSharpCoreUnit tests were published with the wrong version of fsharp.core, that failed to run successfully.  Used the TestFSharp.Nuget package built during the build and restored from the archive folder.

Updates FsCheck to the latest release.

build ci_part3 was broken if you didn't have proto already built, the build fails to find the target file during the restore phase.

@dotnet-bot test Ubuntu16.04 Release_default Build please


text:
'Linter pylint is available but not enabled' shows every time

Environment data

VS Code version: 1.29.0
Extension version (available under the Extensions sidebar): 2018.10.1
OS and version: Windows 10.0.17134
Python version (& distribution if applicable, e.g. Anaconda): 2.7.5
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A

Actual behavior
When starting vscode I am confronted with the warning Linter pylint is available but not enabled.
This warning will appear every time I start vscode, despite the fact that I hit Enable pylint every time.
The only time I do not get the warning is if I disable linting.
Expected  behavior
Upon clicking Enable pylint, it should be enabled and not ask me again.
Steps to reproduce:

I'm guessing this is not the case for anyone else but...open a python file.

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Starting Microsoft Python language server.
Microsoft Python Language Server version 0.1.60.0
Initializing for c:\python27\python.exe

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
 INFO no standard startup: not the explorer viewlet
log.ts:169   ERR Failed to watch t:\__SharedAssets\Assets_Houdini_Dev\houdini16.5\python2.7libs\pythonrc.py for changes (Error: Error watching file for changes: ENOENT, undefined)
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern *\python.exe
console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern *\*\python.exe
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
console.ts:134 [Extension Host] Python Extension: Register Intepreter Watcher, Arg 1: undefined, Return Value:
console.ts:134 [Extension Host] Python Extension: Build the workspace interpreter watcher, Arg 1: undefined, Return Value: UNABLE TO DETERMINE VALUE
console.ts:134 [Extension Host] Python Extension: Get language server folder name, , Return Value: "languageServer.0.1.60"
console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:

I get this when I open a python file as well. I've not see this before 1.29.0.

I get this message as well. When using MS Python Language Server, pylint is never used, either. It works fine when using Jedi.
I really want to use MS engine because it does its magic while typing, so the IntelliSense experience is superior (as opposed to working only on saving when using Jedi).

What do your .vscode/settings.json look like before and after clicking the button? I'm unable to reproduce as when I click on "Enable Pylint" it sets "python.linting.pylintEnabled": true as expected in my workspace settings.

I think there are two separate (but related) issues going on:

global default settings (i.e.: "python.linting.pylintEnabled": true) are not detected when you switch to MS-PSL, but the linter itself is detected, so the extension asks to activate it - and then it creates the .vscode/settings.json file with that specific setting in your workplace, even though it is set globally by default
Once the extension detects the linter and the setting to use it (still using user/global settings), pylint is not used anyway. I get the [Python] linting messagesfrom MS-PLS but not the [pylint] ones.

So answering to @brettcannon, I don't ever use workplace settings, only user/global ones. And even after adding "python.linting.pylintEnabled": true to them, pylint doesn't work, even though I don't get the warning about it not being enabled anymore.
Hope this clarifies a bit! I spent a LOT of time scratching my head over this, being a beginner in Python.

@mikevaleriano Thanks! A similar issue was reported in #3388.
Is anyone having issues related to workspace settings for Pylint? Or is everyone only using user settings.json?

I saw the issue with the user settings.

OK, then I'm closing this as a duplicate of #3388 .

What do your .vscode/settings.json look like before and after clicking the button? I'm unable to reproduce as when I click on "Enable Pylint" it sets "python.linting.pylintEnabled": true as expected in my workspace settings. @brettcannon

When I tell the popup to enable linting, I get an entry in the folder settings "python.linting.pylintEnabled": true

I get this message as well. When using MS Python Language Server, pylint is never used, either. It works fine when using Jedi. @mikevaleriano

I was completely unaware that the MS Python Language Server essentially disabled pylint. Is it then the case that pylint should be disabled more...totally if MS PLS is used?

@Anti-Distinctlyminty the language server doesn't disable Pylint, we just don't ask you automatically to install it anymore as the language server provides enough basic error detection that we didn't want to bug users about Pylint. But if you already had Pylint installed without explicitly setting linting on or off we now ask if you want to actually flip on Pylint explicitly (or that's at least what is supposed to happen 😉 ).

Why is this issue marked as closed? It is still occuring. I get constantly it on 1.30 and 1.31 with the 2018.12.1 Python extension. Pylint is flagged as enabled in my user settings, workspace settings, and folder settings. Yet every time I start VS Code in my project  up pops that notice.
How about less Jupyter integration work and more foundational work on the rampant bugs in this extension, the debugger, and the language server, please?

@Anti-Distinctlyminty have you updated to the latest release of the extension and VS Code? And can you paste in your settings.json? And I assume you can run pylint using python -m pylint from the Python environment you have selected in VS Code?

I upgraded pylint and it seems to not be complaining anymore. I'll report back if there are any more issues. Thanks Brett.

I have this strange issue on Ubuntu 18.04 LTS. Everything seems set up correctly though...

My config:
{
    "python.unitTest.pyTestArgs": [
        "GTGenerator/tests"
    ],
    "python.unitTest.unittestEnabled": false,
    "python.unitTest.nosetestsEnabled": false,
    "python.unitTest.pyTestEnabled": true,
    "files.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/CVS": true,
        "**/.DS_Store": true,
        "**/*.pyc": true
    },

    "python.linting.pylintEnabled": true,
    "python.linting.pep8Enabled": true,
    "python.linting.enabled": true
}

authors: Anti-Distinctlyminty JeffHanna brettcannon mhamilto mikevaleriano vladipus

repo: Microsoft/vscode-python


text:
Do not show multiple breakpoints for wrapped lines

Since we are not showing multiple line numbers in this case, I don't think that we should show multiple breakpoints.

Dup of https://github.com/Microsoft/vscode/issues/20601

authors: isidorn weinand

repo: Microsoft/vscode


text:
Conflict between theme colors and user preferences

VSCode Version: 1.12.1
OS Version: macOS Sierra 10.12.4

Steps to Reproduce:

Set the editor.lineHighlightBackground and editor.lineHighlightBorder in a theme.
Set the editor.renderLineHighlightpreference to lineor all in user preferences.
The highlighted line is always shown as all because the editor.lineHighlightBackground setting has higher priority.

Expected behavior:
If the theme has colors set for the highlighted line for both background and border, it should only paint with the color selected in the user preferences.
Original report by @MariusVatasoiu on my theme: vangware/dark-plus-material/issues/2

editor.renderLineHighlight is only about whether to show the current line in the editor and/or in the gutter (behind the scrollbar).
But yes, there's an issue that you can't set border and background at the same time. This is a duplicate of #26017

authors: aeschli lucasmciruzzi


text:
Opening an old .code-workspace file provides no help to the user

I am a user who used vscode insiders for MR workspace as soon as it came out, so I got the .code-workspace file in the old format
After a month I am coming back to VSCode -> I use the "open workspace" action to load my workspace from 1.
The file is outputed as simple text and no help is shown

At the very least we could detect if a user just opened a .code-workspace file and if we can not parse it we could provide a nice info message so the user is not puzzled as to why his old .code-workspace is not working any more

@isidorn can you attach the file here, we do a migration

Paths point to existing directories
{
	"id": "1501686422165",
	"folders": [
		"file:///Users/isidor/Development/vscode",
		"file:///Users/isidor/Development/w"
	]
}

https://github.com/Microsoft/vscode/issues/33614

authors: bpasero isidorn


text:
Can't remove a leading space of a file name.

VSCode Version: Code 1.18.1 (929bacba01ef658b873545e26034d1a8067445e9, 2017-11-16T18:34:22.110Z)
OS Version: Linux x64 4.4.0-98-generic
Extensions:

Extension
Author (truncated)
Version

vscode-markdownlint
Dav
0.11.1

xml
Dot
1.9.2

seito-openfile
Fr4
1.4.0

vscode-ungit
Hir
1.1.1

autofilename
Jer
0.1.3

material-icon-theme
PKi
3.0.0

vscode-docker
Pet
0.0.22

better-comments
aar
0.1.3

yaml
ada
0.0.9

npm-intellisense
chr
1.3.0

regex
chr
0.1.0

vscode-eslint
dba
1.4.3

githistory
don
0.2.3

vscode-babel-coloring
dza
0.0.4

gitlens
eam
6.1.2

tslint
eg2
1.0.23

vscode-npm-script
eg2
0.3.3

vscode-great-icons
emm
2.1.20

githd
hui
1.0.0

testing-regex
jus
0.0.2

vscode-regexp-preivew
le0
0.0.3

vscode-todo-parser
min
1.9.1

lit-it
moh
1.2.12

azure-account
ms-
0.2.2

typescript-javascript-grammar
ms-
0.0.24

vscode-json-transform
oct
0.1.2

favorites
ole
1.0.2

vscode-versionlens
pfl
0.19.1

node-tdd
pra
0.2.4

vscode-yaml
red
0.0.6

vscode-sort-json
ric
1.10.2

json-organizer
rin
0.0.3

edit-locations-history
sad
0.2.5

code-spell-checker
str
1.4.12

json-schema-validator
tbe
0.1.0

es-quotes
vil
0.2.6

vscode-import-cost
wix
2.5.1

vscode-jumpy
wma
0.3.1

(4 theme extensions excluded)

Steps to Reproduce:

Create a new file in VS Code. Save it with a name that has one or more leading blank spaces.
Remove the blank spaces by using the VS Code editor (F2 or rename of the context menu).
Press enter to validate the new name.

It happens that the blank spaces are still there.

Reproduces without extensions: Yes

I am closing this because I find that a file with leading spaces is not very common and VS Code is not trying to replace the native file manager tool, so there can be some bugs/differences and that imho is tolerable.

authors: Ivraie bpasero


text:
Cannot install extensions

VS Code: v 1.20.1
OS version: CentOS Linux release 7.4.1708
Arch: x86_64
I have just installed vscode, and would like to install the C++ and Python extensions.
Similar to the closed issue "#43614 Extensions", the install never completes.
Inside the Extensions tab, above the "@sort:installs" field, there is a horizontally scrolling dash/bar symbol, probably indicating that something is in progress.
I checked the contents of .~/vccode, and there are two subdirectories, for ms-python.python-2018.1.0 and ms-vscode.cpptools-0.15.0.
Inside the ms-vscode.cpptools-0.15.0 directory, there is a single bin directory, with two files, msvc.32.intel.json and msvc.64.darwin.json, each with size 0 bytes.
I am behind a company firewall, but I can access the internet, using chromium.
Refer to the attached screenshot.
Many thanks

Found the problem: insufficient disk quota on my home directory,
Sorry for the inconvenience
I have attached the output from Toggle Developer Tools -> Console. This indicates that the directory

ERR Error: Unknown system error -122: Unknown system error -122, mkdir '/home/pamoore/.config/Code/logs/20180228T110527/output_1_20180228T110530'
workbench.main.js:268 [node.js fs] fdatasync is now disabled for this session because it failed:  Error: Unknown system error -122: Unknown system error -122, fdatasync
(anonymous) @ workbench.main.js:268
workbench.main.js:253 [Extension Host] Error: Failed opening file /home/pamoore/.config/Code/logs/20180228T110527/exthost1.log for writing: Disk quota exceeded


text:
[python] Update on PTVS in VS Code?

@smortaz mentioned on HackerNews last year that PTVS (Python Tools for Visual Studio) would be coming to VS Code this year (2016):
https://news.ycombinator.com/item?id=10589451
Is there perhaps any updates to the timeline? Or any updates you guys are able to share?
I did find another issue related to Python syntax highlighting in VS Code - but I assume this is unrelated to the effort to port PTVS to VS Code?
https://github.com/Microsoft/vscode/issues/2208

@victorhooi - no specific updates to share yet.  hopefully we can get going on this in not too distant a future.  we'll likely build something that combines the best of what PTVS has along with what the OSS community has already produced.  the PTVS part requires untangling some very VS specific code so it can be used in both environments.
cheers.

Closing - answer has been provided.

authors: egamma smortaz victorhooi


text:
VSCode is freezing after a big search is done a and the search results are not accessible

VSCode Version: Code 1.13.1 (379d2efb5539b09112c793d3d9a413017d736f89, 2017-06-14T18:13:05.928Z)
OS Version: Darwin x64 17.4.0
Extensions:

Extension
Author
Version

nativescript
Telerik
0.7.2

html-css-class-completion
Zignd
1.15.0

vscode-eslint
dbaeumer
1.2.11

Ruby
rebornix
0.14.0

vscode-react-native
vsmobile
0.4.4

JavaScriptSnippets
xabikos
1.6.0

ReactSnippets
xabikos
2.1.0

Steps to Reproduce:
1.Do a search for a word that appears several times in several files quite big
2. When you try to close some of them the ide freezes and it is not resposible

Most likely https://github.com/Microsoft/vscode/issues/31551, there are some issues handling results from very long lines. But 1.13 is very out of date, please update, it may work better in a recent version.

authors: dmusev roblourens


text:
Custom fonts in integrated terminal window.

VSCode Version: 1.24.1
OS Version: MacOS 10.13.5

Steps to Reproduce:

Setup and configure an iTerm terminal as described here.
Open the terminal in VSCode and you will see font-related issues:

Set iTerm to be the default shell.

The integrated terminal should in fact look like this as per iTerm:

Does this issue occur when all extensions are disabled?: Yes

This should work, it uses a different name for the font though. You should be able to find the answer by searching for "vscode terminal powerline"

authors: Tyriar dylanvdmerwe


text:
TypeScript debugger fails to start with preLaunchTask of type other than "typescript"

Issue Type: Bug
Using a regular Typescript task configuration works great:
         {
            "label": "compile",
            "type": "typescript",
            "tsconfig": "PATH_TO_tsconfig.json",
            "problemMatcher": [
                "$tsc",
                "$tslint5"
            ],
            "presentation": {
                "reveal": "always"
            }
        }

But when I do something like a task of type npm or type shell to try and add command line arguments to tsc (as I want my compile configuration to have different compiler options than the regular configuration), the compiling works great (I see the contents in my dist folder just fine), but the debugger sits on the "loading" state (the animation underneath the start button. I go to the terminal and close the "node watcher" process and boom the debugger begins. Any ideas? I feel like this has something to do with the "custom" tsc task not sending a proper exit code.
VS Code version: Code 1.25.1 (1dfc5e557209371715f655691b1235b6b26a06be, 2018-07-11T15:33:29.235Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz (4 x 2700)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
8.00GB (0.12GB free)

Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron

Screen Reader
no

VM
0%

Extensions (29)

Extension
Author (truncated)
Version

html-snippets
abu
0.2.1

vscode-javascript-snippet-pack
aka
0.1.5

npm-intellisense
chr
1.3.0

path-intellisense
chr
1.4.2

vscode-markdownlint
Dav
0.19.0

vscode-eslint
dba
1.4.12

vscode-quick-select
dba
0.2.6

githistory
don
0.4.2

gitlens
eam
8.5.3

vscode-html-css
ecm
0.2.0

tslint
eg2
1.0.34

vscode-npm-script
eg2
0.3.5

vsc-material-theme
Equ
2.3.0

auto-close-tag
for
0.5.6

code-runner
for
0.9.3

terminal
for
0.0.10

beautify
Hoo
1.3.2

vscode-scss
mrm
0.6.2

python
ms-
2018.7.1

cpptools
ms-
0.17.7

Go
ms-
0.6.85

vscode-docker
Pet
0.1.0

tsimporter
pmn
1.2.14

typescript-hero
rbb
2.3.2

sass-indented
rob
1.4.9

gitblame
wad
2.4.2

vscode-todo-highlight
way
1.0.4

JavaScriptSnippets
xab
1.7.0

markdown-all-in-one
yzh
1.6.0

Can you show the task that doesn't work? Debugging won't start until the task has terminated. Are you running a tsc watch task?

So when I run a regular type "typescript" task, compile and watch, they both work great.
But if I try and use something like:
        {
            "label": "watch",
            "type": "shell",
            "command": "node",
            "args": [
                "PATH_TO_PARTICULAR_TSC_IN_NODE_MODULES",
                "-w",
                "-p",
                "scripts/bvt/tsconfig.json",
                "--inlineSourceMap",
                "true"
            ],
            "problemMatcher": [
                "$tsc-watch",
                "$tslint5"
            ],
            "presentation": {
                "reveal": "always"
            }
        },

The debugger just doesn't run. I deleted my dist folder and confirmed that everything went through with this command perfectly on the tsc compile side. But for some reason vscode is not detecting that this event has completed while loading the debug session.
I worked around this by just creating a separate tsconfig just for debugging purposes (tsconfig_debug.json), but that solution is not ideal.

Please add this to your tasks.json
"isBackground": true,

fyi @dbaeumer

@isidorn thanks for letting me know, I will give it a try. Any idea why this must be added for the task to work properly? Should any preLaunchTask be background?

authors: isidorn jadchaar roblourens


text:
Emmet not working in interactive playground

Issue Type: Bug

Open interactive playground
In the emmet section, try expanding the emmet snippet

Bug
Expansion doesn't work. No emmet entries show up in the comand palette
VS Code version: Code - Insiders 1.26.0-insider (0707dd4940b3fdbea8339595de478f354f6dda83, 2018-07-31T05:12:08.688Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 4, 3

Memory (System)
16.00GB (0.04GB free)

Process Argv
/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron

Screen Reader
no

VM
17%

Edit > Expand Abbreviation works, TAB and content assist don't.

See https://github.com/Microsoft/vscode/issues/44975#issuecomment-371970397

authors: chrmarti mjbvz ramya-rao-a


text:
AutoSave when app looses focus

When working with automatic rebuild/refresh tools (e.g. in web development) it would be handy if vscode would save all modified files as soon as its window looses the focus when switching to another application.
There is an option files.autoSave: onFocusChange. There should be another option onWindowDeactivation or something like that.
JetBrains' line of IDEs has this option. IMHO it's very handy.

Btw, "files.autoSave": "onFocusChange" and "afterDelay" are mutually exclusive currently and that is bad. You can't have both enabled.
I would like to suggest following changes:

value of "files.autoSave" to "on" / "off"
add "files.autoSaveOnFocusChange": "currentFile" / "allFiles"

Added a new onWindowChange option for auto save 👍

authors: ThomasWeiser bpasero pribilinskiy


text:
VSC Insiders always thinks that this is my first start

VSCode Version: 1.27.0-insider (Commit: 346018a80dd299c50cbf213e0a706ef0f35f3a67)
OS Version: Windows 10

Steps to Reproduce:

Open the program
Watch

Does this issue occur when all extensions are disabled?: Yes
(some things are kept, like settings.json and my extensions/themes, but other things are not, like the recent folders/files and activity sidebar popup width)

@LunarTwilight to verify, you:

start VSCode by clicking on the icon
you resize the sidebar to a certain width
you close VSCode
you start VSCode by clicking on the icon
=> the sidebar width is not as you left it?

@bpasero yes, also I get the new start notification and the new start page opens in my browser.

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!

I don't see any errors in the dev tools' console, but from the command line I'm getting a lot of errors about it being unable to open storage.json, which I thought at first was due to the file not existing, but then I created the file and the error still exists. I've also tried running it as admin but it still happens.

@LunarTwilight can you attach the output? does it reproduce with stable?

VSC Insiders updated, so now I'm on 43676d0cb7db94e2fa771f1d10bff10eaa01b453. I've put the output at https://gist.github.com/LunarTwilight/d35cdf6ec938a0373b02147a6cd2292f. No it doesn't happen on stable.

@LunarTwilight it look slike the user data directory is not writeable for VSCode due to permissions errors. This means, no state is saved. There is not much VSCode can do.
[main 1:45:09 AM] { Error: EPERM: operation not permitted, open 'C:\Users\[RETRACTED]\AppData\Roaming\Code - Insiders\storage.json'

Well, I'm running VSC Insiders as admin, I've disabled the parts of my AV that would prevent it from saving/opening/editing the file, and I've checked the premissions, and it still won't work. I also checked stable and I don't see a storage.json in it's the folder either, but it works fine?

Huh, I had to restart, and now its working (even tho I don't have a storage.json), thanks for the help~

authors: LunarTwilight bpasero


text:
Can't find/replace new line in Ctrl+Shift+F search/replace

Issue Type: Bug
This works when using Ctrl+F inside a file, but doesn't work across all files open in the folder. Easiest thing to do is use Ctrl+Shift+F, make sure the regex search is enabled, and type in '\n'. You get an error message that '\n' is not supported.
VS Code version: Code 1.27.2 (f46c4c469d6e6d8c46f268d1553c5dc4b475840f, 2018-09-12T16:17:45.060Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 x 3408)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
31.79GB (16.46GB free)

Process Argv
c:\Users\stevenki\AppData\Local\Programs\Microsoft VS Code\Code.exe x:\dev\nike

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

vscode-nmake-tools
Mic
1.1.180913009

cpptools
ms-
0.19.0

csharp
ms-
1.16.1

PowerShell
ms-
1.9.0

team
ms-
1.136.0

This isn't supported yet in global search - https://github.com/Microsoft/vscode/issues/13155

authors: RMacfarlane stevenbrix


text:
Text blur

VSCode Version: 1.2.1
OS Version: Windows 10 1511 (10586.318)
OS DPI Setting: 150%

Steps to Reproduce:

Open VSCode
Type something
If the text is very sharp, then try zoom in or zoom out using ctrl + or ctrl -
The Text is now very unclear

This looks pretty similar to #5154 or #1896.

@taoyouh we are in the process of updating to a newer electron version, I was wondering if you could give our latest a try to see if that resolves the blurriness. Just jump to our insiders build:
You can give our preview releases a try from: http://code.visualstudio.com/Download#insiders

Seems the insider-1.8.0 version solved the problem.

Great thanks 👍

Marking as verified based on user verification.

authors: bpasero dbaeumer lediur taoyouh


text:
Fix validatePosition related bug

This fix #5704.

Hi @aioutecism, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Added tests.

Nice!

authors: aioutecism alexandrudima msftclas


text:
IISWebAppDeploy: override parameters must not contain spaces between name and value

Hi,
I started using the IIS Web app deployment task. As I keep the Web Deploy parameters in the release definition, I don't have a parameters file, so I used the override parameters feature.
It's very handy, but it should be more explicit that there must be absolutely no space between the comma after the name token and the value token.
Meaning, it cannot be name="<parameterName>", value="<parameterValue>", but instead must be name="<parameterName>",value="<parameterValue>". Note the space between the comma and the value token.
It doesn't help that in the help text, the second example - the one supposed to be on the second line - includes such a space.
The error I got was System.Exception: Error: Unrecognized argument 'value="<value of the parameter of the line that contained a space>"'. All arguments must begin with "-"..
After removing the spaces, it's all good!
Thanks for the hard work. I'll send a PR related to this issue to fix the help text.
Feel free to contribute to the PR branch to add anything you think might be worth it.

@mderriey Thanks for pointing out the issue. We will fix the issue and handle the space.

Closing as the associated issue was closed. See https://github.com/Microsoft/vsts-rm-extensions/pull/204#issuecomment-287677410
It was fixed in #205.

authors: mderriey niadak

repo: Microsoft/vsts-rm-extensions


text:
Invalid Swift Support - The SwiftSupport folder is empty.

Hello,
It seems that when you want to release your .IPA apps that use with Swift language, instead of compiling the IPA file with :
xcr.arg(['-sdk', sdk, 'PackageApplication', '-v', app, '-o', ipa]);
You need to use:
xcodebuild -exportArchive -exportFormat ipa -archivePath <path to archive> -exportPath <path to output>
Something that it's explained here: XCArchive to ipa
So, right now, with the current xcode task only works with objective-c projects, if you want to compile Swift project or projects with libraries in swift, you will receive an email from Apple saying:

Invalid Swift Support - We have discovered one or more issues with your recent delivery for XXXXX(my app name). To process your delivery, the following issues must be corrected:
Invalid Swift Support - The SwiftSupport folder is empty. Rebuild your app using the current public (GM) version of Xcode and resubmit it.
Once these issues have been corrected, you can then redeliver the corrected binary.

Right now i fixed this issue with following build definition steps:

INSTALL cocoapods
Xcode build (without xctool)
execute shell script package_ipa.sh with arguments: $(agent.builddirectory)/output/$(SDK)/$(Configuration)/build.sym/$(Configuration)-$(SDK)/$(APPLICATION_NAME).app $(agent.builddirectory)/output/$(SDK)/$(Configuration)/build.sym/$(Configuration)-$(SDK)/$(APPLICATION_NAME).ipa

With this shell script, i can publish perfectly to testFlight with vsts-itunes task

What version of XCode?

@aldodfm: Thanks for the details, I will update the task to use xcodebuild -exportArchive if it is Xcode 7 or higher

@madhurig , please take care about exportOptionsPlist file, where is defined what target will be exported. ;)

https://github.com/Microsoft/vsts-tasks/pull/2701

Fix has been merged and will be deployed to Team Services starting Oct 16th and should roll out to all accounts in about a week.

authors: aldodfm bryanmacfarlane madhurig

repo: Microsoft/vsts-tasks


text:
Azure App Service MSDeploy SetParam Additional Arguments

I refer you to issue #3587 in which a workaround for the issue was to use single quotes.
I have encountered an issue when using single quotes instead of double quotes with EF connection strings
In the Additional Arguments I have -setParam:'tickets_v5Entities-Web.config Connection String'='$(ConnectionString)'
My connection string is an entity framework connection string which as you probably know contains single quotes for example
 metadata=res:///Models.Domain.EventsModel.csdl|res:///Models.Domain.EventsModel.ssdl|res://*/Models.Domain.EventsModel.msl;provider=System.Data.SqlClient;provider connection string='1.2.3.4;initial catalog=myDB;user id=admin;password=password123;MultipleActiveResultSets=True;App=EntityFramework'
I've tried escaping the single quote but with no luck.
I believe that double quotes are the correct way to delimit the start and end of the -setparam values and not single quotes.

Just to add, I noticed that in version 3.x you support XML transformations, presumable separate to MSDeploy. If that's the direction I should take for swapping environmental variables at deploy time I will be happy to adopt that instead.

@podgito , thanks for reporting the issue.
Please do try any of the possible workaround below:

XML Transformation: Provide your transformation logic in Web.< EnvironmentName > .config.
XML Substitution: : Substitute values in *.config file. (Currently special XML characters are escaped , which will be fixed in upcoming dpeloyment).
SetParameter file: Create a  XMl file that replaces parameters.xml values and provide it as input in setparameter file input.

Closing this thread, hoping that the above workaround will resolve the issue.
Please feel free to open the thread, if the issue persists.

If I am looking to deploy a web application which is packaged into a single zip file, is the XML transformation in the v3.x task supposed to work? Doesn't seem to. It seems to only work on XML files it can find in a directory.

@podgito , XML transformation will work for both web package and folder.
In case of zip, we extract the zip and apply the transformation.
For the XML transformation to take effect, the transform files (say Web.debug.config) should be in the same folder as main config file (say web.config).

Apologies, I meant XML variable substitution instead of XML transformation.

@podgito , yes, XML substitution is also available in ZIP package.
ZIP package is extracted ,when any of the option in file transformation group is enabled and the corresponding transformation is applied and zipped back.

Closing this thread as threre is no action item on team.

authors: podgito vincentdass


text:
Code coverage  breaks Unit Tests

Environment

Server - TFS on-premises

TFS on-premises:  2017 Update 3

Agent - Hosted or Private:

Private agent hosted on OS Windows 2012 R2 and the agent version: 2.126

Issue Description
When using Visual Studio Test task (ver 2) to execute unit tests and integrate that with SonarQube 6.2, unit tests fail for the following configuration in the VS Test task -

Code Coverage - Enabled
Test Platform - Visual Studio 2017
More than half the test cases fail with error message -
Failed to resolve profiler path from COR_PROFILER_PATH and COR_PROFILER environment variables

Code Coverage - Enabled
Test Platform - Visual Studio 2015
Handful of test cases fail while executing shim code. It's almost like shim code is being ignored and test code is calling the actual external assembly. One of the error message was
Error CS0115: 'StubDSA.HashData(Stream, HashAlgorithmName)': no suitable method found
Note that TFS build server has both VS 2015 and VS 2017. The unit test code compiles on local machine and on build server via VS 2015 and VS 2017 just fine. It stops working when Code Coverage is enabled and executed via the build definition.
Thanks!

@Poseideon Hi, Are you still facing this issue? Can you reach out to devops_tools[at]microsoft[dot]com with your build logs with some more details about your scenario? Thanks

Closing this. Please re-open if you are still facing this issue.

authors: Poseideon prawalagarwal


text:
Exposed Entities under LAPS Security Finding Dont List Names

When going through Microsoft Defender for Identity Secure Score we found an issue relating to LAPS.
When we investigated it in MCAS under Identity Security Posture, we then saw that it doesn't list the device names, but only the domain instead.
We are unable to figure out which devices these are since that domain name has been decommissioned.
What is the proper way to determine the devices?
The issue is present on step 3 in that view from this page https://docs.microsoft.com/en-us/defender-for-identity/cas-isp-laps.
Thank you kindly.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: decb6614-439c-9765-5458-ab13cc6832e4
Version Independent ID: fc4ff52d-3efb-6e16-08d7-f4497b4fec69
Content: Microsoft Defender for Identity Microsoft LAPS usage assessments
Content Source: ATPDocs/cas-isp-laps.md
Service: microsoft-defender-for-identity
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

Thanks for your question. We'll investigate and get back to you.

Thanks again for your comment. We've updated the documentation to make it more clear. If none of the devices in a domain are protected with LAPS, then you only see the domain, not the individual devices.

authors: dcurwin timkatsapas

repo: MicrosoftDocs/ATADocs


text:
Integration Test - Release - 2021/12/27 02:27:42

Auto create for integration test. IssueCommandFlow

#pri1

repo: MicrosoftDocs/CSIDev-Public


text:
Beta 109.0.1518.14 deprecated policies

These policies are obsoleted not deprecated.

https://learn.microsoft.com/en-us/deployedge/microsoft-edge-relnote-beta-channel#deprecated-policies

@SIkebe Looking at the policy descriptions for these, they should be obsoleted in v110.  They both say, "doesn't work in Microsoft Edge after version 109".

authors: SIkebe Y-Kelly

repo: MicrosoftDocs/Edge-Enterprise


text:
Applying Domain Restrictions

Hi,
If we apply domain restrictions (at site, org or AAD level), do they revoke previous sharing of sites/files/folders with domains that are no longer allowed? Or does it just apply the restrictions to block future sharing with those domains?

Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6bb31720-7494-ab3f-6a3d-5c395649e75d
Version Independent ID: 81c36ae8-fbaa-c411-4bd2-a4db98e249e1
Content: Microsoft 365 guest sharing settings reference
Content Source: Enterprise/microsoft-365-guest-settings.md
Service: o365-solutions
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

Hi, is there any feedback on this question?

@stewalshy Thank you for your feedback. By Design when we apply domain restrictions it will revoke the previous sharing with the domains that are no longer allowed.
Hope this  Helps!
Thanks
Sri

@stewalshy  - Thank you for submitting feedback.
From our understanding, the issue you raised has been answered by msbemba so we will close this issue.
Thank you for your contribution to make the docs better! Much appreciated!

authors: msbemba mypil stewalshy

repo: MicrosoftDocs/OfficeDocs-Enterprise


text:
CNAME records for Mobile Device Management (MDM) two possible values, which is the correct one?

At this page it's specified the CNAME for enterpriseenrollment should be enterpriseenrollment-s.manage.microsoft.com. At the admin.microsoft.com portal it states that the cname should be to enterpriseenrollment.manage.onmicrosoft.com. I receive them both as aliases for peproxyfeeu02.cloudapp.net. Are both to be continued in use? Is one preferred over the other?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: cd1ab25e-c8aa-14fc-9724-6917a985e0e7
Version Independent ID: 52b8dbba-a313-e012-b81c-cba78597dcf8
Content: Create DNS records at any DNS hosting provider for Office 365
Content Source: Office365-Admin/get-help-with-domains/create-dns-records-at-any-dns-hosting-provider.md
Service: o365-administration
GitHub Login: @pebaum
Microsoft Alias: pebaum

@officedocsbot assign @mypil

@mMDG0Oowa-3TPkpg7JOmdx4ff4IfPvyCGSAHbnh - Thank you for submitting feedback.
I will get this issue over to the O365ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@mMDG0Oowa-3TPkpg7JOmdx4ff4IfPvyCGSAHbnh Thank you for your feedback. You are right, There should be only one Value which is "enterpriseenrollment.manage.microsoft.com". I have created a PR https://github.com/MicrosoftDocs/OfficeDocs-O365ITPro/pull/444 to reflect this change on the document.

@mMDG0Oowa-3TPkpg7JOmdx4ff4IfPvyCGSAHbnh - From our understanding, the issue has been resolved but it may take a few days for the merged content to appear in the article. If you feel it hasn't been resolved, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@officedocsbot close


text:
Update sharepoint-server-2016-zero-downtime-patching-steps.md

Addressing #1796

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

authors: scanum tseward

repo: MicrosoftDocs/OfficeDocs-SharePoint


text:
'After you Install this update' is ambiguous

This update means - CU1 release of Server 2019. Ideally, the words 'this update' should be a hyperlink pointing to which specific update.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f1a2442b-7dba-cbe0-6a1a-5ebcb022dab9
Version Independent ID: fd944c96-6f56-c54f-75bf-35095ca65c48
Content: Support for the use of SEFAUtil functionality in PowerShell in Skype for Business Server 2019
Content Source: Skype/SfBServer2019/sefautil-functionality.md
Product: skype-for-business-itpro
GitHub Login: @MicrosoftHeidi
Microsoft Alias: heidip

@hirenshah1  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.


text:
Creating an Org-Wide team as an unlicensed Global Admin

Many orgs don't have licenses on their Global Admin accounts, so it would be good to manage the creation of these in this situation.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 76309c0b-2a9c-36a8-d7c7-f7d6f311d39b
Version Independent ID: bc69c0e3-0fa7-c86e-5e8c-067c8811e9bf
Content: Create an org-wide team in Microsoft Teams - Microsoft Teams
Content Source: Teams/create-an-org-wide-team.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@Lewis-Barry
thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

authors: Lewis-Barry scanum


text:
Dialing out from an Audio Conference meeting to your mobile phone with the Microsoft Teams app or Skype for Business app installed to destinations that aren't already included in your subscription

[Enter feedback here]
Hello Team,
How can we understand this sentence? “Dialing out from an Audio Conference meeting to your mobile phone with the Microsoft Teams app or Skype for Business app installed to destinations that aren't already included in your subscription.”
What are Communications Credits? - Microsoft Teams | Microsoft Docs

It may be understood in two ways:

Teams uses from Teams mobile app in audio conference meeting dials out to a PSTN number, but this PSTN destination is not included in this Teams user’s Calling Plan and ACP subscription. I prefer to this way as below context:

However, Calling Plan and ACP subscription feature or limitation applied to both of Teams desktop client and mobile client, why the sentence mentioned ‘to your mobile phone with the Microsoft Teams app or Skype for Business app installed’, this may make us or customer to understand it as below way, which doesn’t make sense.
2)	Dialing out from an Audio Conference meeting to other teams user and this teams user accept this ACP call from teams mobile application, but teams mobile application software is not included in this teams user’s M365 subscription.
This sentence really confused the customer or reader, really appreciate any comments for this.
Thanks a lot.
Xixi Huang
xixih@microsoft.com

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d52a9779-b72d-dea0-eac2-6c04a8c282eb
Version Independent ID: d3c3d968-9e54-ec42-3438-9320e23d68b9
Content: What are Communications Credits? - Microsoft Teams
Content Source: Teams/what-are-communications-credits.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

@scanum  I am a Teams support engineer who handle the support ticket.
Do we have PM or writer who provided this content or sentence here to verify if my understanding is correct?
sentence : Dialing out from an Audio Conference meeting to your mobile phone with the Microsoft Teams app or Skype for Business app installed to destinations that aren't already included in your subscription.
My understanding: Teams uses from Teams mobile app in audio conference meeting dials out to a PSTN number, but this PSTN destination is not included in this Teams user’s Calling Plan and ACP subscription.


text:
Update limits-specifications-teams.md

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/5047
Added info to footnote.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

authors: lindspea scanum


text:
Clearer PowerShell usage guidance for view-only experience

As the PowerShell snippet provided did not clarify which module to use, I've added further detail to explain this. The MicrosoftTeams module appears to lack any docs.microsoft.com documentation, so only a PowerShell Gallery link has been able to be provided, or the legacy link to the SkypeForBusiness module's documentation. I recommend whoever from Microsoft picks this up checks why there is no documentation for the MicrosoftTeams module; all hits for the cmdlet listed in this page bring up the legacy SkypeForBusiness module, which even itself talks about it having been deprecated with no links to the replacement module...

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@webash Please commit suggested changes, please. Thanks!

Sorry! All done :)

@cichur PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

authors: scanum webash


text:
Solution does not work

Hi - I followed the instructions on a newly created Azure VM running windows server 2016 DataCenter.  Firstly, the [array]$IPs does not seem to return the other adapter/IP.  I even hard-coded that into the command and rebooted but it still did not work.
Very Odd, since I have built VMs from this same dual NIC template multiple times without issue and I can access the local network to join the domain just fine.  I even have 8 similare machioens (same template, VNETs, & NSGs) they all never gave me this trouble all of a sudden....  but regardless, while this is the exact issue I am trying to resolve, these PowerShell commands still do not fix the issue.
Regards.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: efc2e55c-a007-e1da-a0b6-00b4397e0f13
Version Independent ID: edadbe52-9c3e-77c9-afaa-1ae9b6454f73
Content: No Internet access from Azure Windows VM that has multiple IP addresses - Virtual Machines
Content Source: support/azure/virtual-machines/no-internet-access-multi-ip.md
Service: virtual-machines
GitHub Login: @genlin
Microsoft Alias: genli

it was a config problem on my end of course.....

repo: MicrosoftDocs/SupportArticles-docs


text:
Document is not up to date?

Document says: "Windows Server Containers are blocked from starting when the build number between the container host and the container image are different - for example 10.0.14393.* (Windows Server 2016) and 10.0.16299.* (Windows Server version 1709)."
I have a Windows Server 2016 host and I running on it Docker EE image with "process" isolation and having container image OS Windows Server 1709. Container does starts and no evidence for "blocked from starting" behavior.

Can u help me

Thanks for the feedback.  @PatrickLang

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


text:
Added missing -VMName to Set-VMMemory

VMName is a mandatory, non positional parameter for Set-VMMemory
PS C:> Set-VMMemory $vm -DynamicMemoryEnabled $false
Set-VMMemory : Cannot validate argument on parameter 'VMName'. The argument is
null or empty. Provide an argument that is not null or empty, and then try the
command again.
At line:1 char:14

Set-VMMemory $vm -DynamicMemoryEnabled $false

         ~~~

CategoryInfo          : InvalidData: (:) [Set-VMMemory], ParameterBindin
gValidationException
FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Hyper
V.PowerShell.Commands.SetVMMemory

Thank you!

authors: csharmath scooley


text:
Update export.md

Update documentation regarding auto-disable for export configuration.
Replace incorrect details about back-filling for re-enabled export
Added API for enabling export

@DergachevE : Thanks for your contribution! The author(s) have been notified to review your proposed change.

repo: MicrosoftDocs/appcenter-docs


text:
Consider Renaming the pattern

Hi
The original author of the pattern has renamed the pattern. Please see the notes at the bottom of his post that you reference: https://martinfowler.com/bliki/StranglerFigApplication.html

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 5b580bcd-bba9-0799-6f9f-4b0e2ae9739f
Version Independent ID: 6603e60e-ad3b-9aec-0633-eed88c218561
Content: Strangler pattern - Cloud Design Patterns
Content Source: docs/patterns/strangler.md
Service: architecture-center
Sub-service: design-pattern
GitHub Login: @dragon119
Microsoft Alias: pnp

@cloudvaughan, Thanks for bringing this to our attention! We are taking a look into this and will get back to you soon.

@cloudvaughan Looks like this has been addressed in #2391. So, closing this in favor of that.
@neilpeterson Could you share any details for when this might be published?

It has been published and is available now.

authors: AjayKumar-MSFT PramodValavala-MSFT cloudvaughan neilpeterson

repo: MicrosoftDocs/architecture-center


text:
Please add real-time o

Please add real-time pattern for using Azure Machine Learning to perform predictive maintenance modeling and detect anomalous maintenance patterns seamlessly in real-time.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 6df0bf3d-f12f-3d66-5b6c-869cbda9478e
Version Independent ID: 6df0bf3d-f12f-3d66-5b6c-869cbda9478e
Content: Industrial IoT prediction patterns - Azure Architecture Center
Content Source: docs/guide/iiot-patterns/iiot-prediction-patterns.yml
Service: architecture-center
Sub-service: azure-guide
GitHub Login: @jomit
Microsoft Alias: jovagh

@clmdata
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

#please-close this article was removed

authors: AjayBathini-MSFT asergaz clmdata


text:
Typo "Jupyter notebooks"→"Jupyter Notebooks"

https://docs.microsoft.com/en-us/azure/architecture/solution-ideas/articles/iot-using-cosmos-db

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @hyoshioka0128 - The product name is Jupyter Notebook, so, referring to Jupyter Notebooks when you mean a file or instance of the product isn't entirely accurate. As you wouldn't (correctly) say SQL Servers, because the product name is SQL Server. I've edited the commit and will merge.
Thanks for your continued contribution to the documentation.


text:
Incorrect translation to German: "abbreviated syntax" is getting translated to "keyboard shortcut"

The below mentioned section (and I believe this is true for many other MS Docs documents as it's automatically translated), "shortcut" is translated to „Tastenkombinationen“ in German, which is supposedly rather known as "keyboard shortcut" in English.
So, the German translation "The PowerShell task also has two keyboard shortcuts in YAML:" doesn't make sense, particularly for YAML.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1cb6bb80-ad9e-525c-3cae-275955b00919
Version Independent ID: 79d62477-08d2-f412-d59d-d8cbac75dc32
Content: PowerShell task - Azure Pipelines
Content Source: docs/pipelines/tasks/utility/powershell.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @steved0x
Microsoft Alias: sdanie

@SetTrend -- Axel, thank you for bringing this to our attention.  I've created an internal localization task for this issue.
I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.

authors: SetTrend WilliamAntonRohm

repo: MicrosoftDocs/azure-devops-docs


text:
the build agent doesn't have enough permission to perform a git push !

I follow al the steps in the documentation .
including "allowing access token" and set checkout to be clean =true
I can run git command locally but I can't run te " git push '2
my build has only one step to run CMD ,
here is the command and output including the error:
CMD Commands:

steps:
- script: |
   @echo off
   ECHO SOURCE BRANCH IS %BUILD_SOURCEBRANCH%
   ECHO GIT CHECKOUT MASTER
   git checkout master

   ECHO GIT STATUS
   git status

   ECHO setting git user email and name
   git config --global user.email "Farzad.Jalali@berryworld.com"
   git config --global user.name "Farzad Jalali"

   ECHO create a textfile.txt with some content
   dir > textfile.txt

   ECHO GIT add . and commit
   git add .
   git commit -m "just poc"

   ECHO GIT STATUS
   git status

   ECHO GIT PUSH
   git push origin

   ECHO GIT STATUS
   git status
  workingDirectory: '$(Build.Repository.LocalPath)'
  displayName: 'Command Line Script'

the error:
remote: 001f# service=git-receive-pack
remote: 0000000000aaTF401027: You need the Git 'GenericContribute' permission to perform this action. Details: identity 'Build\299c569e-c3c3-4bc2-ae4f-a8e4d264b60c', scope 'repository'.
remote: TF401027: You need the Git 'GenericContribute' permission to perform this action. Details: identity 'Build\299c569e-c3c3-4bc2-ae4f-a8e4d264b60c', scope 'repository'.
fatal: unable to access 'https://xxxxxxxx.visualstudio.com/BerryWorld.D365.MasterData/_git/BerryWorld.D365.MasterData/': The requested URL returned error: 403

and here is the whole output:

##[section]Starting: Command Line Script
==============================================================================
Task         : Command line
Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
Version      : 2.151.2
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
==============================================================================
Generating script.
========================== Starting Command Output ===========================
##[command]"C:\windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_temp\59ed023a-39de-4bbb-9023-d8d14a19e077.cmd""
SOURCE BRANCH IS refs/heads/master
GIT CHECKOUT MASTER
Switched to a new branch 'master'
Branch 'master' set up to track remote branch 'master' from 'origin'.
GIT STATUS
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
setting git user email and name
create a textfile.txt with some content
GIT add . and commit
[master cba15fd] just poc
 1 file changed, 11 insertions(+)
 create mode 100644 textfile.txt
GIT STATUS
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
  (use "git push" to publish your local commits)

nothing to commit, working tree clean
GIT PUSH
remote: 001f# service=git-receive-pack
remote: 0000000000aaTF401027: You need the Git 'GenericContribute' permission to perform this action. Details: identity 'Build\299c569e-c3c3-4bc2-ae4f-a8e4d264b60c', scope 'repository'.
remote: TF401027: You need the Git 'GenericContribute' permission to perform this action. Details: identity 'Build\299c569e-c3c3-4bc2-ae4f-a8e4d264b60c', scope 'repository'.
fatal: unable to access 'https://xxxxxx.visualstudio.com/BerryWorld.D365.MasterData/_git/BerryWorld.D365.MasterData/': The requested URL returned error: 403
GIT STATUS
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
  (use "git push" to publish your local commits)

nothing to commit, working tree clean
##[section]Finishing: Command Line Script

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 024e4ed9-cf8d-155f-5e4a-73c2effaaed8
Version Independent ID: f19c0538-4aae-b3b4-82b9-422e76723b01
Content: Run Git commands in a script - Azure Pipelines
Content Source: docs/pipelines/scripts/git-commands.md
Product: devops
Technology: devops-cicd
GitHub Login: @chasewilson
Microsoft Alias: phwilson

I had this same issue and finally got it to work after explicitly adding the "Project Collection Build Service" user to be able to contribute. This is different from the "Project Collection Build Service Accounts" group, it is an actual user that needs to be added separately.
I added it to the top level "Git Repositories" so this works by default for all of our repos.

@Farzad-Jalali, @tyler8691 Thank you both for your input! @Farzad-Jalali, does this answer your question?

I'll be closing this issue. Please feel free to reach out or create a new issue if you need to.

@chasewilson The documentation doesn't clearly mention that the user "Project Collection Build Service" has to be explicitly added. I ended up making the same mistake of updating the permissions on "Project Collection Build Service Accounts" instead of updating the user's. Can you please update the document to call this out.  Also the screen shots on the page looks stale.

Just ran into the same issue. Read the docs and selected the last user in the list, whose name is awfully similar to the one the docs mention. Apparently not the correct one. I admit that I should've read the docs more carefully, but updating them and highlighting either the possible name confusion or the fact that it probably will not be in the list and that you need to add it, would've caused a whole lot less annoyance on my end and saved me some time as well.

I had this same issue and finally got it to work after explicitly adding the "Project Collection Build Service" user to be able to contribute. This is different from the "Project Collection Build Service Accounts" group, it is an actual user that needs to be added separately.
I added it to the top level "Git Repositories" so this works by default for all of our repos.

Finally after days trying to get this working. I was also adding permissions to the Group and not the individual user. I am glad I came across this. Many thanks for the help and posting this solution.

authors: Farzad-Jalali ata18 chasewilson jayeshmohane rblock-aw tyler8691


text:
Where to find CodeCoverage.runsettings ?

In the Collect code coverage section, a file called /CodeCoverage.runsettings is mentioned.
Where can it be found?
Thanks,
--Neno

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ec716c61-248c-75c9-2bc7-262749cc7421
Version Independent ID: 45f47edc-e800-2c42-416a-92cd93c9e892
Content: Build, test, and deploy .NET Core apps - Azure Pipelines
Content Source: docs/pipelines/ecosystems/dotnet-core.md
Product: devops
Technology: devops-cicd-ecosystems
GitHub Login: @juliakm
Microsoft Alias: jukullam

@NenoLoje -- Neno, thank you for your question.  You may find answers here:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow

@juliakm -- Julia, please look into this issue.
My apologies for the delay in responding.

@NenoLoje
That is the configuration file for Coverlet. You can read more about that here:
https://github.com/tonerdo/coverlet/blob/master/Documentation/VSTestIntegration.md
On this website, they are naming this file coverlet.runsettings, but the name of this file does not matter.

Looks like the documentation has been updated since this issue was filed.

authors: Mikilll94 NenoLoje WilliamAntonRohm juliakm


text:
Node.js/npm tip contradicts example

The tip in this section is confusing because it seems like it's suggesting not to do what the example is doing.
Could the example be updated to reflect a more proper usage of caching npm packages?
Or, if it makes more sense to use npm ci over caching npm packages in most situations could the tip be updated to reflect that?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 77c20289-dab2-7a6e-4f63-4b30eaff2c71
Version Independent ID: d75cc196-90c1-8291-9907-ff405bde4edf
Content: Pipeline caching - Azure Pipelines
Content Source: docs/pipelines/release/caching.md
Product: devops
Technology: devops-cicd-release
GitHub Login: @ramiMSFT
Microsoft Alias: rabououn

@nlaveck -- thank you for your question. It looks like you're working through an issue with your scenario or implementation. Here are a couple of options where you might consider asking your question:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow

cc @ramiMSFT for awareness

@WilliamAntonRohm I'm not asking for support.  My questions are purely for the purpose to suggest improvements to the documentation.  Unless if I'm misunderstanding the documentation, the tip in the section is saying to avoid doing what the example is doing.
What's the purpose of the example if immediately after it the documentation suggests not to do it that way?
Could you please reopen this and retag it since this isn't a support request?

@nlaveck -- thank you for clarifying.
@ramiMSFT -- please look into this issue.

@nlaveck
I assume you are talking about the following:
Because npm ci deletes the node_modules folder to ensure that a consistent, repeatable set of modules is used, you should avoid caching node_modules when calling npm ci.
The example caches the "shared cache directory." not the node modules. So its not contradicting. though I thought the exact same thing as well. :)

@nlaveck Thank you for your feedback. There is no contradiction between the example and the Tip in the documentation.
The docs states that: "The recommended way is to cache npm's shared cache directory". This directory contains a cached version of all downloaded modules.
The example follows that recommendation and caches the shared cache directory (Not the node_modules).
The Tip is advising against caching the node_modules because running the npm ci script will delete the node_modules folder.
I hope this clarifies any confusion.
@Patrickkk Thank you for your contribution!

Thanks @Patrickkk and @ramiMSFT!  I misread that section and thought both the tip and example were referring to the node_modules directory.  Using the shared cache directory makes sense.

authors: Patrickkk WilliamAntonRohm nlaveck ramiMSFT


text:
Need Azure DevOps Pipeline expression function to access a numbered item in an array

If you have an array-typed object in a template expression (e.g. passed by parameters), you can only iterate over that array with today's syntax. There is no way to access a specific (i.e. indexed) item from that array.
Consider the following example, where a template is invoked with a defaults object that contains a list of default object specifications coming from different sources. By using a filtered-array expression it is easy to access the item property of each array-element. But there is no way to access, the first or last item (which would be very useful in this scenario).
I propose to add three new function expressions:

item(index, array)
Returns the element in array that is located at position index (0-based), or returns null if the index was out of bounds. array can be a filtered-array expression, or a YAML sequence object obtained from a parameter or variable in the current context.
If array is a string, the item returns the character located at index.
If array is neither an array, nor a string, then coerce the value into a string following normal type-casting rules.
first works like item with the index parameter set to 0 to obatin the first item.
last works like item with the index parameter set to the length of array minus 1, to get the last item in the sequence.

parameters:
- name: defaults
  type: object
  default:
    - item: default1
    - item: default2
    - item: default3
steps:
- pwsh: 'Write-Host ${{ item(1, parameters.defaults.*.item) }}'
  # Writes: default2
- pwsh: 'Write-Host ${{ first(parameters.defaults.*.item) }}'
  # Writes default1
- pwsh: 'Write-Host ${{ last(parameters.defaults.*.item) }}'
  # Writes default3

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 77c58a78-a567-e99a-9eb7-62dddd1b90b6
Version Independent ID: 680a79bc-11de-39fc-43e3-e07dc762db18
Content: Expressions - Azure Pipelines
Content Source: docs/pipelines/process/expressions.md
Product: devops
Technology: devops-cicd-process
GitHub Login: @juliakm
Microsoft Alias: jukullam

Thanks for the suggestion! The product teams aren’t always watching this repository, so to make sure it gets in front of them for triage, please submit your idea here.

do you know if anything came out of this?

@martinmeinke -- Martin, thank you for your follow-up.  I'm not sure.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

If you would like this functionality added, please note it here.

authors: WilliamAntonRohm fredrikhr martinmeinke


text:
describe how to reinstall older version of the CLI

fixes #2498

Docs Build status updates of commit a89cb37:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-conceptual/includes/az-upgrade.md
:warning:Warning
View
Details

docs-ref-conceptual/includes/az-upgrade.md

Line 16, Column 167: [Warning-file-not-found] Invalid file link: 'install-azure-cli.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 328cf9e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/includes/az-upgrade.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

repo: MicrosoftDocs/azure-docs-cli


text:
Best Practice for Reusing Refresh Token

Does it revoke used tokens?
I used the refresh token1 to get new tokens (access2/refresh2), then I reused the refresh token1 again and it works and I got the tokens again(access3/refresh3).
According to the RFC, all used tokens must be revoked. Is this normal behavior?
According to this documentation (https://auth0.com/docs/secure/tokens/refresh-tokens/refresh-token-rotation) it should work like this

Legitimate Client has refresh token 1, and it is leaked to or stolen by Malicious Client.
Legitimate Client uses refresh token 1 to get a new refresh token/access token pair.
Auth0 returns refresh token 2/access token 2.
Malicious Client then attempts to use refresh token 1 to get an access token. Auth0 recognizes that refresh token 1 is being reused, and immediately invalidates the refresh token family, including refresh token 2.
Auth0 returns an access denied response to Malicious Client.
Access token 2 expires and Legitimate Client attempts to use refresh token 2 to request a new token pair. Auth0 returns an access denied response to Legitimate Client.
Re-authentication is required.

Why azure doesn't revoke the used tokens?
title: Microsoft identity platform refresh tokens
description: Learn about refresh tokens emitted by the Azure AD.
services: active-directory
author: SHERMANOUKO
manager: CelesteDG
ms.service: active-directory
ms.subservice: develop
ms.workload: identity
ms.topic: conceptual
ms.date: 06/10/2022
ms.author: shermanouko
ms.reviewer: mmacy, ludwignick
ms.custom: aaddev, identityplatformtop40, fasttrack-edit

@delyura
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

According to https://learn.microsoft.com/en-us/azure/active-directory/develop/refresh-tokens :
The Microsoft identity platform doesn't revoke old refresh tokens when used to fetch new access tokens.

@delyura
Thanks for your feedback! We will investigate and update as appropriate.

According to https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/05-Authorization_Testing/05.1-Testing_for_OAuth_Authorization_Server_Weaknesses
The refresh token should be valid for a longer duration. It should be a one-time token that gets replaced each time it has been used.

and https://www.ietf.org/rfc/rfc6749.txt
For example, the authorization server could employ refresh token rotation in which a new refresh token is issued with every access token refresh response.  The previous refresh token is invalidated but retained by the authorization server.  If a refresh token is compromised and subsequently used by both the attacker and the legitimate client, one of them will present an invalidated refresh token, which will inform the authorization server of the breach.

@SHERMANOUKO
kindly take a look at this.

@SHERMANOUKO Hello, any update pls?

Hey @delyura - I can provide some context here. We don't revoke refresh tokens by default - which I see you mentioned above. There are, however, some scenarios where refresh tokens are automatically invalidated, such as when you change your password. The full list of scenarios can be found here.
There are a couple things to mention in regard to the scenario you describe. First, if a refresh token is stolen, and you're aware that it's been stolen, there are mechanisms in place for you to manually revoke the token. More on that can be found here. Additionally, we offer something called Conditional Access Evaluation (CAE) which allows you to set policies dictating rules for when tokens are automatically revoked - for example, you could set a policy that automatically revokes tokens when a refresh token is used from an unfamiliar IP address.
Further, if the "Legitimate client" you're referring to is a confidential client, and the refresh token was stolen by a malicious actor, then that means your application is compromised - which is a bigger issue. Confidential clients can be relied on to safely store secrets/tokens/etc. If the "legitimate client" you're referring to is a public client (SPA, Native App, etc), then we automatically reduce the refresh token lifetime to 24 hours as a security hardening measure - a significant reduction when compared against the 90 day standard refresh token lifetime.
So, TLDR, instead of automatically revoking tokens based on rules defined by us, we're enabling customers to define those rules themselves. I'd recommend checking out the link about Conditional Access Evaluation that link I included above.
Hope this helps.

@nickludwig
can you confirm if we can close this thread?

yep we should be able to close #please-close

authors: RamanathanChinnappan-MSFT YashikaTyagii delyura nickludwig

repo: MicrosoftDocs/azure-docs


text:
Update bindings return value page for .NET isolated

This page has code snippets for C# scripting and C# in-process (though its not correctly labelled as in process) and it does not have content for .NET isolated.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 5af2b6a5-8936-4d6e-3dd0-4183d870da4c
Version Independent ID: d2d4b792-1aa2-b938-d76b-52c6a887ad1c
Content: Using return value from an Azure Function
Content Source: articles/azure-functions/functions-bindings-return-value.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@paulbatum Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

authors: navba-MSFT paulbatum


text:
Update VM Insight feature from Preview to GA

Please update the 'VM Insight' information as it is no longer in Public Preview as of 8/31/2023:
https://azure.microsoft.com/en-us/updates/generally-available-azure-monitor-vm-insights-using-azure-monitor-agent/

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: bd3dca2f-629d-36e9-f0f0-8c7e64cc04ab
Version Independent ID: f40ee991-6cb8-1eee-9a35-ebc5833d7c7f
Content: Azure Monitor Agent overview - Azure Monitor
Content Source: articles/azure-monitor/agents/agents-overview.md
Service: azure-monitor
Sub-service: agents
GitHub Login: @guywi-ms
Microsoft Alias: guywild

@brianlo-ms Thanks for your comment! We will review and provide an update as appropriate.

@brianlo-ms We have verified and updated the document as required. The update will go live in less than 24 hours. Thanks again!

authors: KrishnaG-MSFT brianlo-ms