remote debugging windows 8.1 driver Visual studio 2013 - c++

I'm trying to set up remote debugging on Visual studio 2013.
I think I installed everything on my computer and the hyper-v machine too + updated.
So whats happening:
I open a microsoft UMDF driver sample. (I can build it without any errors).
I select Debugging tools for windows remote debugger.
Then a message box pops up named Deployment not configured.
I select I know what I'm doing continue debugging.
Then the Computer configuration wizard starts add new computer.
I select provision computer and automatically configure debuggers.
Then the configuration process configure my hyper-v machine fine.
Installs the necessary files restart the computer and log in with the name WDKRemoteUser.
Then I Click Finish then this error pop-up.
The required property 'DbgengRemoteCommand' is missing or empty. (OK)
So I need to fill up the package property pages->configuration properties->debugging->
Remote Command, Remote Command Arguments, Remote Working Directory, Remote Computer name manually?
And if I had to what should I write there or I miss something else?

You only need to specify the "Remote Working Directory" parameter and you can just give it the same path as your build directory and you should be good.

Related

Connect to microsoft virtual machnine with Clion and debug `xv6` with `GDB`

I have a virtual machine in Microsoft Azure which runs Linux, and has the code of the xv6 operating system.
I want to debug it on my (Windows) computer. How can I connect to to the VM and the GDB/CGDB with my Clion?
I tried to add a Remote Host configuration in Build, Execution, Deployment | Toolchains and managed to connect to the VM, but it Clion requires a path to CMake and the compilers, and I (and Clion) can't find it, and get errors.
This is the error details (appears when I click more...):

Visual Studio - Error: Unable to download installation files

I'm following a nice tutorial on hosting Django on Apache, for that I need to install mod_wsgi using pip. This needs c++ 14.0 or higher .. I've been trying to install visual studio community edition and it's tools using the microsoft installer. However, a bugging error keeps chacing me:
"Unable to download installation files. Check your internet connection and try again"
Now my internet connection is fine, I also did many attempts to restart, and re-download - cmd commands for offline installation and many many attempts.
I need help here as It is driving me crazy!:D can anybody please help?
all the best
Visual Studio - Error: Unable to download installation files
You can try these steps:
First, make sure that you use administrator account to log on to the PC and your Internet can access any websites.
1) delete the Installer folder under C:\Program Files (x86)\Microsoft Visual Studio\
2) Right-click on the vs_xxxxx_xxxx.exe(installer program)-->Properties-->Digital Signatures-->you can see "signature list"-->Select signature and then Click on Details button-->Click on View certificate button--> Click on Install certificate and follows installation wizard.
3) Fire up Run, type gpedit.msc
Brows to the following location: Computer Configuration-->Administrative Templates-->System-->Internet Communication Management-->Internet Communication settings then find the entry Turn off Automatic Root Certificates Update and open her up and set it to Disabled.
4) Get Windows to check for updates and if so, update it.
5) Then run the installer as administrator to install it.
In addition, if you create an offline installation, please use like this:(remember to add --lang en-us)
vs_community.exe --layout C:\vs2019offline --lang en-us
Besides, when you finish it, please install the three certificates as administrator which are in the certificates folder of the offline package and after that, install the installer.
Also, make sure that these certificates are in the trusted folder.

Building Visual Studio project on Windows Server 2012

I have set up a CI server for our .NET projects. To build those projects I want to use the Visual Studio executable devenv.exe.
This worked out perfectly during the "evaluation period". Now these 30 days are over, to keep using Visual Studio on my Desktop computer, I just updated my license with one mouseclick. Doing this on the server allows me to build using the GUI, but when running devenv.exe programatically with the required parameters, I am receiving an error that the evaluation license expired, even though I renewed it.
I have already tried a clean reinstall, which did not fix the issue for me. Visual Studio on the server is connected to the same account I am successfully using on my Desktop PC.
Is there a known fix for this issue?
Figured it out. The license is somehow related to the user that launches Visual Studio. So to to automatically build projects with devenv.exe, the building agent has to run under the same user account, that installed an launched Visual Studio.

Windows server 2012 r2 core interface disable

I successfully installed windows server 2012 R2 .After setting admin password,and login,I am getting command window instead of GUI.
Can anyone please help me come out of this issue.I tried several methods but still in midst of problem.
Waiting for reply..
It seems like you did infact install Windows core version. Make a new installation and select Windows server (with GUI) from the menu. If youre not prompted this during installation, then it is most likely not the correct install media.

Why does a VS2010 build on a jenkins slave using cygwin give fatal error C1902?

I have set up a jenkins slave server with cygwin and I'm launching builds on it via ssh.
The build of our project succeeds if run locally as the slave user both in the windows command prompt and in the cygwin command prompt. I can also ssh into the machine as the slave user and run the build successfully.
However, when jenkins runs the build as that slave, it fails trying to compile the first C++ project with the error: fatal error C1902: Program database manager mismatch; please check your installation.
Visual C++ 2010 express, and Visual C# 2010 express are both installed and required for our project to build.
In my research I found some indications that cygwin does not handle the remote login correctly here: https://java.net/projects/hudson/lists/users/archive/2008-10/message/130
Has anyone else solved this problem?
Try below solution
Use “Launch slave agents via Java Web Start” to add windows slave to jenkins master.
It will launch Jenkins service on windows machine using some local users account. Then change local user to the user you are using to build locally.
The problem with “Launch slave agents on Unix machines as SSH” method is, it runs connection using “cyg_server” user.