Questions tagged [visual-studio-2017]

1

votes
3

answer
370

Views

Where are my Visual Studio Android emulators?

I'm just starting Jesse Liberty's new Pluralsight course, 'Building Your First Mobile Application with Xamarin.Forms and Visual Studio 2017' and I'm running into a problem right out of the gate. In the video, Jesse creates a new Xamarin.Forms project, modifies the XAML a bit, and runs it. Here is...
Scott Baker
1

votes
1

answer
4.4k

Views

How to update Visual Studio 2017 to latest release when VS is not showing it?

I am currently using Visual Studio 2017 Community Edition and the version is 15.4.5. This week Microsoft has released version 15.5 which has many feature that I need. For example, the Remoted iOS simulator for Windows. The Visual Studio is neither showing the update notification message and nor show...
Shashi Jeevan M. P.
0

votes
0

answer
7

Views

How to customize views templates?

I'm trying to change the default T4 code of views in MVC5 views templates. what should I do? I have created a CodeTemplates folder and copied the default T4 files and changed them but nothing happened! This is the address where I picked the files 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\...
Arash Masir
0

votes
0

answer
3

Views

Is there a workaround for getting VS2017 tableadapter configuration wizard to accept the use of ||

We are currently migrating our Oracle database from Oracle9i to Oracle18c (18.3.0.0). We have a C# .net windows form application that accesses the Oracle DB. I'm updating our .net application to use Oracle's new ODP.net managed driver which is installed with VS2017 Dev tools. I have a custom table a...
A Dev
0

votes
2

answer
33

Views

How to produce DLL from a working VC++ project?

I have a VC++ project on Visual Studio 2017, the project so far is compiling and everything is fine, but I need to convert it in a DLL, but I can't find the correct way for doing this, does anyone can help me out pointing me to the right direction?
FabioEnne
0

votes
0

answer
30

Views

Visual Studio custom project template - applicationUrl port number

Is there any way to add a available random port number for the applicationUrl for a project created from a custom VisualStudio template? I have created a VS project template for .NET Core projects and have added some placeholder parameters such as '$guid1$' and '$safeprojectname$', but can not find...
Hamit Gündogdu
1

votes
1

answer
608

Views

Why doesn't “Compare with Unmodified” work in Visual Studio 2017?

Ran into this today, but I couldn't add my solution to the Visual Studio forum: https://developercommunity.visualstudio.com/content/problem/17952/team-explorer-git-compare-with-unmodified-not-work.html I was unable to compare my changes to the unmodified version via the 'Compare with Unmodified' con...
mdickin
1

votes
3

answer
3k

Views

Install SSDT for Visual Studio 2017 community fails on recursion too deep

'Setup Failed' Recursion too deep; stack overflowed 0x800703E9. I have windows 10 and newest visual studio version. I have tried rebooting to make sure I have as many resources as possible. I have 4g ram.
billpennock
1

votes
2

answer
1.4k

Views

When I want publish Project : “the specified path, file name, or both are too long”

when i want run or publish a web project, i received this error : Severity Code Description Project File Line Suppression State Error Cannot evaluate the item metadata '%(FullPath)'. The item metadata '%(FullPath)' cannot be applied to the path 'jquery-ui-1.10.3.custom\development-bu...
Amin reza Abedi
1

votes
3

answer
145

Views

Keyboard shortcut for show/hide the lower pane (Error List, Output, Watch) in Visual Studio

Is there any keyboard shortcut or alternative way to show/hide the lower pane (Error List, Output, Watch etc. tabs) in Visual Studio. I am looking for something similar to Ctrl + R in Microsoft SQL Management Studio which toggles the Results pane. I understand I can pin/unpin, resize or move around...
HappyTown
1

votes
1

answer
446

Views

Visual Studio 2017 Community Edition - Analyze Code Coverage Option is Missing?

Currently i am using Visual Studio 2017 Community Edition. Previously i have been using Visual Studio 2013 Ultimate and there is a option available for generating Code Coverage Results under Test>Analyze Code Coverage>All Test Here in Visual 2017 Community Edition There is no option avaiable for Ana...
Rehan Shah
1

votes
3

answer
2.2k

Views

How to enable ASP.Net Core 2.2 in Visual Studio 2017 Professional Edition

How can I activate ASP.Net Core 2.2 project creation in Visual Studio 2017 Professional edition 15.9.6. I tried to go to Tools > Options > Projects and Solutions > .NET Core and checked mark the checkbox, but that does not work. Please help
Unbreakable
1

votes
2

answer
75

Views

Changing from AnyCPU to x86 causes System.BadImageFormatException error

I have created a WinForms UserControl. When I leave the platform at AnyCPU, I can debug it without any problem: When I press Play, the preview comes up. Then I try to change the project to x86. Therefore I click 'AnyCPU', then 'Configuration Manager'. At 'Active project platform', I select 'New...'....
tmighty
1

votes
2

answer
29

Views

