Questions tagged [visual-studio-2017]

0

votes
0

answer
4

Views

Coco dataset to voc dataset for darkflow

I am working on a project of object recognition in darkflow andI want to train it with the coco dataset. Darkflow can only work with the voc dataset so far I know. So I am trying to convert the coco dataset json to multiple xml files darkflow need. I want to create a script in vb.net because I know...
Woebenskie
0

votes
0

answer
3

Views

Debug external classes in Visual Studio 2017 version 15.0

I would like to debug external classes (MVC in this case), but I can´t get it to work. I have turned of the "Enable Just My Code" option under the menu Debug - Options and turned on "Anable .NET Framework source stepping" and "Enable source server support" (please see the enclosed image). debug set...
Miss Lira
0

votes
0

answer
5

Views

Xamarin.Forms: add labels inside ListView?

I'm still learning, so please bear with me. I'm trying to display a ListView in my Xamarin.Form. So far, this is what I have, and it works pretty well: This is the codebehind: var obj = JsonConvert.DeserializeObject(coord); List storeList = new List(); string store = string.Empty; foreach (var item...
0

votes
0

answer
5

Views

Issues with class instantiation after converting VS 2005 project to VS 2017

I'm working on getting a (badly written) VB web app up to something approaching modernity by converting it off a VM running visual studio 2005 and into VS 2017. The solution conversion went smoothly however when I try to compile it throws around 1k errors that are instantiations of user defined cla...
Zoidfarb
1

votes
2

answer
792

Views

Visual Studio 2017 default startup project saved to file

I have a vs2017 project, SLN file only, no SUO file. When I open the solution and go to properties its set to Currently Selected for startup project. Unless I set that manually to one of my projects, the other data migration project doesnt get the connection string when I do Update-Database. I tr...
user433342
1

votes
1

answer
3.2k

Views

'Could not retrieve schema information for table or view' error in VS 2017 - M Access 2016

I'm trying to connect my Visual Studio project to a Microsoft Access database locally on my machine, I'm able to open the database correctly in Microsoft Access and I even tried making it empty of records and as simple as possible, when I'm adding it in Visual Studio and when I test the connection i...
Mousa Alfhaily
1

votes
2

answer
140

Views

Visual Studio 2017 C# target framework issue

I recently included a .net 4.6.2 project to use with my .net core 2.1 app. But after I've done this the projects stopped to compile throwing this error: Error Your project does not reference ".NETFramework,Version=v4.6.2" framework. Add a reference to ".NETFramework,Version=v4.6.2" in the "Targe...
AnKing
0

votes
0

answer
7

Views

Show list of parameter options in Visual Studio 2017

I'm working on a project in Visual Studio 2017 but there is something I don't like about the program. I'm used to, when writing code, for the autocomplete function to not only show the different functions available, but also the different sets of parameters for each function. for example in this tu...
BRHSM
-2

votes
0

answer
22

Views

Cannot figure out why my code doesn't put data in my node

Main function: { string newName = ""; string newAuthor = ""; int newYear = 0; Book book; cout > newName; b.setTitle(newName); b.print(); cout > newAuthor; b.setAuthor(newAuthor); b.print(); cout > newYear; b.setYear(newYear); bookList.addFront(book); b.print(); pressAnyKey(); Book.cpp: #include "Boo...
Hank Logan
0

votes
1

answer
34

Views

Xamarin Visual Studio 2017 Gridview with images and textview

I'm trying to populate a gridview with images and text. First I got the code to work with just the images (12 images). That image adapter code is: class ImageAdapter : BaseAdapter { public DataSet participants; public User MyUser; private readonly Context context; public ImageAdapter(Context c) {...
Prescott Chartier
0

votes
0

answer
5

Views

The Visual Studio 2017 Remote Debugger (MSVSMON.EXE) does not appear to be running on the remote computer

I have two windows 2012 r2 server in two different data-center, I can remote debug vs2017 with one of them, but after two day search and try I can't remote debug another server. The error message is: The Visual Studio 2017 Remote Debugger (MSVSMON.EXE) does not appear to be running on the remote com...
SnowStorm
10

votes
1

answer
160

Views

NetFramework app referencing NetFramework library in same solution referencing NetStandard library in another soln.: could not load file or assembly

There are many similar questions about problems referencing a .NET Standard class library from a .NET Framework project where a NuGet package dependency in the netstandard library doesn't flow to the netframework app, and the Could not load file or assembly error occurs at runtime: Many sources exis...
rory.ap
-1

votes
1

answer
28

Views

C# 8.0 availability in Visual Studio 2017?

I'd like to use C# 8.0 (especially ranges and non-nullable reference types). I only found some information that there is a preview of it in the new VS2019 (even that is 2 months old now). Are there any plans that C# 8.0 is eventually also coming to VS17?
nonsensation
0

votes
0

answer
6

Views

Why is .Net Core 2.2 now publishing a ton of other dlls

I just upgraded my .net core 2.0 project to 2.2. To my knowledge, I didn't change any other settings, but now when I publish to my file system, it publishes a ton of folders and dlls that it didn't before. Do I need to publish them? If not, can I suppress their output? Here is my publish profile set...
Chad Richardson
1

votes
1

answer
345

Views

How can I change Intellisense tooltip colors

How can I change the colors of the tooltip shown by Intellisense under Visual Studio 2017? I've customized my editor colors to get white text on a dark background, by keeping VS theme to "Blue" (I find that the Dark theme lacks contrast), but now the Intellisense tooltip is unreadable.
Otiel
1

votes
1

answer
317

Views

Visual Studio with docker file support - no such file or directory

I am new to docker. When I create an empty ASP.NET Core MVC project with linux docker support, Visual Studio generates this Dockerfile: FROM microsoft/dotnet:2.1-aspnetcore-runtime AS base WORKDIR /app EXPOSE 80 FROM microsoft/dotnet:2.1-sdk AS build WORKDIR /src COPY DockerTest/DockerTest.csproj Do...
0

votes
0

answer
5

Views

How to get the FileCodeModel for a file not part of any project

I am trying to get access to the FileCodeModel object that corresponds to the currently open file in the editor. The usual way of doing this is dte.ActiveDocument.ProjectItem.FileCodeModel The file that I have currently opened in the editor is a c++ header file that is not part of the project (it d...
tcb
0

votes
0

answer
11

Views

MSVC compiler intrinsic for launching a software interrupt

Is there a compiler intrinsic for x86 software interrupt instructions other than 0x2C in MSVC2017 (x64)? The intrinsic for int 0x2C is __int2c().
PhantomR
0

votes
1

answer
11

Views

Unit Testing code that uses a separate AppDomain

I have code that uses an AppDomain to dynamically load plugins. I have a private internal class called PluginFinder to do the work. This all works in the production environment, but I am now trying to write MS Unit Tests for it, and I am getting an error saying the assembly could not be found. To be...
Tim
0

votes
0

answer
5

Views

Custom configuration of nuget

I need a custom configuration of nuget packages. How I understood it so far there are two ways how to manage nugets. The first one is PackageReference and the other is package.config. When one uses PackageReference packages are downloaded into computer/user wide repository and used directly in proje...
Jiří Lechner
0

votes
0

answer
6

Views

Live Unit Testing with embedded ressources

I have a test using a embedded ressource to check. If i'm executing the test manually, everything works fine. I print all available ressources on startup. Manually executed: Available Ressources: MyCompany.MyFile.json If the same test is excecuted by the live unit testing, an error appears and the...
Oswald
1

votes
1

answer
165

Views

Project 'Projr' is not up to date. Missing output file 'c:\..\bin\Debug\Projr.dll' in VS 2017 Administrator mode

I been stuck with this issue from past 2 days blank class library project; I tried restart of VS 2017 Professional edition Restart my Machine. Reinstalled VS 2017 with latest available update. Still facing the issue. Whenever we build the project it gives me the below message in output window no err...
pvaju896
0

votes
0

answer
3

Views

Change Visual Studio Scrollbar Caret Color in Map Mode

The Scroll Bar Map Mode has an issue with the caret position color in dark mode: It is showing as very bright gray line, which overpowers some of the other colors like the purple matching color I have. I have been unable to find the caret color for the scroll bar in the Environment > Font and Color...
Daryl
1

votes
3

answer
1.1k

Views

HTML Changes Not Being Shown in Build for Visual Studio 2017

I am creating an app using Angular2 and ASP.NET Core in VS 2017. Unfortunately Google Chrome browser will not reflect my html changes upon build. In fact it is running pages that were deleted in my solution. All the suggestions found here have not worked including 'empty cache and hard reload' or ed...
RyeGuy
1

votes
3

answer
467

Views

How to suppress warnings for missing Mac Server (Warning VSX1000)

We have a number of Xamarin iOS projects that are part of our main solution since we need to ensure that they compile as part of the gated check-in. However most of our developers are not using iOS and hence do not configure a connection to a Mac build agent. During build locally and on our servers,...
Tore Østergaard
1

votes
1

answer
1.2k

Views

Setup CMake with SFML in VS2017

Just like in CLion I want to use SFML with Visual Studio 2017, but I'm still learning cmake and I don't know the commands or the logic of how cmake works at all. I've just seen some posts and got this litle script. Note: I downloaded the latest version of sfml in the link provided, I just taked the...
Egon Stetmann.
1

votes
2

answer
541

Views

Windows update apparently deleted Android SDK files from Visual Studio

I just restarted my Windows 10 machine to install some updates, and afterward I started getting this error in Visual Studio: Error Xamarin.Android for Visual Studio requires Android SDK. Please install it or set Android SDK path on Tools->Options->Xamarin->Android Settings menu. 0...
Joe Morano
1

votes
1

answer
897

Views

VS2017 Cannot resolve GenXbf.dll

I just create a simple UWP for Win10-IoT when I build the project , I encountered below problem: Cannot resolve 'GenXbf.dll' Cannot resolve 'GenXbf.dll' under path 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x86\genxbf.dll'. Please install the latest version of the Windows 10 Software...
MilkBottle
0

votes
0

answer
5

Views

Access violation when debugging simple program on VS2017 (RtlActivateActivationContextUnsafeFast)

I've got a strange behaviour on my workstation... I'm experiencing a crash when launching debugger on a very simple program (basically the template windows application one...) and i got a exception Exception thrown at 0x000000007719759E (ntdll.dll) in test2.exe: 0xC0000005: Access violation writing...
Deswing
1

votes
1

answer
223

Views

How to make basic changes to ASP.Net Core with Docker Support?

I've created my 'first' ASP.NET Core project with Docker support in VS2017. I build and run and viola, it 'works'. A browser is launched, it loads http://localhost:32787/api/values and returns the expected "value1","value2" response... All is good. So now I want to start working with this animal to...
Cos Callis
1

votes
1

answer
2.1k

Views

Where can I find the Call Stack in Visual Studio 2017

Embarrassingly I cannot find the Call Stack window in VS 2017. I've tried using the path of (menu) Debug> Windows> Call Stack that was used in Visual Studio 2015. What am I missing?
Andrei
1

votes
1

answer
1.4k

Views

How to check Mono Version in Visual Studio 2017 in Windows 10?

I want to know which Mono version my project uses. How can I check it? In my project I have Mono.Android DLL. I have right clicked on it and review property. It says Runtime Version: 4.0.3. If I go to location of that DLL, I am getting this location: C:\Program Files (x86)\Microsoft Visual Studio\2...
Developer
1

votes
1

answer
827

Views

InvalidOperationException: Scheme already exists: Bearer

I recently resumed work on a project that had lain dormant for a year. It was using Angular on AspNet Core 1.1 and using an early version of OpenIddict 1.0. It was developed using VS2017. I updated VS2017 to the latest release (15.7.5) but the project would not compile and when I fixed the compilati...
Martin Horton
1

votes
1

answer
94

Views

How to use my own manifest file and embed it into executable using Visual Studio 2017?

I am trying to use PerMonitorV2 DPI awareness, which resizes non-client area when DPI is changed. MSDN documentation recommends using manifest to set DPI awareness mode: Setting the default DPI awareness for a process. Manifest Tool section of VS Configuration Properties provides only three options...
krsi
1

votes
1

answer
141

Views

How do I pass npm parameters to dotnet publish?

Long story short, private npm registry, corporate network, can't download from github. I need to pass --no-optional to the npm install that dotnet publish executes as part of Target "PublishRunWebpack: (TargetId:162)" Any ideas? MSDN documentation @ https://docs.microsoft.com/en-us/dotnet/core/...
John
1

votes
1

answer
83

Views

Unable to connect to Azure Storage Emulator from a docker container on the same machine

I dockerized a .net core 2.2 web api application in Visual Studio 2017 successfully. One part of this application is supposed to store some data to Azure Storage Emulator running on the same machine as VS 2017 is running on. The emulator's configuration looks like below: docker-compose.yml file has...
Arash
1

votes
3

answer
33

Views

Is there a way to modify the code entered by IntelliSense when using auto code completion in Visual Studio?

I want to modify the auto-fill code that Visual Studio/Intellisense enters in when I press tab or tab tab. I have already tried searching in online forums and in the Microsoft documentation and I have not found a solution to what I am trying to achieve. For example, when I type in "MessageBox.s" an...
technoman23
1

votes
1

answer
39

Views

How to make VS2017 match configuration and platform selection when I open Setup Property Pages for a C++ or MFC project?

I'm migrating my C++ and MFC projects to Visual Studio 2017 and this little change that they had made to it caused me a lot of confusion. Say, if I'm currently working in a Debug x86 configuration for my project, when I go to the Property Page for my project, instead of matching the selection for my...
c00000fd
1

votes
2

answer
48

Views

the namespace .. already contains a definition for

Why am I getting this exception, even though I only have 1 OnUnzipHttpTriggered defined? I did a global search: And it showed that indeed I had only 1 one of these classes defined: What I have tried: rebuilt restarted visual studio checked code in and got latest Why am I getting this exception? Here...
1

votes
2

answer
31

Views

Using Visual Studio Diagnostic Tool to investigate memory consumption/leak

In a WPF application I'm working on, I got the following memory-usage profile from Visual Studio Diagnostic Tools (see image below). So my program keeps allocating more and more memory until I get an OutOfMemoryException. I am new to VS Diagnostic Tools, so the question is: how do I use this window,...
heltonbiker

View additional questions