FAQ Database Discussion Community


Visual Studio 2013 closes

visual-studio,visual-studio-2013
I recently installed Visual Studio 2013, so I'm relatively new to it. I'm trying to run the code below: #include <iostream> int main() { std::cout << "Hello World! "; } but the terminal that's supposed to open to display "Hello World" closes immediately and doesnt give me the chance to...

Visual Studio 2013 C# compile with /main

c#,visual-studio-2013
I'm new to programming and I'm trying to write a code for a port scanner. When I click build I'm getting the following error messages...I realize its the same error just in two different locations but I figured it would hurt to list both: Error 1 Program 'c:\Users\pat_000\Documents\Visual Studio 2013\Projects\WpfApplication2\WpfApplication2\obj\Debug\WpfApplication2.exe'...

Create a control dynamically in an MFC application

c++,visual-studio-2013,mfc,cdialog
According to this link from Microsoft, it should be possible to define a CButton and specify its parent window (CDialog) without having the CButton as a member of the Dialog, but I couldn't do it. So if myButton is a member of a CDialog-derived (myCDialog) class, the following code works:...

unit test on exception

c#,unit-testing,visual-studio-2013
I'm writing a unit test, where by I pass in a model and the title field in particular is required. My test is as follows: [TestMethod] [ExpectedException(typeof(Exception), "Movie Title is mandatory")] public void Create() { var mc = new MoviesController(); var model = new Movie { Cast = new[] {...

Loop through every control on a Form (including those in Containers) and replace a text placeholder with a setting value

vb.net,visual-studio-2013,control
In my project I have a setting called DriveLetter and I wish to insert the value of this setting in to the text of several controls on a form (replacing a placeholder). I thought the easiest way to do this would be to loop through each control on the form...

How do I install the Wix extension on after a Visual Studio 2013 Update?

visual-studio-2013,wix
I have installed Wix 3.9 on VS 2012. Recently, I just got VS 2013 and I am not sure how to install just the extension on there? How do I do without uninstalling wix 3.9 and reinstalling it back again?...

How can I run “query session” using vb.net?

vb.net,visual-studio-2013,cmd
I would like to get the results from executing "query session" in the cmd.exe and Store them in a string variable using VB.NET. I have been searching for two days now and I cannot get to run the command, I will try to save the result once I get the...

Visual Studio Ctrl + F search freezes when including a '(' character

visual-studio,visual-studio-2013
For some reason whenever I include the '(' character in a Ctrl + F search in Visual Studio 2013 the search bar never works. It doesn't matter what other text is included in the search bar. It doesn't matter if I choose to search on just the current document, or...

VS2013 Unresolved External with constructor and destructor [duplicate]

c++,visual-studio-2013,constructor,linker-error
This question already has an answer here: What is an undefined reference/unresolved external symbol error and how do I fix it? 18 answers I am trying to make a linked list program that will add two polynomials together, pretty simple. However, whenever I try and build this program, I...

The name 'Thread' does not exist in the current context

