ZIP file replaces .VSIX from Visual Studio Marketplace - visual-studio-2017

I'm using Visual Studio 2017. Our organization is blocking Visual Studio Marketplace (403 HostBrowserBlocked). Therefore, the way we normally download and install extensions is failing.
When we find a useful extension on the Visual Studio Marketplace, they want us to download a ZIP file.
What are the instructions for using this ZIP file properly? Apparently this is common knowledge because it isn't clear on the download page.
I have downloaded the ZIP file and looked for the missing VSIX file. I have copied the extracted ZIP file to "Extensions" folder of the Visual Studio installation and still failures.

It is Internet Explorer renames .vsix to .zip. You can use other web browser to download as .vsix.

Have you tried to just replace manually the file extension of the downloaded file from zip to vsix?

Related

cloning a visual studio project from GitHub

I'm trying to use Visual Studio with GitHub, so I created a remote repo from Visual Studio, and pushed my solution there (it's a C++ project).
Now I simply want to clone that repo from GitHub and run the code on another machine, but if I clone the repo I only get a .sln file. If I click on the solution file Visual Studio complains that there's no project file, so the project cannot be loaded.
What am I missing?

Error while Installing AWS Toolkit on Visual studio 2017

For installing AWS Toolkit on Visual Studio Enterprise 2017 (15.7.4), I find Extensions and Update menu from Tools main menu , click Online menu (left side) and then type AWS Toolkit and press download.
Then I close VS and VSIX installer start for installing AWS Toolkit. After while, it shows me a message like this
I read all of the last questions about this subject and read all of them, but it seems it is different.
Also I attached the log file here. the error log file
Try to delete oprpfoeu.n32 folder then download and run the installer again.
Deleting this folder:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Amazon Web Services LLC
and installing the AWSToolkitPackage worked for me.
delete C:\Program Files (x86)\Microsoft Visual
Studio\201X\YYY\MSBuild\Amazon Web Services LLC
delete C:\Program Files (x86)\Microsoft Visual
Studio\201X\YYY\Common7\IDE\Extensions\xxxxx.xxx (where
xxxxxx.xxx was the folder that contain AWS related dll's)
Re-installed AWS Toolkit
X= Year number
YYY= version: Professional,Community,...

CSX output directory does not exist error

Today I suddenly started getting errors when I try to run/debug my Azure cloud project from Visual Studio. I'm running Visual Studio version 15.7.3 and Azure SDK version 2.9.6. The error message says:
Failed to debug the Microsoft Azure Cloud Service project. The output
directory '\csx\Debug' does not exist.
Yesterday it worked fine, but during the night Windows Update installed some updates and rebooted my machine.
I have tried the following things without success:
Created the folder myself
Set full permissions for everyone on the csx folder
Set full permissions for everyone on the parent folder to the csx folder
Uninstalled one of the updates which was installed during the night
The strange thing is that if msbuild creates the csx folder without problems, using this command:
C:\src\services2>msbuild <cloudproject>.ccproj /p:configuration=debug /maxcpucount /p:outdir="c:\OutDir" /p:overwritereadonlyfiles=true /p:targetprofile="Cloud" /target:Clean;Publish
Any suggestions on how to fix this problem?
After struggling with this problem for a long time, I concluded that it was a problem with Visual Studio, since msbuild worked without problems.
After running a "Repair" on Visual Studio, it now works again :-)
You run the repair by selecting Visual Studio from Settings/Apps & features and clicking "Modify":
In the Visual Studio installer, you then select "Repair":

Error publishing Lambda Function in VS 2017

When I try to publish my Lambda project in Visual Studio I get an error message:
"... publish PATH\ProjectName does not contain a project.json file"
I did some reading, it would seem in the new Visual Studio (2017) there is no longer a project.json file in because .Net Core is now based on msbuild, which means that it's going to use *.csproj instead of project.json. Package!
How am I supposed to publish my Lambda function via Visual Studio if I don't have the project.json file available?
PS. I have latest AWS Toolkit installed.

WiX Installer with Visual C++ Redistributable install per user

I'm using Wix to generate an msi installer file for a project. I'm using wix to also install the Visual C++ Redistributable files (Following this guide: http://wix.sourceforge.net/manual-wix3/install_vcredist.htm )
Although I specify InstallScope="perUser", my installer is still trying to install for all users. This wasn't happening until I added the redistributable file.
I have also added
<Property Id="ALLUSERS" Secure="yes"/>
with no luck.
It seems the merge of VCRedist is causing the need for privilege escalation.
Is there any way to generate an installer that installs with Visual C++ Redistributable per user (ie not for all users)?
No, the Visual C++ runtime DLLs are installed under the Windows directory, so administrator privileges are required to install them. You can install the DLLs locally and not require administrator privileges ; for example, see http://msdn.microsoft.com/en-us/library/dd293565.aspx.