visual-studio-2012

VS 2012 Project Compile errors over seven missing .cs files

耗尽温柔 提交于 2019-12-24 11:32:05
问题 Looking to learn more about visual studio extensiblity specifically new languages I came across this SO question with linked project. Is there a custom language add-in for Visual Studio 2012 / VS11? The OP question was along the lines of what I was wanting to learn and the accepted answer looked very good. At the end the answer contained a link to the "prepared solution" after the updates he recommended making. It is this "updated" project that I downloaded and upon compile get 7 errors all

VS 2012 Project Compile errors over seven missing .cs files

对着背影说爱祢 提交于 2019-12-24 11:29:26
问题 Looking to learn more about visual studio extensiblity specifically new languages I came across this SO question with linked project. Is there a custom language add-in for Visual Studio 2012 / VS11? The OP question was along the lines of what I was wanting to learn and the accepted answer looked very good. At the end the answer contained a link to the "prepared solution" after the updates he recommended making. It is this "updated" project that I downloaded and upon compile get 7 errors all

constexpr for sizeof in template does not compile

对着背影说爱祢 提交于 2019-12-24 11:28:05
问题 In Visual C++ 2012 (C++ 11) I am getting error for code template <typename T, T... I> struct structFoo { static const T sz = sizeof...(I); (1) static constexpr T size = sizeof...(I); (2) }; the compiler takes the line (1) but complains that the line (2) is an error: 'error C4430: missing type specifier - int assumed. Note: C++ does not support default-int. Why? 回答1: Microsoft did not implement support for constexpr until Visual Studio 2015. You imply that VC++2012 is an implementation of C+

Unable to list labels in TFS2012

半腔热情 提交于 2019-12-24 09:49:14
问题 We recently migrated to TFS2012, but are still using VS2008. Everything is working fine except for labels. It appears that applying labels works, and using a label when getting source works. However, listing labels returns nothing. For example: tf label "LabelName" *.* /r will return "Created label LabelName@$/Scope" If this is followed immediately with tf labels /owner:* the result is "No labels found" Finally, trying to retrieve the label works correctly. tf get . /version:L"LabelName" will

Access Variables set in Common Project From Server Project in Lightswitch

拥有回忆 提交于 2019-12-24 08:55:47
问题 So I have redone some of the code to the previous question, however the same underlying issue remains. What i am trying to do is this: When my lightswitch application launch through Application.cs i am using a method Application_LoggedIn() to call a function in my Common Project to get all the location a user has access to (this data is stored in a table). Client Project - Application.cs partial void Application_LoggedIn() { Secure.Membership aa = new Membership(); aa.membership(); } Common

New ScriptBundle .Include not working for breeze.min.js

社会主义新天地 提交于 2019-12-24 08:39:40
问题 I am using John Papa's SPA jump start App to create my own app and for every part of his tutorial I complete I keep running into the same problem. In a new section of the tutorial I have to add another javaScript file and to this I use BundleConfig.cs. I copy and paste the .Include method and add the new JS file. But in firebug I can't see the script in the network tab. using System; using System.Web.Optimization; namespace AgencyUpdate { public class BundleConfig { public static void

VS 2012 with C++ group include/lib

六眼飞鱼酱① 提交于 2019-12-24 08:38:47
问题 I am currently working on a large project with a friend and it's time we started working on the same files. We have a dropbox, and we're wondering if there was some way to configure the project so all necessary extra includes/.libs for the libraries we are using in there, so if we change libraries or whatever the other won't have to go download and install anything. For example, he's working in OpenGL and I'm working with Lua and other libraries. Is there some way to combine all these into

debugging/break in one process doesn't stop the other ones after VS2012 installed

扶醉桌前 提交于 2019-12-24 08:27:10
问题 recently I've installed VS2012 I have an application that is a socket server and run another client application to hit it. before installing vs2012 when I was debugging everything was stopping, but now other threads keep on going. I checked the Debug Options and "Break all processes when one process breaks" is ticked I also tried using VS2010 but same problem 来源: https://stackoverflow.com/questions/12819002/debugging-break-in-one-process-doesnt-stop-the-other-ones-after-vs2012-installe

Jasmine tests in Resharper don't stop executing

喜欢而已 提交于 2019-12-24 08:18:54
问题 I use Visual Studio 2012 and ReSharper 8.2 to test my JavaScript code. Using QUnit works perfectly so far, when writing Jasmine tests the tests don't stop when the following line is added at the beginning of the file: /// <reference path="../lib/jasmine.js" /> When I remove it, the tests stop soon, as it should be. I would like to keep this line though so VS knows the syntax of the Jasmine commands. It doesn't matter whether I use phantom.js or not. The behaviour is the same. According to

oaidl.h(319): error C2057: expected constant expression

孤人 提交于 2019-12-24 07:59:39
问题 I've recently switched from Visual Studio 2010 to Visual Studio 2012. The project I'm working on uses the BitwiseEnums library from MiLi. I'm including just the BitwiseEnums library as per the instructions here, so the only file being added to my project is bitwise_enums.h. In VS2010 I had no issues. In VS2012 I'm getting the following error message whenever I #include bitwise_enums.h and try to compile: 1>c:\program files (x86)\windows kits\8.0\include\um\oaidl.h(319): error C2057: expected