c#,visual-studio-2013,namespaces
When I put this code Thread.Sleep(2000); it gives me the error: The name 'Thread' does not exist in the current context`. I already included the namespace using System.Threading;. See System.Threading.Thread.Sleep() on MSDN....

Enable all LinkLabel controls

vb.net,visual-studio-2013,linklabel
I have a few links which are disabled by default on a form, each using a LinkLabel control. Depending on some user interaction I need to enable either one or all of the LinkLables. I can enable the single LinkLabel just fine, but I can't find a way of enabling...

How do I show tasks from only one project in a solution in Visual Studio 2013?

visual-studio-2013
I have a solution in VS2013 that has multiple projects, one of which is code from a library which I don't often contribute to but I frequently pull from a repo. I'm looking for a way to show "//TODO" comments in the Task List from only the project I'm currently...

RichTextbox write in place to current line

c#,text,visual-studio-2013,richtextbox
Clarification: I want to output line of text to the same "position" in a RichTextBox, replacing the previous line. In C# Windows Forms Application trying to use RichTextBox for displaying messages. Most of the messages are appended, so that is fine but at one point in the program it has...

When I type static, Visual Studio replaces it with ContextStaticAttribute [closed]

c#,visual-studio-2013
Every time I'd put in static it would keep replacing it with ContextStaticAttribute. I need 10 rep to post images, but here's the link: http://i.imgur.com/jBOOF3s.png) I also do not want to have to press the right arrow to put in a local variable!...

How to convert the date value taken from the date time picker to the Date column in SQL Server table in Visual C#?

c#,visual-studio-2013
This is how I did the code but the error is in the variable dob. It says conversion failed when converting date from character to string. try { DialogResult dr = MessageBox.Show("Are you sure you want to update data?", "Confirm?", MessageBoxButtons.YesNo, MessageBoxIcon.Asterisk); if (dr == DialogResult.Yes) { int Stu_id =...

How to Insert Data to the Database? - User Defined Classes

c#,database,visual-studio-2013,executenonquery
I'm Experimenting with databases and I'm finding different methods to optimize my codes. Here I'm using a different class to stop re writing the same codes such as for add, Delete and update we use the same ExecuteNonQuery() method. So far Update delete methods worked well except the Insert. Compiler...

Cannot “Go To Definition” in Visual C++ 2013

c++,visual-studio-2013,mfc,visual-c++-2013
In Visual C++ 2013 Professional, when I right-click CWinApp::Run(), an MFC function, in the afxwin.h header file and choose "Go To Definition" in the context menu, nothing comes up. The definition is also unavailable on this function's MSDN article. How can I fix the problem and find the definition? What...

Using Sync Framework in Visual Studio 2013

wcf,visual-studio-2013,microsoft-sync-framework,sql-server-2012-localdb
Does anyone have a walkthrough or video on how to use Sync Framework in VS 2013? I've seen nice examples using VS 2010 but some important items like local database cache object have been deprecated. For what I have read is that LocalDB will be replacing the Sql Compact (which...

New Instance of TCPClient Exception [duplicate]

c#,winforms,visual-studio-2013,tcpclient,invalidargumentexception
This question already has an answer here: C# network connection running from shared drive 1 answer I asked a similar question to this a few days ago. At that point, I was trying to use sockets. Currently, I am using TCPClient to do the dirty socket work for me....

Get the path of the active document in Visual Studio

c#,visual-studio,visual-studio-2013,vspackage
I am writing a VSPackage for Visual Studio 2013 using C#. I need a simple menu to be added to the Visual Studio menu bar. When clicking it, I want the current open (active) document in Visual Studio to be uploaded on a specific repository. More Explanation: I want to...

Checkin changes to another branch then we're currently working on

visual-studio-2013,tfs,tfs2013
We've checked out and edited a lot of files on the main branch (new data framework). Now we decided we need a feature branch because it will take more time than planned to finish this task. Can we checkin the edits into a new branch? It's ok if it needs...

C# When creating a button that does File.CreateText method, how can I prompt a request for a user to enter File Name and write a text line?

c#,visual-studio-2013
I'm having problem to completely figure out File.CreatTextM Method. What i'm trying to do is make a button that would prompt user to imput a text file name, prompt again to enter name, and finally create the text file in predestined location. As far as i know in "Sring path...

Searching user tasks by task.body text

c#,visual-studio-2013,vsto,outlook-addin
Good morning all! I have spent a good bit of time searching and reading forums about this, but I can't seem to find a solution. Any help you all can offer is greatly appreciated. I have created an Outlook Add-In via C# and Visual Studio 2013. This add-in will create...

VS 2013 Ultimate, KB2829760 error on update 4

visual-studio-2013,failed-installation
I am attempting to install Update 4 (VS2013.4.exe) over the Update 3 and get an error KB2829760, the hash value is incorrect. i had cleaned my PC and fix registry using CCleaner but it is not helping Log file: https://paste.ee/p/hqRxk...

How to find what headers my C++ application is using? [duplicate]

c++,visual-c++,visual-studio-2013
This question already has an answer here: list of all header files included by a C file 3 answers I'm using some open source (MIT license) project that's composed of headers only. I'm using only a small fraction of what this project has to offer, and I'd hate to...

MSBuild Error: “The solution file has two projects named …”

visual-studio-2013,msbuild,publish-profiles
I'm trying to figure out how to make MSBuild work so I can set up automated builds and would appreciate some help with this weird error. I'm using Visual Studio 2013, and a Web Application project. The solution has 8 different class libraries. I've got several Publish Profiles set up...

DropDown in datagridView

c#,visual-studio-2013,datagridview,combobox,ssms
hello i have 2 datagridViews in a windows form and i have a combobox in 1 datagridview somwthing like this when i change the value of the combobox the tables in the datagridview should be updated.For example if i select the second combobox as outputmetadatafield1 then the columns of that...

How to connect to a local SQL server database in asp.net using Visual Studio 2013?

c#,asp.net,sql-server,visual-studio-2013
How do you connect to a local SQL server database in asp.net using Visual Studio 2013? I'm not talking about a remote access connection. In this case, the SQL database is located in the App_Data folder that is at the root of the web application. I want to be able...

Run one Visual Studio copy on multiple Windows os

windows,visual-studio-2013
I've used Visual Studio 2013 on Windows 7 32 bit for a while. I've just installed another two Windows versions: Windows 7 64 bit and Windows 8 64 bit. Can I run one VS copy on 3 Windows versions or do I have to install one copy on each Windows?...

How can I add a .props file to a C# project?

azure,visual-studio-2013,azure-webjobs
I am trying to set up continuous delivery of Azure Web Jobs, and came across this post from the Azure blog. One of the steps there is to add a .props file to the web job application's properties. I am having difficulty adding a .props file. My web searches indicate...

Visual Studios building and debugging .cpp file without main()

c++,assembly,visual-studio-2013
Professor just gave us a block of c++ code in order to learn about the debug windows in Visual Studio, however after creating a blank win32 console project and then dragging in the .cpp file I get the missing .exe error message when attempting to debug. I've looked everywhere and...

Team Foundation Server Change Source Control Invalid Status

visual-studio-2013,tfs,disaster-recovery,tfvc
I have a new laptop because the old one is crashed. On the old laptop I have a Visual Studio solution that is connected to Team Foundation Server and there were a lot of changed made before I could do a check in. Luckily I made a backup of the...

Exception thrown by 'stol' using Visual Studio but not gcc

c++,c++11,exception,visual-studio-2013,gcc4.9
The following code throws an exception when it is run under Visual Studio 2013 but not gcc 4.9.2. The error reported is: 'exception: stol argument out of range' stol returns a long so the size of temp should be big enough to hold the returned value. Can anyone explain the...

Changing the launch directory of executable in MSVC

c++,c,visual-c++,visual-studio-2013
My folder hierarchy looks like this: bin -> data -> blurf.xml lib -> blurb.lib src -> blah.cpp msvc -> project_name -> project_name.sln ... .... Here is my issue. This project needs to run on Linux and Windows So I need that when I build it in MSVC, the exe ends...

Cannot add new shared dataset to report

visual-studio-2013,reporting-services,sql-server-2008-r2,ssrs-2008-r2
I have a summary report with about 20 datasets, linking to 20 detail sub-reports. I have added datasets based on stored procedures for each of the detail reports. Now when I try to add another one I get an error message Could not create a list of fields for the...

Cannot find XAML element names in code behind on Release

c#,wpf,xaml,visual-studio-2013
As described in my previous question my problem started with CefSharp wanting to explicitly select platform x86 or x64. This resulted in several errors where in code behind none of the XAML elements could be found, including InitializeComponent();. I removed CefSharp and set to AnyCPU again. Now Debug mode works...

Using Try/Catch block to set file path?

visual-studio,visual-studio-2013
I'm having a bit of trouble figuring out an assignment for my Visual Basic course. I am told to assume that a given text file is not in the \bin\Debug folder of my program, so I am trying to throw an exception error and get the correct path from the...

How Can I Add a Drop Downmenu, Selection, add that text in a richtextfield

visual-studio,visual-studio-2013
How Can I Make It So That: When I Select An Option From A Option From a Drop Down Menu, It adds a text into a richtextbox for example: Drop Down Menu/ComboBox > |Are Goood| richtextbox: ___________________________________________________ | (output after selecting option from dropdownmenu | | | | "Waffles Are...

Possible .NET Issue - Exception Thrown in C# Code [duplicate]

tcp,.net,c#,visual-studio-2013
This question already has an answer here: C# network connection running from shared drive 1 answer New Instance of TCPClient Exception [duplicate] 1 answer I was directed to SuperUser from a question I posted on stack overflow. Link to StackOverflow question: New Instance of TCPClient Exception While creating an...

Visual Studio 2013 Report RDLC with related datasets

visual-studio-2013,report,relational-database,rdlc
I currently have two tables in a database "customer" and "pricelist" where a customer can have multiple pricelist items linked to their ID. I'm trying to build a report in VS2013 where it lists all customers [alphabetically], then all of their pricelist items [alphabetically], then page break between each customer....

VS2013 Error: LNK2019 When trying to build ZeroMQ server

c++,visual-studio-2013,zeromq
I'm trying to build this simple ZeroMQ server in C++ on Visual Studio 2013. #include "stdafx.h" #include "zmq.hpp" #include <string> #include <iostream> #include <windows.h> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { // Prepare context and socket zmq::context_t ctx(1); zmq::socket_t sckt(ctx, ZMQ_REP); sckt.bind("tcp://*:5555"); while (true) { zmq::message_t request; //...

MongoDB and Express: Type Error: Converting Circular structure to JSON

javascript,node.js,mongodb,visual-studio-2013,express-4
I am new to MEAN stack. I am trying to retreive a list of documents from MongoDB. I have used Visual Studio 2013 community edition to create a basic Nodejs Express application. Visual studio created app.js file on the root for configuration. I have put following code in app.js which...

How to use ajax to post json string to controller method?

jquery,asp.net-mvc,visual-studio-2013,asp.net-mvc-5
I want to be able to post a json string to a control action but it's always receive the string as null. If I create a view model for the controller method, it works, but that's not what I want since there will be too much view models to maintain....

Is it okay to cancel Visual Studio installation? And can I resume it?

visual-studio-2013
I'am currently installing Visual Studio 2013. It takes 2 hour and not yet finished. The process seems stuck on Microsoft SQL Server Compact 4.0, it's not going further at all. So, is it okay to cancel it? I mean, will there something broken?...

How can i import windows.media.capture in my WPF project?

c#,wpf,visual-studio-2013,windows-8.1,windows-7-x64
I am really confused about windows media capture namespace, I would like to import the namespace to develop camera function in windows 8.1. FYI, I developed using visual studio 2013 and windows 7 64 bit, i already tried to install windows 8 Software Development Kits also, but i still can't...

How to make a programs icon in the task bar change based on something like time? [duplicate]

c#,.net,vb.net,visual-studio-2013
This question already has an answer here: Can I change my programs tray icon while it runs in c#? 1 answer I just want to know how to change the default program icon to have the current time on it and have it update whenever necessary. Thanks for any...

Stop the page Refreshing on every item clicked

c#,visual-studio-2013
I am developing a website, when I press an asp button on page, the page refreshes, i am trying to find a solution that it stop refreshing for every action I do on the pages in the website.

Unwanted database file being generated, how to prevent and remove?

c++,sql-server,visual-studio-2013,sfml,visual-c++-2013
When generating a new C++ project - specifically, I create a new "Empty Project", the directory the file is stored in seems to contain an .sdf file. This seems to be generated whenever I open the project in Visual Studio 2013, even after I delete it. I also seem unable...

OData Endpoint with .NET

c#,asp.net,visual-studio-2013,odata,web-api
I am trying to create an odata endpoint for a table valued function in a database. I am sure with the code, however upon running the application i get the error Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to...

Trouble with LINQ query and XML elements

visual-studio,visual-studio-2013
I've run into an issue trying to work with xml files in visual studio and was hoping someone could point out my error for me. What I'm trying to do is read in all the child elements, then find the longest child from the parent . I've tried many, many...

How to get previous version using git and VS Express for web 2013?

git,visual-studio-2013
I want to find the cause of a bug which caused by one of the recent commits. Is it possible to get a specific version, and then undo the checkouts?

C# Obtaining Namespace Based on CSProj settings

c#,.net,c#-4.0,visual-studio-2013,namespaces
Is there a way to obtain the .csproj Default Namespace and Visual Studios understanding it without using preprocessor directives? For example: CS Project 1 has a Default Namespace of SomeCompany.ProductA CS Project 2 has a Default Namesapce of SomeCompany.ProductB CS Project 1 has a cs file that exists in BaseClasses/MySpecialBase.cs...

How to create a folder that contains the current date and time instead of name

winforms,visual-studio-2013,c++-cli
I use C++ Windows Form application in Visual Studio 2013 for one project. I wonder how to create a folder that contains the current date and time instead of name? It is possible to make such folder?? DirectoryInfo^ directory = Directory::CreateDirectory("C:\Users\Desktop\" + ??); ...

OpenGL program works only in Debug mode in Visual Studio 2013

c++,opengl,visual-studio-2013,release
my small OpenGL application works fine in Debug mode, but if I build it in Release mode I often get this error: Shader Creation Error: - Vertex shader failed to compile with the following errors: ERROR: 0:22: error(#132) Syntax error: "]" parse error ERROR: error(#273) 1 compilation errors. No code...

Branching Refresh in Visual Studio in TFS Online using Git

git,visual-studio-2013,visual-studio-online,tfs2013
I am using Visual Studio online as my source repository and have chosen git for source control. I have created a new branch named as "Branch1" and published it in the server. I want the fellow developer to get this branch in his visual studio and work with this. But...

Color-coding for HTML stopped working

visual-studio-2013
In Visual Studio 2013 (Community edition) the HTML color-coding suddendly stopped working. The C# files looks fine but the cshtml-files look pretty white. The only addon I'm running is Resharper 8, and I've tried suspending it which had no result. Any clues on what's going on here?...

Change mapping option replaced with cloak option in TFS

visual-studio-2013,tfs
I want to change the mapping location for trunk in TFS and get latest but instead of 'change mapping' I now have the option to 'cloak'. What do I need to do in order to get the 'change mapping' option back again? I can't see a way to change the...

Using/abusing a conditional breakpoint to manipulate a value

.net,visual-studio-2013,visual-studio-debugging
For a temporary workaround, I have to set User.ID to 0 in a certain line. My usual approach for similar cases is to set a breakpoint at the corresponding line and use the watch to manipulate the value: User.ID = 0 In an attempt to streamline this by automatically setting...

visual studio 2013 - how to match specific line with regex?

regex,visual-studio-2013
I want to match a specific line with regex in Visual Studio 2013 and delete the whole line, the first three characters in this kind of line are #, whitespace and a number. so, how to write the regex to match these lines? thanks!

Debug Excel VSTO add-in when launched by double-clicking existing file

excel,debugging,visual-studio-2013,vsto
I have a bug in an Excel VSTO 4.0 C# add-in that I've developed but it is only occurring when double-clicking on an existing file to launch Excel. I'm trying to figure out a way to start the VS2013 debugger so that I can put in some breakpoints but none...

How to install Xamarin for Visual Studio 2015 when Visual Studio 2013 is installed too?

visual-studio-2013,xamarin,visual-studio-2015
I install both Visual Studio 2013 and 2015. I need install Xamarin for VS 2015. But I can't do it because by default it's installing for VS 2013.

Visual Studio 2013 LINK : fatal error LNK1181: cannot open input file

c++,visual-studio,opencv,visual-c++,visual-studio-2013
I am using Visual Studio 2013. I'm trying to build some code given to me from my professor and I keep getting this error: LINK : fatal error LNK1181: cannot open input file 'C:\Users\manduchi\Documents\eyegaze\EyeGazeDemo..\Libraries\OpenCV\lib\opencv_core249.lib' However, on my computer opencv_core249.lib is located somewhere else. I've tried updating the linker directories to...

Using Selenium in C# without opening a browser in Visual Studio 2013

c#,selenium,visual-studio-2013
I have been using Selenium along side C# in Visual Studio 2013. I will make a call to: driver.Navigate().GoToUrl("http://<insert webpage>"); ...Which will open whichever WebDriver I choose to use. From here, I will make calls to links/text boxes/menus as I need to. However, I was wondering if there is a...

How do you preview your c++ code in visual studio

c++,visual-studio-2013,input
I am new to Visual Studdio (and C++ and the C family in general). How to you preview the output for a cpp file? for example, If I script this #include <iostream> int main() // does 'int main' mean start the body (Like HTML's <body> ? { std::cout << "Hello...

Can't reinstall package

visual-studio-2013,nuget
On a new Win8.1 reinstall, with all of my code restored from backup, I'm suddenly now getting a yellow NuGet warning when I issue the command update-package -reinstall -project ui: Skipped reinstalling package 'AeroWizard 2.0.9' in project 'Ui' because the package does not exist in the package source. I'm using...

HTTP Error 403.14

asp.net-mvc,visual-studio-2013
I'm developing my MVC 5 app using VS 2013, it was working fine, but suddenly it's giving the following error. HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory. I've already read this post, and it didn't solve the problem. I've...

How can I tell what will be updated if I use “Get Latest Version”?

visual-studio,visual-studio-2013,tfs,tfs2013,tfvc
I have a Visual Studio solution and am using TFS for version control. When I've made a bunch of changes to my working copy of the solution, the Team Explorer window will show me all the files that I've changed, and allow me to compare my version with either the...

Exception error using C++ Thread Pool Library (CTPL)

c++,multithreading,exception,visual-studio-2013,threadpool
I am trying to use the C++ Thread Pool Library (CTPL), which pleasantly consists in a single header file. For this, I created a very simple test program. Here is the code : #include <iostream> #include "ctpl_stl.h" void myFunction(int threadID_0) { std::this_thread::sleep_for(std::chrono::milliseconds(100)); } int main() { ctpl::thread_pool p(2); // We...

VIsual Studio: Deleting SUO file causes vs2013 to hang?

visual-studio,visual-studio-2013,suo
Visual Studio 2013 was acting up - it would take > 20 minutes to compile. I decided to try and help myself by deleting the SUO file thinking that may be a good first step. Here is the thing, when I delete the file VS hangs at "loading solution". Put...

In Visual Studio 2013, what does this black arrow-shaped symbol in the breakpoint bar mean? [duplicate]

c#,visual-studio,visual-studio-2013,ide
This question already has an answer here: Black dash / line on visual studio 2012 left margin 1 answer Somehow, one of the lines in my source code became marked with a black arrow-shaped icon pointing to the right. I'm familiar with bookmarks and breakpoints, but I can't find...

ASP.Net Registration Page - how to get foreign key from another table

asp.net,visual-studio-2013
I am creating an ASP.net website using Visual Studio 2013. Specifically, I am trying to register a customer and insert the data in the customer table at the same time. When I register a customer, I also want to get the user id for that customer (which is inserted into...

I cannot debug two projects at once - one with Resharper NUnit tests

debugging,visual-studio-2013,nunit,resharper
My team has a solution with multiple projects. One of these projects is an ASP.NET MVC website. Another project contains NUnit tests. We launch these NUnit tests inside Visual Studio 2013 with Resharper 8.2.2. Another developer on my team is able debug both the MVC project and the NUnit tests...

Get date Minus 1 day but at exacty 4 AM

sql-server,visual-studio-2013
I have the following sql server WHERE clause: WHERE (DateCreated >= CONVERT(datetime, GETDATE(), 111) - 1) This gets the date (where today is 2015-06-09) 2015-06-08. I need to add a time to this as well like 2015-06-08 04:00:00 in 24H format. the time will always be the same bat every...

Visual Studio C# Unit Tests

c#,unit-testing,visual-studio-2013
I'm trying to learn Unit Testing in C#. But I don't see how to relate the testmethods to the actual methods. In one guide it told me to right click the method name and click create unit test. I don't see that. Another told me to create a Unit Test...

How to change TextAlignment by code? LightSwitch 2013

javascript,visual-studio,visual-studio-2013,visual-studio-lightswitch
I'm building a program in LightSwitch 2013 (Visual Studio 2013). I have a textbox (that is ReadOnly) that it's text alignment is fixed to my language by default (not to English). I wrote a code in my program that check if the textbox has my language or English. I want...

VS2013 Is Not Compatible With VS2015 Project Type

asp.net-mvc,visual-studio-2013,asp.net-mvc-6
I am using Visual Studio 2013. But when i open the MVC project code in Github: https://github.com/betimer/Mvc I found that the solution was built on the new type (project contains: xxx.xproj + xxx.json) (I think they are VS 2015 types) Is there any way to let my VS 2013 compatible...

Creating a 25fps slow motion video from a 100fps GoPro .mp4 video with C++/OpenCV

c++,opencv,video,visual-studio-2013,slowmotion
I have a 100fps .mp4 GoPro video and I want to create from it a slow Motion one with 25fps. I'm trying since two days but to no avail. I could play the video, save a video from the GoPro's WiFi stream, but when I try to read the 100fps...

IIS Express 8 - Max allowed length

c#,asp.net,iis,visual-studio-2013,iis-express
In case the below is too long, my question is whether IIS Express 8 in Visual Studio 2013 obeys the maxAllowedContentLength attribute or if it has some overriding value that prevents large requests When debugging some webapi calls against Visual Studio 2013, I'm receiving this error: Maximum request length exceeded....

New Automatic NuGet package resotore and NuGet.Config

.net,visual-studio-2013,msbuild,nuget,nuget-package-restore
I'm migrating to new version of Automatic package restore as described in docs This documents says, that .nuget folder should be removed completely. Including NuGet.Config, that contained a property, we need: <config> <add key="repositoryPath" value="..\..\..\commonNugetPackages" /> </config> So how one should specify path where packages should be restored? Update: Updating...

using for loop for a textbox in selenium C#

c#,visual-studio-2013,selenium-webdriver
for(int i=0;i<=10;i++) { Driver.Instance.Find Element(By.Id("id of element")).Send Keys("auto"+i); } I used this code but it does not work 1 to 10 numbers are printing in one attempt I am searching for the code which dynamically increment in each run with out changing the sendkeys values again and again...

Convert SSIS (Visual Studio 2013) to work on SSIS 2012

visual-studio-2013,ssis,sql-server-2012
Is there a way of converting a SSIS package created in Visual Studio 2013 to work on SSIS 2012? The start of my package looks like this: <?xml version="1.0"?> <DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts" DTS:refId="Package" DTS:CreationDate="12/18/2014 8:53:33 AM" DTS:CreationName="Microsoft.Package" DTS:CreatorComputerName="LOCAL111" DTS:CreatorName="username1" DTS:DTSID="{C6D60123-5529-4BC1-B426-B219A0709EB7}" DTS:ExecutableType="Microsoft.Package" DTS:LastModifiedProductVersion="12.0.2430.0"...

Proget Server Up but Feed Inaccessible in Visual Studio

visual-studio,visual-studio-2013,nuget,proget
We have reinstalled ProGet as we rebuilt our server after a security hole was discovered (unrelated to ProGet). The feed is visible in the browser, but inaccessible in Visual Studio. While rebuilding our server, we have ProGet running on a temporary Azure server, which is working and serving our NuGet...

Visual Studio 2013 Build Error: Incompatible versions of SQL Server Data Tools and database runtime components are installed on this computer

sql-server,visual-studio-2012,visual-studio-2013,ssdt
I have Visual Studio 2012 and Visual Studio 2013 installed on my development machine. My SQL projects were created with VS2013 and they compile fine from Visual Studio, but they fail with the following message when I use MSBuild from the command line: Build Error: Incompatible versions of SQL Server...

Read uploaded pptx file with Open XML SDK

c#,asp.net,vb.net,visual-studio-2013,openxml-sdk
I'm trying to build a website where one can upload a .pptx file, and a few aspects would be checked (e.g. slide count). I have the Open XML SDK 2.5 and I have added a reference to it. Yet, when I try to use commands from the SDK, they are...

devenv.exe hogs CPU when debugging

asp.net-mvc,visual-studio-2013
Short version: When I debug ASP.NET MVC apps in VS2013 and try to edit razor views or css files, the CPU usage of devenv.exe skyrockets to the point where VS becomes unresponsive. Browser link is turned off, yet this still happens. Restarting debugging doesn't help, restarting VS doesn't help, restarting...

POST to MVC controller IEnumerable nested Model is null when I don't select checkboxes in order

c#,asp.net-mvc,razor,visual-studio-2013,asp.net-mvc-5
When I'm trying to get values in Post the values of checkboxes are set to NULL when I don't check then in order (1, 2, 3, etc). I need to select any of them in no order (i.e. 4, 5). MODEL: public class AssignUsersViewModel { [Display(Name = "Check to select")]...

How to stop visual studio generate typescript js and js.map files while publishing

visual-studio-2013,configuration,typescript,publishing
I set up my project that combine javascript output into file to $(ProjectDir)dist\output.js and uncheck generate source maps. Tools -> Options -> Text Editor -> Typescript -> Project -> Automatically compile Typescript files which are not part of a project is unchecked as well. While building and running project from...

TF400889 Long path error received from TFS

visual-studio-2013,tfs,tfvc
Can someone please help me out with this? I tried using long path tool but they want me to pay in order to delete the folder. However I cant find the file the system is complaining about. I went to the folder C:\Users\Casey\Desktop\Workspace\LegalHoldings\Sprints\Sprint5\Expunctions\LegalHoldings.Expunctions.Service.External\ServiceReferences\FillingReviewMDEService\LegalHoldings.Expunctions.Service.External.FilingReviewMDEService.GetFeesCalculationsResponse.datasource This file:...

couldn't copy pdb file to another directory while consuming wcf web service

c#,web-services,wcf,visual-studio-2013
I have a WCF Web Service and there is one method which returns sensor lists. When I want to consume this web service in a Console Application in Debug Mode, I got these 2 errors as; Could not copy "obj\Debug\ConsumeHelper.pdb" to "bin\Debug\ConsumeHelper.pdb". Exceeded retry count of 10. Failed. ConsumeHelper and...

Boost filesystem iteration fails with a long path

c++,boost,visual-studio-2013,boost-filesystem
I'm trying to iterate into a folder using boost::filesystem, but when the path is too long (absolute path >95 chars), boost fail on iteration. Is some knows boost issue with this? Any idea to solve it? while (itr != boost::filesystem::recursive_directory_iterator()) { ++itr; } I'm using boost 1.57, and VS2013....

Redirect Visual Studio to new TFS Location

visual-studio-2013,tfs
We have migrated TFS from one server to another. I have verified that the source files and history do exist in the new server location. How do I now redirect Visual Studio to look at the new server location? I would like to not lose any of the files, history...

LocalDB not installing

c#,sql,asp.net,sql-server,visual-studio-2013
I installed SQLEXPRWT_x64_ENU.exe which gave me the option of including LocalDB which I checked. Yet, VS2013 (Community Edition) can't find it. I've been searching the web for a missing step in the installation but have found none. I already rebooted the computer after installation. I also tried running the installer...

published reports don't work - Database logon failed Error

c#,iis,visual-studio-2013,crystal-reports,db2
I am developing a simple web app that has 3 reports created on VS 2013, for some reason those reports run fine from developer mode, but when I publish the website they give me "Database logon failed" Error. What could be causing this? VS is installed on the same server...

Visual Studio Assembly force-installs Target Framework

c#,.net,visual-studio-2013,.net-framework-version
I have this Assembly targeted at .NET 3.5. The code will work on later versions as well, but I like this to work on Windows XP. I mean, .NET is backwards compatible, right? I can run apps for .NET 3.5 on Windows 8.1. However, when I run my own assembly,...

Unsupported format of the sourcemap while loading jquery-migrate.min.js

jquery,visual-studio-2013,source-maps,jquery-migrate
I am getting the following error message in the Visual Studio 2013 debug window: 'iexplore.exe' (Script): Loaded http://localhost:4453/Scripts/lib/jquery-migrate.min.js Unsupported format of the sourcemap Module load messages are turned on (debug window context menu). I know that there should be a jquery-migrate.min.js.map file, but that is unfortunately not distributed by the...

INSERT SQL Updatable Query using proper MS Access cmd Command

c#,sql,visual-studio-2013,sql-insert,ms-access-2013
Access databse query fails when i run on another machine Config Below Microsoft Word 2013 Visual Studio 2013 Windows 8.1 (64 bit) While On The Another Machine The Same Query Runs Config Below Microsoft Word 2010 Visual Studio 2010 Windows 7 (32 bit) The Query Below con.Open(); string cb =...

MSVC 12 std::initializer_list bug when copying std::string

c++11,visual-studio-2013,language-lawyer,msvc12
I'm trying to create a C++ program with MSVC 12 (Visual Studio 2013, Update 4) which uses a std::initializer_list of structs which have std::string members. I seem to have run into a bug in MSVC. Here's a minimal example which exhibits the problem: #include <cassert> #include <initializer_list> #include <string> namespace...

Method declared with dynamic input parameter and object as return type in fact returns dynamic

c#,.net,dynamic,visual-studio-2013
namespace ConsoleApplication1 { class Program { static void Main(string[] args) { var objectGetter = new ObjectGetter(); var obj = objectGetter.GetItem(); //Visual Studio shows that obj type is System.Object } } public class ObjectGetter { public object GetItem() { dynamic dObj = "123"; var obj = this.Convert(dObj);//Visual Studio shows that obj...

Add azure db to mvc5 project

asp.net,azure,visual-studio-2013,asp.net-mvc-5,sql-azure
I have a MVC 5 project using visual studio 2013. How can I add/create a database in azure from visual studio so that EF6 code first can just use and create the models? I've been browsing server explorer but there is nothing there related to azure....

Adding WCF Services / Project Templates in Visual Studio Pro 2013?

c#,wcf,visual-studio-2013,sharepoint-2010
I'm very new to .NET and developing within VS, and I'm trying to make a few basic WCF Web Services for testing purposes. I'm running Visual Studio Profession 2013 on a Win 7 x64 computer that is also running Sharepoint 2010 Server. I'm trying to go through the following tutorial:...