Can I use declval to Construct an Unused Return?

Let's say I have a templatized function that is going to be specialized, so I really don't care about the base implementation. Can I do something like this: template T dummy() { assert(false); return declval(); } When I try to do this in visual-studio-2017 I get a linking error: unresolved external...
Jonathan Mee
1

votes
0

answer
559

Views

details for project could not be loaded

My first attempt with F# has yielded with the following exceptions: Severity Code Description Project File Line Suppression State Error Error occurred while restoring NuGet packages: The operation failed as details for project ConsoleApp1 could not be loaded. Error Assets file 'C:\...
1

votes
0

answer
36

Views

Visual Studio 2017 Stops Debugging When Navigating Away From Site Being Debugged

This has been driving me crazy... Running a solution works with no problems. I can navigate within the application with no issues. The problem arises when I navigate to a site outside of the debugging site, i.e. I go to a site outside of localhost. The reason to go outside the site is to authenticat...
AntLaC
1

votes
0

answer
30

Views

How to add nuget package source with \\foldername\filename path in visual studio 2017

I have to add nuget package source with path \foldername\filename. I have followed the steps: 1. Tools->Options->Nuget Package Manager->Package Sources, there I added new package source with path \foldername\filename but it is giving error that 'path could not resolved'. I have to access packages f...
Jyoti
0

votes
0

answer
2

Views

How to watch a column of a 2-D matrix in Visual Studio 2017 debug mode?

guys. I know we can watch an array in the VS debug mode by adding the array into the watch window, but how do we view a column of a matrix (2D array)? Let's say we have a matrix A[3][3], and I only want to see all elements in the third column in the debug mode. I tried to type A[][2] or A[:][2] or...
Lingxiao Wang
1

votes
2

answer
571

Views

ASP.NET Web Application: changing bootstrap css file results dissapearing nav bar buttoms

