Questions tagged as 'visual-studio'

0
answers

Error Xamarin.Forms Android - new HttpClient ()

This error appears (image) whenever it arrives in this line: using (var client = new HttpClient()) Thisisthecompletecode.usingNewtonsoft.Json;usingSystem;usingSystem.Collections;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem....
asked by 07.10.2016 / 22:40
1
answer

Visual Studio project losing references via git

When cloning a project, it is coming with some blank references, having to be added manually. This problem only occurs with cloned projects, if you download the project as zip by github, it works normally. I have tried to use the source tree...
asked by 22.10.2016 / 03:51
1
answer

How to create web.api project MVC 4 instead of MVC 5

I have a problem when creating my project in VS 2015, whenever I create the web.api application it creates with the version of MVC 5, but I need it to be MVC 4 because of hosting. Downgrade version does not work, VS does not downgrade all refere...
asked by 11.10.2016 / 02:40
1
answer

Publish Visual Studio does not connect to remote computer (Web Deploy)

When I try to publish my application via Visual Studio ( Publish... ), I get an error message stating that it was not possible to connect to the remote computer. The Web Deploy of the server is installed and the service is running n...
asked by 17.09.2016 / 17:14
1
answer

Select only one item in the middle of two listboxes

Oops! Gal, I wanted to select only one item in the middle of two listbox, imagining the listbox to be a radiobutton, if I select an item in one, it is no longer selected in the other. I tried it like this: private void listBoxQuestoesObjetivas...
asked by 20.08.2016 / 16:27
0
answers

Client can connect to server but crash when receiving data

Here's the part of the error code: private void buttonAbrirConexão_Click(object sender, EventArgs e) { try { socketOfServer = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); socketOfServer.B...
asked by 30.08.2016 / 02:47
1
answer

How to remove Essentials Web extension from visual studio 2015?

I added this extension in Visual Studio 2015 to test, but it disables all native Visual Studio commands, I wanted to remove this to never install again. link Getting this garbage out in Tools / Extension and Updates, plus Visual Studio d...
asked by 27.07.2016 / 01:03
2
answers

Error trying to add a self-incrementing column to a datagridview

I'm trying to add a autoincrementable column in a datagridview but I can not figure out what's missing to work properly. My program reads the data from a database table and displays it in datagridview . I need to add a autoincrem...
asked by 30.05.2016 / 18:53
1
answer

PowerShell failed, it can not be initialized, file locked by software restriction policies, how to fix?

I was using the package manager console in Visual Studio 2015, when I opened the powershell appeared a message if I wanted to run it in an unreliable source file, I clicked yes on this message showed more a 3 times, I clicked on the three times...
asked by 13.06.2016 / 00:28
0
answers

Providing hidden webservice

I have a question and I need your help. I have some webservices that require by client request that are not accessed by the browser but can be accessed by url if they type all the way plus the parameters. That is, if the user tries to view the w...
asked by 02.05.2016 / 21:55