How to run lib curl in Visual Studio 2013 from your project? - visual-studio-2013

I have my Python (Flask) project set up and running on Visual studio 2013 for building REST API. For my client, I want to use lib curl however don't have any clue how to and where to type in the commands for curl?
example: curl http://127.0.0.1:5000/

Download this (http://curl.haxx.se/download.html) and you can use a terminal window....

Related

rust: link.exe not found

I installed the rust compiler and also MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.27) (as an individual component)
This does not seam to be working.
Does rust require anything more which I have not installed? Thank you in advance.
Install the Windows SDK too.
I also didn't want to install all of Visual Studio just to compile rust from the command line.
Based on the info in coder-256's link, I tried running C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat. Then, instead of being unable to find link.exe, I got the error:
note: LINK : fatal error LNK1181: cannot open input file 'advapi32.lib'
Searching Stack for that error led to this answer: Install the Windows SDK
So I installed the Windows 10 SDK, and now (after launching a new cmd window) it works.
Using Win11, here's the specific steps that worked for me (assumes VSCode and Rust are already installed):
Go to the Visual Studio Download site
Download Build Tools for Visual Studio 2019 (version 16.9)
Install
Create a "hello world" Rust project (cargo new hello)
Open project in VSCode
Set path info in launch.json file (located at folder root, may need to create this first)
Type Shift+Ctrl+B to build the Rust project

How can I compile Sass in Visual Studio 2019 for Mac?

So I would like to use my Macbook to build a new app but the tools I typically use for SASS, mainly the Web Compiler extension, are not supported on Mac. Is there a similar tool I can use on Mac in VS to compile Sass?
I'm using Visual Studio 2019 for Mac, Community Edition.
Looking at the Web Compiler extension it seems to use node-sass to compile the .sass files.
If you can get that working on the command line then you could do one of the following:
Run that command from the Terminal window.
Add a post or pre-build step to the project which runs that command.
Look at installing the BuildWebCompiler NuGet package which looks to be used by the Web Compiler extension to enable files to be generated on build.
Install the Task Runner Explorer extension and setup a package.json with a command that will run node-sass. Then the NPM task runner should be able to detect that and run it.

Run c# visual studio project in windows, created in ubuntu

I've got a problem with Visual Studio console application created in Ubuntu 15.04. When I try to run c# program in Visual Studio in Windows 10 I get an error "visual project does not contail any commands in project.json and cannot be start". How to fix that?
I have only json file but I don't have any sln and csproj.
The easiest solution: create new, empty console app and paste content (.cs) files from linux repo to it. Build and compile.
Remember to resolve conflicts which may occur (libs used in linux environment may be problematic in windows).

"exited with code 9009" error while trying to build AngularJSToDo Sample app for Visual studio 2013 community

I downloaded Visual studio 2013 Community today, after that I manually installed all the needed tools for the Apache Cordova extension for visual studio. Then I downloaded the AngularJS Sample App
to try it out .. but when I try to build it it gives me that error
The command "Powershell -ExecutionPolicy RemoteSigned Unblock-File
'C:\Projects\AngularJSTodo Sample for Tools for Apache
Cordova\JavaScript\AngularJSToDo\FetchRequirements.ps1'; Powershell
-File 'C:\Projects\AngularJSTodo Sample for Tools for Apache Cordova\JavaScript\AngularJSToDo\FetchRequirements.ps1'" exited with
code 9009
any help would be greatly appreciated.
The sample projects have been authored in a way that the requisite dependency frameworks will be automatically downloaded when you run the project for the first time.
However, the libraries may fail to download in case the script does not have the right permissions to execute. To fix this:
Open the folder where you’ve downloaded the sample app
Identify the FetchRequirements.ps1 file and right click it
Choose “Properties”
Click the Unblock button if it shows up
Try to run the project again through Visual Studio

Can't open the VSVim project

I have a clean install of Visual Studio 2010 with C# and F# installed and I am getting the following error when I try to open the solution cloned from github.
D:\projects\VsVim\VsVim\VsVim.csproj :
error : The project file
'D:\projects\VsVim\VsVim\VsVim.csproj'
cannot be opened.
The project type is not supported by
this installation.
Is there a way to get more information about what exactly I am missing so that I can install the components?
You probably need to install the Visual Studio 2010 SDK.
Noah is correct that the most likely problem is you need to install the Visual Studio SDK. The full steps to getting VsVim to open and compile are the following (taken from the README.txt file in the enlistment).
Install the Visual Studio SDK
Run the script Populate-References.ps1 from the enlistment root directory
Open the Solution.

Resources