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?
Related
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.
I followed "Project templates for Visual Studio 2015 and Visual Studio 2017", but when I create a project using the template, I get following error:
Package Installation Error
The preinstalled packages have a reference to a missing Extension.
Could not find an Extension with ID 'HomeSeerTemplates.Alex Dresko.82028f47-9623-4359-a6bf-244390c19608'.
Long story short, try uninstalling the extension and reinstall it. I apologize for the inconvenience, but you shouldn't have to do that again. I goofed a couple weeks ago and messed some things up. Let me know if the new version of the extension works.
https://marketplace.visualstudio.com/items?itemName=thealexdresko.HomeSeerTemplates2
I want to combine Angularjs and TypeScript in a asp.net web api, so I try this blog post: LINK
when I run my application I encounter whit this error:
Error Build:Only 'amd' and 'system' modules are supported alongside --out.
I tried this post and install both of Microsoft.TypeScript.MSBuild and Microsoft.TypeScript.Compiler, but it still stops with that error.
so I try this post, but I don't know how to modify tsconfig.json because it uses visual studio code and I use visual studio 2015.
can you help me?
thanks
Choose "none" in the TypeScript module type under the project (.csproj) properties -> TypeScript Build.
In Visual Studio 2015, the TypeScript Build tap seems to have an issue. When selecting "none", it does not always work. I got it to work by unloading the project and editing the following entry manually in the .csproj file.
<TypeScriptTarget>ES5</TypeScriptTarget>
<TypeScriptJSXEmit>None</TypeScriptJSXEmit>
<TypeScriptCompileOnSaveEnabled>True</TypeScriptCompileOnSaveEnabled>
<TypeScriptNoImplicitAny>False</TypeScriptNoImplicitAny>
<TypeScriptModuleKind>None</TypeScriptModuleKind> <----- Set this value to None
<TypeScriptRemoveComments>False</TypeScriptRemoveComments>
I hope you can help me.
I am busy following the John Papa course - Building apps with angular and breeze -
(http://www.pluralsight.com/courses/build-apps-angular-breeze), but pretty early on in the course I am getting issues with installing HotTowel.Angular.Breeze via NuGet. It seems there is some incompatibility issue with to$q and to%24q.
I get the following error: 'C:\Users\Admin.nuget\packages\HotTowel.Angular.Breeze\2.3.3\content\scripts\breeze.to%24q.shim.js'.
I am using Visual Studio 2015, and the only real solution I found was to move to VS 2013. But I am certain there must be a better solution or workaround.
I really appreciate all your help!
The solution:
I downloaded the source packages contained in the source files of the specific project on GitHub.
I then set a new Package Source in VS2015 pointing to the downloaded compatible packages, and installed it via that location.
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