visual-studio-2013

Where to find “Enable Debugging of Unmanaged Code” to be able to edit the code while the system is running?

别来无恙 提交于 2020-06-14 04:35:13
问题 In an older version of Visual Studio (Like the one at home, guess 2013), I am able to edit my code while the system is running but I can't continue (and I don't want to continue). While step-ping through my code, I just want to start typing and once I finish editing then to recompile. The advantage is that while typing I can hoover my mouse and watch values/structures of the variables and edit according. It's a nice guide sometimes, like a reminder or notes. Why my Visual Studio 2015 prevents

Unrecognized token '&' in Fixed Fortran continuation lines

∥☆過路亽.° 提交于 2020-05-21 06:55:06
问题 I am editing an old project that uses fixed form Fortran and compiling with IVF compiler . The current issue I have is with continuation lines in a list: format(//, 10x,'*******************************************',/, & 10x,'* DIAGONALS OF THE RESIDUAL COV. MATRIX *',/, & 10x,'*******************************************',//, & 2x,'MEASUREMENT',7X,' RESIDUAL COVARIANCE', /) For some reason, the ampersand is not working for me and I keep getting the error: unrecognized token '&' skipped For

How to set output console width in Visual Studio

∥☆過路亽.° 提交于 2020-05-11 04:12:43
问题 Whenever I build and run my C++ code from Visual Studio 2013, the console window width is un-adjustable and because of this, causes my output to be pushed onto the next line sooner than I'd like. How can I get Visual Studio to make the console window width larger? If I need to insert code in my application to do this, is there a way I can put a compile-time check so that it removes the code when not compiling on Windows? I'm trying to make the code as portable as possible. 回答1: One solution

What's the right way to suppress EF warnings?

喜夏-厌秋 提交于 2020-05-08 06:36:31
问题 I would like to suppress these warnings but I could not figure out how to do it. 回答1: Those are not warnings you are seeing, those are Errors. The output tells you very clearly when a diagnostic message is a warning or an error. You've given the compiler an error number (6002) and told it to suppress the warning with that number, but such a warning does not exist. So, you've only succeeded in creating an additional error In this case, the message you're trying to suppress is a fatal compiler

What's the right way to suppress EF warnings?

喜夏-厌秋 提交于 2020-05-08 06:35:19
问题 I would like to suppress these warnings but I could not figure out how to do it. 回答1: Those are not warnings you are seeing, those are Errors. The output tells you very clearly when a diagnostic message is a warning or an error. You've given the compiler an error number (6002) and told it to suppress the warning with that number, but such a warning does not exist. So, you've only succeeded in creating an additional error In this case, the message you're trying to suppress is a fatal compiler

What's the right way to suppress EF warnings?

柔情痞子 提交于 2020-05-08 06:35:00
问题 I would like to suppress these warnings but I could not figure out how to do it. 回答1: Those are not warnings you are seeing, those are Errors. The output tells you very clearly when a diagnostic message is a warning or an error. You've given the compiler an error number (6002) and told it to suppress the warning with that number, but such a warning does not exist. So, you've only succeeded in creating an additional error In this case, the message you're trying to suppress is a fatal compiler

Visual Studio 2013: Redirecting console output to Visual Studio Output Window

a 夏天 提交于 2020-04-30 04:57:25
问题 I am used to Eclipse CDT where the output of a program (using cout) is written to the "Console" window inside Eclipse. Now I switched to Visual Studio 2013. When creating a simple C++ "Console Application" like #include "stdafx.h" #include <iostream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { cout << "hello world" << endl; cin.get(); return 0; } the application is "run in the Dos console", i.e. when I press "Run" Visual Studio opens a small Dos window and runs the program

Running a test using Shims on a Visual Studio 2013 Test Agent

最后都变了- 提交于 2020-03-21 16:10:17
问题 I have found various iterations of this question across a number of websites, however so far I have not found anything that provides a full answer that worked. I have just set up a number of Visual Studio Test Agents that all appear to be behaving and running most of the unit tests we are planning on initially running on them. However when I came to checking one of the unit tests it is failing on the line: using (ShimsContext.Create()) , With the stack trace: Result Message: Microsoft

How do you get the button name/tag when the event button.click occurs?

放肆的年华 提交于 2020-03-18 04:12:27
问题 I'm making buttons programatically and adding them to a stack panel so the buttons change each time the user navigates to the page. I'm trying to do something like this where when I click the created button it'll grab the tag of the button and go to the correct page. However, I can't access the button elements using RoutedEventHandler. Here's the code: foreach (item in list) { Button newBtn = new Button(); newBtn.Content = "Button Text"; newBtn.Tag = item.Tag; newBtn.Name = item.Name; newBtn

How do you get the button name/tag when the event button.click occurs?

大憨熊 提交于 2020-03-18 04:11:23
问题 I'm making buttons programatically and adding them to a stack panel so the buttons change each time the user navigates to the page. I'm trying to do something like this where when I click the created button it'll grab the tag of the button and go to the correct page. However, I can't access the button elements using RoutedEventHandler. Here's the code: foreach (item in list) { Button newBtn = new Button(); newBtn.Content = "Button Text"; newBtn.Tag = item.Tag; newBtn.Name = item.Name; newBtn