How to get WebDev.WebServer40.exe installed on windows 10? - asp.net

I have some old legacy code that requires:
C:\Program Files (x86)\Common Files\microsoft shared\DevServer\10.0\webdev.webserver40.exe
but how do I install that? From the above it seems I need to install VS 2010 so I tried to download VS 2010 Express:
en_visual_studio_2010_vb_express_web_installer_x86_516528
and install that, but that did not install anything in:
C:\Program Files (x86)\Common Files\microsoft shared\DevServer\10.0\webdev.webserver40.exe
Any suggestions?

That server is ASP.NET Development Server and your "legacy" code should not depend on it at all. Revise that to use other solutions please.
Besides, if you do insist installing it, you need to install Visual Studio Express for Web, not VB.

Related

Visual studio 2017 installation issue on windows 8/8.1

We are not getting core 2.0 template after installation Vs2017 community edition.
Under the Environment Variable the Path was setup wrong.
'C:\Program Files (x86)\dotnet' removed
'C:\Program Files\dotnet' set

Visual Studio Bower error

I'm going through some ASP.NET tutorials and I've encountered an error I don't know how to resolve. I just added a Bower pacakge(?) and Visual Studio (Enterprise 2015) placed it under a Dependencies branch. Under that is the Bower branch and in that the package appears. Both Dependencies and Bower say "- not installed" after them. I've right-clicked and selected the "Restore" option. Viusal Studio works for a while and then says an error occured. The following error appears in the Output window:
PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\git
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\Bower.cmd" install --force-latest
bower underscore#~1.83 not-cached git://github.com/jashkenas/underscore.git#~1.83
bower underscore#~1.83 resolve git://github.com/jashkenas/underscore.git#~1.83
bower underscore#~1.83 ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/jashkenas/underscore.git", exit code of #-532462766
I'm not terribly familiar with Git, but I know I shouldn't have to have it installed in my workstation. Anyone know what's going on?
I believe bower uses Git client to pull packages directly from GitHub using entries in the packages bower.json file.
Specific to your problem, Git (and therefore bower) is unable to connect to GitHub due to firewall issues. Similar issue here
You can set global git variables (e.g. git config --global xxx) to set proxy etc. to hopefully work around this problem.
According to the error your Git Client is installed locally at C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\git

How to build a project in qt 5.2.1 for amd64 (setup cl.exe and missing mspdb110.dll file)?

I have installed qt 5.2.1 and Visual Studio 2012 in Windows 7 x64 (I have codepage 1251 if it matters). I use vs11 compiler.
Firstly I tried to run 'Rebuild all' action and I have received an error connected with cl.exe.
Then I added the path to vs11/bin to PATH variable (where cl.exe file is located; strange but it is in Program Files x86 folder) and have received the error: mspdb110.dll is missing. What should I do next? How to build the project?
Add to PATH path of directory with this dll. It's in something like C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\amd64. If you have not such file in entire system, I guess you should reinstall Visual Studio.

Dot net fortify Scanning

Can I run fortify scan on my machine without Visual Studio Installation?
I mean by fulfilling the basic requirements. Currently when scanning the code via fortify there are errors like cannot locate ildasm.exe
MSBuild: [error]: Unable to locate the Microsoft .NET disassembler tool (ildasm). Please make sure you have Visual Studio .NET version 7.1 or greater installed along with the SDK.
MSBuild: If ildasm is installed in a non-standard location, please provide the full path to ildasm in the fortify-sca.properties file as com.fortify.sca.IldasmPath.
Yes, you can. You will need the Windows .Net SDK or a copy of the files from a development box. These files are typically located at C:\Program Files(x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools or similar. I've set up automation on machines that do not have Visual Studio installed and I just copy these files to a suitable location.
Next, you need to alter [FortifyInstallRoot]\Core\config\fortify-sca.properties and add com.fortify.sca.IldasmPath=[Path to the SDK files] using forward slashes (/) and NOT back slashes (\).
Finally, you will need to add some registry keys so that Fortify knows where to look for .Net Framework assemblies:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1]
"CLR Version"="v2.0.50727"
"InstallDir"="C:\\Program Files (x86)\\Microsoft Visual Studio 7.1\\Common7\\IDE\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0]
"CLR Version"="v2.0.50727"
"InstallDir"="C:\\Program Files (x86)\\Microsoft Visual Studio 8\\Common7\\IDE\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0]
"CLR Version"="v2.0.50727"
"InstallDir"="c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\Common7\\IDE\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0]
"InstallDir"="c:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\"
"CLR Version"="v4.0.30319"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\11.0]
"InstallDir"="C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\IDE\\"
"CLR Version"="v4.0.30319"
If you want to exercise GUI option, you can use Audit workbench.
Open the project that you want to scan, it will show up all files that you want to include in scan.

MPI with VS2013

I have a question regarding MPI and in particular if I can run MPI with Visual studio 2013 or 2012 I saw a lot of examples but they all were shown using VS2010 with Microsoft HPC SDK 2008
If any could please tell me what exactly I need to install I would really appreciate it.
Thank you very much,
Regards
The latest version of MSMPI, to my knowledge anyway, is v5 and can be downloaded from this link: http://www.microsoft.com/en-us/download/details.aspx?id=44990
I have been using the HPC pack 2012 R2 and HPC pack 2008 versions so if they didn't change folder names, Microsoft have a tendency to do that, this is how you configure your console C++ application:
(Replace c:\Program files\Microsoft HPC Pack 2012 with your installation folder!)
1) Create a new Win32 console application.
2) Project Properties ->
2a)C/C++-> Additional Include Directories Add c:\Program files\Microsoft HPC Pack 2012\inc
2b)Linker->General-> Additional Library Directories Add c:\Program files\Microsoft HPC Pack 2012\lib\i386 (amd64 if your app is 64bit).
2c)Linker->Input-> Additional Dependencies Add msmpi.lib
Your MPI application should compile now.
Since VS2013 has no MPI debugging, you need to specify mpiexec.exe directly in the debugger tab:
3a)Debugging->Command-> "C:\Program Files\Microsoft HPC Pack 2012\Bin\mpiexec.exe"
3b) Debugging Command Arguments-> $(TargetPath) -n 2

Resources