Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [visual-studio]

Use this tag if you have a specific question about Visual Studio features and functionality. DO NOT use this tag on questions regarding code which merely happened to be written in Visual Studio. Consider tagging the exact technology area your question links to and also tagging a more specific ...

1
vote
0answers
10 views

MSMQ not sending message to server

I'm using MSMQ with WCF to send a message to a queue on a server. I'm setting up a proxy as a reference to the service, then making a call to that proxy. When executing, I receive the following error: ...
0
votes
0answers
7 views

Ignore all nested subdirectories in .tfignore

I have a folder structure like so: -root -Proj1 -Addedthings -Tables TableFiles -Proj2 -Addedthings -Tables TableFiles -Proj3 TableFiles ....
0
votes
1answer
33 views

How to import C# syntax colors from Visual Studio Code to Visual Studio?

I'd want to use Visual Studio Code's colors for C# (Omnisharp) in Visual Studio - How can I export them? Here's comparison:
0
votes
0answers
7 views

extjs warning/error under async function keyword, in VS

In Visual Studio Version 14.0.25431.01 Update 3, I went to FILE, NEW SENCHA PROJECT. In the MainController.js I added a simple async function. I am getting a warning from my IDE, a red line under ...
0
votes
0answers
13 views

Error creating a new Native-Application (Android) in Visual Studio 2017