I make a new asp.net web application (MVC) in V.S.2017 and then download bootstrap.css from a bootstrap theme provider on web. I change the downloaded file name to 'bootstrap-cosmo.css' and copy it to contents folder. then I replace this line of code in App_Start/BundleConfig.cs: bundles.Add(new Sty...
Seyed Amir Mousavian
1

votes
0

answer
435

Views

vs 2017 npm through package manager console

I am trying to manage npm packages through vs 2017 package manage console. I have installed nodejs on my machine and then running npm commands through package manager console. The issue that I am facing is My directory structure is Project folder level 1 -project folder level 2 node_modules level 3...
Sumit
1

votes
0

answer
31

Views

Find modified project file by Visual Studio (SSDT) that is not saved yet

We are facing situation when some developers modify the project file (*.sqlproj) for example by adding or removing objects, then they do not save all the files in the Visual Studio and try to commit/push changes using command line. In that case the *.sqlproj file is not saved yet and it is not caugh...
Dmitrij Kultasev
1

votes
0

answer
125

Views

Placing Unique_Ptr in header creates reference to deleted function error?

I've been trying to use G3Log as my logger but I've come into a strange issue. When I do the recommended way of: int main() { std::unique_ptr logWorker = { g3::LogWorker::createLogWorker() }; auto sinkHandle = logWorker->addSink(...); g3::initializeLogging(logWorker.get()); } It works as expected. B...
JamieRhys
1

votes
0

answer
42

Views

Preserving Form hierarchy when importing form into another project

I want to use the form of another VB.NET project in a new project. When I insert it as 'Import existing element' and choose the form's '.vb' file, only the .vb file is imported into the new project. When I add all three files (.vb, .Designer, and .resx), they are imported individually. The form hier...
tmighty
1

votes
1

answer
319

Views

Visual Studio hangs and crashes on build error

A few days ago Visual Studio 2015 started dying on me when compiling. If the build is successful it takes forever to compile and Visual Studio hangs. If the build fails Visual Studio kindly hangs and then I get a message saying the program has stopped: This has never happened before and my work has...
Shy Agam
1

votes
0

answer
204

Views

Is it OK to use system(“CLS”) with Visual Studio?

I was looking around on the Microsoft forums about clearing the console in the Windows Console Application. I was looking for an alternative to system('CLS') because I heard that it was bad to use and unportable. All I found was to use system('CLS') and there weren't any alternatives that seemed t...
Handge
1

votes
1

answer
906

Views

Cannot select target in SQL Server Schema Compare, Visual Studio 2017

I'm having an odd problem wich I haven't been able to find a solution for. Suddenly I am not able to select a Target or Source in Schema Compare in VS2017. When I click the Combobox nothing happens. It is still possible to do a Data Compare and SQL Queries. I've updated SSDT to version 15.5.1 but w...
jhe
1

votes
0

answer
771

Views

Files do not show up in solution explorer, even when added to project

I inherited a codebase, and one of the projects has a few hundred c# files, but in solution explorer it only shows a couple. These classes are referenced in other projects, and the solution builds fine. If I click the 'Show All files' option, it will show the obj and bin folders and a config file,...
Douglas Gaskell
1

votes
1

answer
1.2k

Views

Visual Studio 2017 claims I am debugging a release build of my C++/CLI project

After updating from Visual Studio 2013 to Visual Studio 2017, if I try to start a debug session of my C++/CLI project (.vcxproj project file) Visual Studio stops and displays a dialog which says: You are debugging a Release build of Foo.exe. Using Just My Code with Release builds using compiler opti...
herzbube
1

votes
1

answer
53

Views

DropDownMenuItem check should uncheck other DropDownMenuItems

I'm creating a ToolStripMenuItem's DropDownItems at runtime. Me.mnuExtrasSecondaryLCID.DropDownItems.Clear() Dim iCount As Integer = -1 For Each nLang As clsLanguage In g_LCIDs If nLang.IsLeader Then iCount += 1 Dim n As New ToolStripMenuItem n.Name = 'mnuSecondaryLCID' & iCount.ToString() n.Text =...
tmighty
1

votes
0

answer
896

Views

visual studio 2017 unsupported file on a project built in VS 2017 - csproj issue

the issue i am having is, on a project i've been working on for a week, ONLY IN VS 2017, it now is unsupported. this is the error code i am getting: Unsupported This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual St...
cleo9
1

votes
0

answer
162

Views

Getting “File Properties/PublishProfilesProd/**.pubxml was ignored as it matches the set of extensions to skip when selectively publishing.”

I am getting a 'File Properties/PublishProfilesProd/**.pubxml was ignored as it matches the set of extensions to skip when selectively publishing.' message when publishing using the Publish action in Visual Studio to publish to multiple pubxml files in a folder that is not named the PublishProfiles...
DQiu
1

votes
0

answer
223

Views

Publishing .Net Core app to IIS fails if Visual Studio 2017 when “Delete Existing Files” option is selected

When trying to publish my .Net Core app to a remote IIS server I am unable to publish with the 'Delete Existing Files' option selected. When I try I get hundreds of errors for each file saying: Unable to remove ... The process cannot access the file ... because it is being used by another process....
melroser
1

votes
0

answer
57

Views

Intermittently get blank screen when opening code file

Sometimes in Visual Studio 2017, when opening a code-behind file, the page is empty. If I close all the tabs, and reopen the same file from the Solution Explorer, the code will display. Is there something about the way the project file is being saved, when tabs are left open, that might be causing...
Tim
1

votes
0

answer
201

Views

How to compile CSS on Visual Studio 2017 Angular template using webpack?

Please ignore my ignorance, but I am somewhat new to programming and very new to webpack and Angular. I have VS 2017 and I created a new project via New Project > ASP.NET Core Web App > and then selected the Angular template under .NET Core/ASP.NET Core 2.0. Webpack is already built into the project...
A. Doe
1

votes
0

answer
161

Views

How Resharper test runner run much faster than the Visual Studio one

I have a test suite that contains 700 tests. When I run them using Resharper, the total time is about 5 minutes. When I run them using Visual Studio 2017 it takes more than 45 minutes. What are the possible differences between these two tools that could affect the performance that much? Extra infos:...
Boubou
1

votes
2

answer
378

Views

Visual Studio 2017, Cannot find name 'Office' when compiling typescript

I am converting a VSTO Add-in for Word to the new Office Add-in format. I have installed the latest version of Visual Studio 2017 Community. I am attempting to use typescript in my code, but I can not get any reference to Office.js to compile. It comes back with the error 'TS2304 TypeScript (TS) Ca...
J Allen
1

votes
1

answer
798

Views

How to use an external library for C++ in VS2017

I've been programming in Python for over a year now but am just learning C++ and am unfamiliar with how to go about using external libraries, CMake and github for that matter. I'm trying to use an external library called cpr - https://github.com/whoshuu/cpr. So far I've followed the instructions in...
jp94
1

votes
0

answer
20

Views

Different results when building with cmd devenv vs. VS2017 IDE

When I compile my solution from within the VS2017 IDE, it worked fine. However, when I run it from a commandline (no matter if from the 'normal' commandline or the developer tools' commandline), it fails with the error Inputfile ...\silk_common.lib was created using an older compiler than the other...
tmighty
1

votes
2

answer
500

Views

Visual Studio 2017 outputting older build versions in bin/debug folder

When I build a C# program (this has been going on for several different solutions/projects I have been working on) in Visual Studio 2017, the new, updated code will build and run in debug mode (and run correctly). However, the application that Visual Studio has been outputting when I build/debug the...
foreevermore
1

votes
1

answer
49

Views

Why does roslyn throw a RCS1110 warning in ASP.NET C# class files?

We are rebuilding our code structures in VS 2017 from the ground up and our lead has determined that we need to commit all of our code with no compile errors or warnings in Code Analysis. As our old Code base is .net 2.0 that was last updated to .net 3.5 for some minor additions to our sites, we are...
user1431356

View additional questions