TFS 2018 minimatch pattern failing to exclude test projects - minimatch

I'm attempting to use the following minimatch pattern to exclude some test projects during a build, but the exclude pattern seems to be ignored and the build server attempts to build them anyway.
Components\**\*.vcxproj;!**\*Test.vcxproj
Using the Visual Studio Build step, the textbox labeled Solution contains the pattern. I use nearly the same pattern in another build step that packages the binaries for nuget and it doesn't have any issues.
Am I missing something?

This pattern works for the Visual Studio build step:
Components\**\*.vcxproj;-:**\*Test.vcxproj
While this pattern works for the NuGet pack step:
**/*.csproj;!**/*Test*.csproj;!**/_nuget/**
Note the difference from using ! to using -: I think the determining factor is the new "Version" drop down at the top of each build step. For example, in my case, the NuGet build step says Version 2.*, while the Visual Studio build step says Version 1.*.

Related

Several problems after Angular v11 to v12 upgrade

When I upgraded my Angular app from 11 to 12, I encountered the following issues:
The development section of file angular.json disappeared
Visual Studio Code breakpoints would no longer be hit
Production warning from ng serve
How can I fix this?
Here is what happened: the Angular website has an upgrade helper that assists developers with determining the given upgrade steps for their combination of versions and libraries. It's missing a step. It’s rather simple what happened:
Visual Studio Code is unable to debug with breakpoints, because the upgrade forced my app into a production-only configuration. The upgrade scripts removed my development section from my angular.json file.
Run the following to complete the missed step:
ng update #angular/cli --migrate-only --from=11.2.0

Set up maven archetype in Anypoint Studio

Could anyone please let me know the steps to Run the generate command to create an extension project based on the Maven archetype in Anypoint Studio
mvn org.mule.extensions:mule-extensions-archetype-maven-plugin:1.2.0:generate
I don't think Studio supports executing archetypes. More importantly Studio doesn't support Mule SDK projects at this time. Studio 7.6.0 is the last released version at the time of this writing. Even if you create the project in the command line, as the documentation link I shared dictates, you may get unpredictable issues trying to use it inside Studio.

JSXBundle not found

I've added ever Nuget package I can find and have followed a number of tutorials step by step.
I can't find any questions about what package supplies the JsxBundle functionality.
Also added and removed a large combination of React and Microsoft packages to make sure I wasn't missing something.
Looking for the specific nuget package to install for the JsxBundle, Using vs2019

Upgrade GoogleTest to Visual Studio 2013 with command line

I've been attempting to automate the cloning and building of google test by using a batch script. However I can't seem to get visual studio to upgrade the solution.
I tried using the devenv "path" /upgrade command however it fails to upgrade the projects. The error I am getting for each of the projects is:
gtest_main-md.vcproj: The application which this project type is based on was not found. Please try this link for further information: http://go.microsoft.com/fwlink/?LinkID=299083&projecttype=8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942
Which just defaults to the VS2015 C++ projects page. The solution also states that it does not need to be upgraded. If I open the solution in visual studio I can simply perform the one time upgrade on each project with no issue.
Is there a way to do this without having to open visual studio?

Visual Studio 2013 protractor intellisense

First of all, I am very beginner in using node.js / angualar.js /protractor.js and jasmine.js stuff and I am not from web dev corner at all.
But for now, I just want to create some protractor test for an angular app and this is actually working quite fine. But I am wondering if it's possible to get VS2013 intellisense working?
I would really appreciate if VS would suggest functions of objects like 'browser.xxx'.
I am really stuck with that, looking forward for some hints!
thx Florian
Ill just give an answer to myself! To get Visual Studio 2013 intellisense and debugging working for angular protractor tests, follow these steps:
Install node.js
Install protractor (global) („npm install -g protractor“; „webdriver-manager update“)
Install Visual Studio 2013 node.js Tools
Install Visual Studio 2013 TypeScript Tools
Create a new project „Typescript\Node.js\Blank Node.js Console Application“
Add your „conf.ts“ and „spec.ts“ files to the project
Right click on „conf.ts“ and select „Set as node.js startup file“
In „Project properties“ set your „Node.exe path“ to your protractor executeable file, eg. „C:\Users\myUser\AppData\Roaming\npm\protractor.cmd“
Download typescript DefinitelyTyped definitions from git hub:
https://github.com/borisyankov/DefinitelyTyped
In your VS2013 project folder „Scripts\Typing“ create the subfolders „jasmine“, „protractor“ and „selenium-webdriver“
Add the typing definition files "angular-protractor\angular-protractor.d.ts", "jasmine\jasmine.d.ts" and "selenium-webdriver\selenium-webdriver.d.ts" into the appropriate project folders you created in the step above.
Write your protractor test and enjoy code highlighting
Start webdriver-manger „webdriver-manager start“
Hit „F5“ to start debugging
Enjoy!
Florian

Resources