I just installed Visual Studio 2017 latest and included Visual c++ cross-platform for Android. The installation was successful. After installation I created a new project Native-Activity Application (...
-4
votes
0answers
29 views

Visual Studio 2013: "Incorrect Syntax near 'Line'

I'm trying to get my code to add new records to an existing database but I keep getting this error when I run the program private void Save_btn_Click(object sender, EventArgs e) { string ...
0
votes
0answers
7 views

Visual Studio 2017 - Professional: Setup and Deployment projects not showing in Other Project Types

In Extensions, the Setup and Deployment extension for Installers is already installed, and when going Tools_Get Tools and Features, the Installers is also shown to already be installed. However, in ...
0
votes
2answers
45 views

Visual Studio Unable to Copy File …Access to the Path is Denied

I am unable to build my project when the Solution Configurations dropdown is set to 'Test'. Multiple errors appear, most of which read 'Unable to copy file [File location] to [copy file location] ...
0
votes
0answers
17 views

How to call API during Visual Studio Project Build

Ok I am a beginner and I have joined a company where I need to take care of internationalization/localization of texts stuffs all across the product. Below is my story so far. Step 1: When the VS ...
0
votes
0answers
6 views

C++17 standard library includes not working with Android project in Visual Studio 2017

What I am trying to achieve is pretty simple: I just want to use C++17 features in a Visual Studio Android project. I have just taken one of the Visual Studio examples (New Project --> Visual C++ --> ...
0
votes
1answer
23 views

Attaching debugger to multiple processes

Very simple question from new user of multiple processes debugging. Whenever I read MSDN articles regarding this topic, I read: "You can attach to multiple processes when you are debugging, but only ...
0
votes
1answer
13 views

Testing a Visual Studio Extension from VS2017 with the devenv for previous versions of Visual Studio does not work

So I have a Visual Studio Extension, and if I test it in VS 2017 with the VS2017 devenv configured, then when I debug it launches an instance of VS2017 with my extension installed. However if i use ...
0
votes
0answers
7 views

Windows Store - App can't be installed because your PC might not meet some of the requirements

We develop an app which is on the Windows Store and targets Windows 8.1 in it's build. The app is fully submitted to the store and works perfectly on Windows 10 devices. However on all Windows 8.1 ...
0
votes
0answers
7 views

How to debug Rails project with angular 4 in Visual Studio

I want to debug Ruby on rails project, having angular4 on UI side and rails as a server. I followed many documents but I am getting a error "Could not find the task 'npm'. when I try to run the ...
1
vote
0answers
27 views

How to write in a text editor using the VB keyword that I created

I made a keyboard app in Visual Basic but i can't make it write in other text editor apps like Word Public Class keyb Private Sub Btn(ByVal sender As System.Object, ByVal e As System.EventArgs) ...
1
vote
0answers
32 views

VB.NET - How to ad a My extension

I am trying to access the My.Computer object in a class library project (Visual Studio CE). I know people say that I should find in Project Properties a "My Extensions" option - but it's just not ...
-1
votes
0answers
25 views

Xamarin - Wrong data in sqlite db

On my application that I develop, I therefore have a database in which I store the information of my game. So I have a class Database where I created the db, add columns and update, these methods are ...
-1
votes
0answers
9 views

Measuring the delay between stimulus(square wave pulse) and response waveform (capturing of the high/low pulse triggering) using keysight 34461A DMM?

I would like to measure the delay between my stimulus waveform (pulse) and response waveform (capturing of the high and low pulse triggering). I am using a 34661A keysight digital multimeters which ...
0
votes
0answers
7 views

Every test in project says “Excluded from Live Unit Testing”?

I have the test adapter & framework packages added per the docs https://docs.microsoft.com/en-us/visualstudio/test/live-unit-testing-faq?view=vs-2017. I see the "beaker" symbol\icon beside each ...
-2
votes
1answer
31 views

Don't save the info if there's a null form in c# sqlClient

I'm making our system for thesis, and i'm trying to save a account of the users. My condition is, if there's a empty form, the account will not be saved and it will display a message box. I tried to ...
1
vote
2answers
33 views

How can i open a form everytime a textbox is focused?

im developing a keyboard to a touchscreen display, i need to know how can i program a generic code that everytime any textbox is focused, the form(keyboard) opens. I know i could put in the event ...
-2
votes
0answers
30 views

Create an Installation programm for C# Application [on hold]

I found old Threads where different tools are droped. But with what Technologie do you create 2018 Installation programms for your C# Application ? Did anyone still use WixToolset or SharpSetup ? ...
1
vote
1answer
8 views

Enable/disable warnings, visual studio comand prompt

I know that this question is almost the same with this , but I still don't understand how to do it in command prompt. Here is what I'm doing: I need to compile old source code of 7z archivation tool, ...
2
votes
1answer
27 views

Dependent Assembly loading via configuration

I have a visual studio project with is running absolutely fine. But a new client requirement comes up for deployment for placing the different dlls in different folders. We have a framework dll ...
0
votes
1answer
18 views

Add sibling after a specific XML node C#

My xml document looks like this: <root> <parent1> <element1> </element1> </parent1> <parent1> <element1> </element1> </parent1> &...
0
votes
0answers
3 views

Can I record the call path between two breakpoints in visual studio

I'm working on a C++ project in Visual Studio 2015 and I would like to know all method calls between two breakpoints. Is there a feature in the profiler that could help me out on this? To clarify: ...
-1
votes
0answers
13 views

Unable to change colour of object using MetroFramework

I'm currently unable to change the colour of any objects using the metroframework package. I believe that applying the setting UseCustomBackColor property to the value of true allows for color change ...
0
votes
1answer
16 views

I accidentally removed my project using cmd command rd. git /s/q

I tried to upload my project to GitHub but accidentally deleted it. How can i restore it?
0
votes
0answers
20 views

Different ApplicationType depending on Configuration and Platform in Visual Studio 2017

I am trying to configure a library project in Visual Studio 2017 in such a way that it changes its entire ApplicationType depending on the $(Configuration)|$(Platform) condition. In particular, I'd ...
1
vote
0answers
36 views

Installing Xamarin in Visual studio professional

I have been trying to install Xamarin on my machine. I have been following this article Installing Xamarin in Visual Studio 2017 Visual studio is 15.8.1. professional. Windows 10 Downloaded from ...
0
votes
0answers
11 views

RequiredFieldValidator for server side Select2

I have a HTML select which loads options from database with ajax when user search for something (server side). But when user select an option, RequiredFieldValidator always return invalid. If I add ...
-1
votes
0answers
18 views

Prevent/Disable the generation of satellite assemblies

I have a windows service (.NET 4.6.1) application without any RESX file. There is absolutely no need for localization. To keep the build and deployment as small as possible, I'd like to kick out ...
0
votes
0answers
15 views

How to force Visual Studio to re-run analyzers from the VSIX code?

I have a VSIX extension which contains a set of Roslyn analyzers. At some moment, a user can change some settings that affect the analyzers, so I need to force Visual Studio to re-run them in all open ...
0
votes
0answers
19 views

Xamarin.Android fast deployment is disabled

Fast Deployment property is disabled in my Xamarin.Android in Visual Studio for Mac. How can I enable this property for fast debugging? I tried create a test project and this option is able to check, ...
0
votes
0answers
11 views

System.Device.Location.Portable 1.0.0 package may not be fully compatible with your project

I am developing a web application using asp.net core 2.0 and installed a package named System.Device.Location.Portable 1.0.0 using nuget. Under dependencies I see this warning: http://prntscr.com/...
0
votes
0answers
11 views

How do you capture output from Python Unit Tests with Visual Studio?

I am using python unit test projects in Visual Studio to test my code. This approach is a requirement from our quality assurance team. I am also required to capture the output logs from our python ...
-3
votes
0answers
19 views

Lucene .net 4.8.0 Support

When I am upgrading lucene3.0 to lucene 4.8 Beta version with .net framework 4.7 I am getting below error Error CS0012 The type 'Document' is defined in an assembly that is not referenced. ...
-1
votes
0answers
13 views

Jenkins not running build.all target in build.xml for C++ application using devenv [on hold]

I have a project of C++ files. I am building in using MS Visual Studio 2015. I use ant to build via command line. Now when I run the target build.all using command ant build.all it runs ...
-1
votes
0answers
15 views

Jenkins use the msbuild on other machine

Here is the problem I'am facing now: I install the Jenkins in a computer(we call it com A). com A does not install visual studio and my other computer for development dose(com B). Now, the question ...
0
votes
0answers
23 views

Column Properties with column name in Server Explorer

How to show column properties with the column name of a table in Server Explorer of Visual Studio 2017? Currently it shows only the column name and I have to show table definition to check the ...
0
votes
1answer
40 views

How to add multiple textBox values in a text file (.txt) in c#?

I have used this code, but it is only saving the value for the textBox1. The other two values are not saving. Please check the input and output scenario. Input: Name: aaa College: bbb Roll: 111 ...
1
vote
0answers
14 views

Internal compiler error: Specified cast is not valid. in NetNatives.target

In a past 2 weeks. I've been seeing this in my error log. And no matter how hard I tried. It persist. I've been working on my project everything is fine. I can see all error and I fix it. I can still ...
1
vote
1answer
22 views

Error LNK2001: unresolved external symbol when trying to use source and header files from another directory than the default in Visual Studio 2015

I have the stdafx.h file and a source (test.cpp) file in the default directory (C:\Users\Roland\Desktop\projects\test\test) together with a header (header.h) and a source (source.cpp) file in an other ...
-1
votes
0answers
9 views

How to make a serial number in a visual studio 2017 enterprise

How to make a serial number in visual studio 2017 enterprise? I have software that I will lease per month, I make the software using Visual Basic.
1
vote
0answers
14 views

Cannot run c/c++ file in Visual Studio Code in MacBOOK, even after installing Code Runner Extension in VSC

I want to run c/c++ code in my MacBook Pro. For this I install Visual Studio Code in my mac. Also I install gcc compiler through terminal. I have install C/C++ extension and Code Runner in the Visual ...
0
votes
0answers
22 views

refactoring by renaming variable in DLL shared by several projects

There is a DLL A.dll shared by project B.exe and C.exe. So There are also two solution B.sln and C.sln. B.sln contains A.dll and B.exe. C.sln contains A.dll and C.exe. When I opend B.sln and renamed ...
1
vote
1answer
28 views

How to Debug a COM DLL

I made changes to a function in a COM DLL. I've been unable to figure out how to debug the changes I made. Background: I recently inherited a Visual Studio 2012 C++ project that dates back many ...
-2
votes
1answer
32 views

How to run and/or debug a large .NET Framework project

I have a large .NET Framework web project (many files and pages, it accesses SQL Server database) that I need to run, debug, and understand in Visual Studio 2015. I'm new to VS and the framework. I ...
0
votes
0answers
4 views

Are Custom Localizations Possible in Visual Studio Code?

Is there away to add custom localizations to VS Code? If so, how would I go about doing so? I'd like to translate the app into my second language for personal or community use.
1
vote
1answer
19 views

Passing a file address with spaces to CMD

I have the following code, which works fine as long as my address does not have any spaces in the folder names. I know spaces in oFileLocation is what is causing me issues, and I know I need to wrap ...