visual-studio-2013

VC++: Code works in VS2010 and breaks in VS2013

久未见 提交于 2020-01-05 14:02:49
问题 Edit: unlike the case in the question noted in the vote-to-close, the offending code here is CRT code, not mine . Even if it has a problem (which I'm pretty sure it doesn't), I have no way of fixing its source. We have some legacy memory-leak tracing code that uses some CRT internals (nothing too exotic, essentially _CrtMemBlockHeader which is sort-of documented). While trying to migrate from VS2010 to VS2013 the code seems to cause sporadic build failures, and the offending part can be

iframe visual studio html5 windows 8 app

隐身守侯 提交于 2020-01-05 12:12:32
问题 I'm creating my first windows 8 app in metro style. I'm trying to do this with a iframe for runescape. This is my code : <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Runescape_Metro_Client</title> <!-- WinJS references --> <link href="//Microsoft.WinJS.2.0/css/ui-dark.css" rel="stylesheet" /> <script src="//Microsoft.WinJS.2.0/js/base.js"></script> <!-- Runescape_Metro_Client references --> <link href="/css/default.css" rel="stylesheet" /> <script src="/js/default.js"><

Winforms User Control MissingMethodException

核能气质少年 提交于 2020-01-05 09:28:14
问题 So essentially, I have a custom user control called ExcelDisplay. I try to drag it over in visual studio from the toolbox into my webform in the same project and I get a missing method exception. At one time the constructor was parameterized, but I changed it after deciding it was a bad design idea. It looks like it is saying the constructor is missing, but its obviously there. My winform to house the control is empty with the exception of the autogenerated code visual studio puts there. The

Assets folder for Windows 8 Phone app

戏子无情 提交于 2020-01-05 09:07:21
问题 I have an app for Android that I'm porting to Windows Phone 8 now. The assets folder lies apart of code in my folder sturucture. In order to include it into Android build, I use <linkedResources> . Is there anything similar for Windows Phone 8 and MSVC? Having examined examples, I found they all include assets directly into project folder structure in Visual Studio. Can I avoid copying assets into MSVC project folder? BTW, my MSVC 2013 does not have drop box on Add button: 回答1: This an old

MVC EF Reverse Engineer Code First primary key column/member missing from views in auto-generated code

寵の児 提交于 2020-01-05 08:59:55
问题 I am using an EF Reverse Engineer Code First project. Specifically, I used the Entity Model, code first from database method that allows one to select only a subset of the database tables for a particular MVC project. The primary key column/member for one of my table models is present in the table model, but when I auto-generated the views from the controller the primary key column/member is missing, except from the Create View. Is this standard behavior for the new version 6 -- Visual Studio

How to fix Rational Rhapsody error :“Current value is ”VC11“, but no Visual Studio installation was not found in the directory ”“.”

廉价感情. 提交于 2020-01-05 08:21:17
问题 Im working on Windows 7, 64-bit and I'm trying to run Rational Rhapsody 8.0.5 for C++ with Visual Studio Professional 2013. After creating a simple coding example for a class, I tried to compile it, but I got the following error : Current value is "VC11", but no Visual Studio installation was not found in the directory "". Is there something wrong with my installation, or do I need an older version of Visual Studios? I've tried everything, but nothing I've done is working. Any help will be

How to access/What is the the WiX CommonAppDataFolder Parameter for a Windows Service under SYSTEM Account

吃可爱长大的小学妹 提交于 2020-01-05 06:44:47
问题 I have a Windows Service which needs to run under the SYSTEM account. I am using the CommonAppDataFolder as the destination for application specific configuration content and source material such as log files, Excel template files etc... The Service installs correctly and runs, however when it attempts to load the Excel template file it encounters a problem, the following content shows that the service is able to access and write to the log file. The application is using NLog as the Logging

aws toolkit breaks visual studio 2013 after install

女生的网名这么多〃 提交于 2020-01-04 16:24:06
问题 I installed visual studio 2013 on a 64-bit Windows 7 machine and then installed the AWS toolkit (AWSToolsAndSDKForNet_sdk-2.3.39.0-ps-2.3.39.0-tk-1.9.3.1.msi) directly after. After installing the toolkit, the activity log contains the following errors when I attempt to start visual studio. No other changes were made to the installation. Any ideas? 24 ERROR No InprocServer32 registered for package [MRU Package] %windir%\system32\mscoree.dll {8FF5C2A8-5EBA-4717-8EE1-46B6427D8FF3} 8007007e

Shared Project with RC update 2 for Visual Studio 2013

▼魔方 西西 提交于 2020-01-04 15:28:21
问题 I recently installed the RC update 2 for Visual Studio 2013. When going through the template for a universal app I found a project *******.Shared which had an extension .shproj . When going through some material online what I found was it is - a project template to share code and files, which I thought is so cool. But as I started working on it, I hit a roadblock. How do I add references to this project? Has anyone worked this out? 回答1: There is no need to add references for the shared code.

'ExpectedConditions' does not exist on type 'typeof protractor'

主宰稳场 提交于 2020-01-04 15:17:09
问题 I'm writing a protractor test in TypeScript in Visual Studio 2013 and I'm getting the error: Property 'ExpectedConditions' does not exist on type 'typeof protractor'. I read a similar question (here) but it did not help my situation. This is my page objects code: class SheetObjects { EC = protractor.ExpectedConditions; showList = element(by.buttonText('Show as List')); copyItem = element.all(by.binding('item.name')).get(2); copyDiv = element(by.className('md-inline-list-icon-label'));