visual-studio-2012

Missing “Deploy”-Button Visual Studio 2012

坚强是说给别人听的谎言 提交于 2019-12-12 18:24:14
问题 Yesterday I have installed Visual Studio 2012 Premium on my SharePoint 2013 Development Machine. I also installed the Office Developer Tools to get the SP2013 Project templates. Opening my SP 2010 Solution File and converting to 2013 was successful. My problem : There is no "Deploy"-Button in the Project-Context-Menu anymore. Everything is there: Build, Rebuild, Retract etc. But no Deploy . Asked this in the SharePoint Forum too 回答1: I had the same problem. I started by creating some

How does Visual Studio 2012 draw its window border?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 18:23:19
问题 How can I achieve the same alpha border effect that can be seen in the new Visual Studio 2012 main window using windows forms? Its window seems to glow. 回答1: AFAIK you can do it with WPF using a mix of this chrome and a custom WPF border. Not sure if on WinForms you can, given it's limited styling options (compared with WPF). Anyway they are using WPF. 回答2: So I am not sure if it is the best method, but if you use Spy++ (32-bit) and you look in the windows, you can see that beneath Visual

Parsing Visual Studio Project File as XML

左心房为你撑大大i 提交于 2019-12-12 18:16:38
问题 Using a dynamic xml parser, I'm trying to load a VS Project file as an XElement. Here is a slimmed down version of the project file: <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup> </ItemGroup> <ItemGroup> </ItemGroup> </Project> The file appears to load in the sense that when I ToString(), I get the contents. However, when trying to pick out elements, nothing is ever found:

Filter list with linq for similar items

旧时模样 提交于 2019-12-12 17:55:03
问题 I have a list in which I filter, according to the text input in a TextBox in Xaml. The code below filters the List stored in the results variable. The code checks if the textbox input,ie, queryString , matches the Name of any item in the results list EXACTLY. This only brings back the items from the list where the string matches the Name of a the item exactly. var filteredItems = results.Where( p => string.Equals(p.Name, queryString, StringComparison.OrdinalIgnoreCase)); How do I change this

Why can't I bind to winproc?

拈花ヽ惹草 提交于 2019-12-12 17:29:35
问题 I am trying to use C++11 to solve my favorite pointer problem LRESULT CALLBACK renderMan::WindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); //some code WNDPROC crazy = bind(&renderMan::WindowProc,this,std::placeholders::_1,std::placeholders::_2,std::placeholders::_3,std::placeholders::_4); The error 1>renderman.cpp(50): error C2440: 'initializing' : cannot convert from 'std::_Bind<_Forced,_Ret,_Fun,_V0_t,_V1_t,_V2_t,_V3_t,_V4_t,_V5_t,<unnamed-symbol>>' to 'WNDPROC' 1> with 1> [ 1

ICU support in a 32-bit build of Qt5 with the VS2012 compiler causes Qt5 build failure; Webkit is also therefore unbuildable

北慕城南 提交于 2019-12-12 16:42:22
问题 I have run into another in a long stream of obstacles attempting to build Qt5 with the VS2012 compiler. When ICU is enabled ("-icu" on the configure command line, along with a proper 32-bit build of ICU in VS2012 and proper inclusion of all ICU paths (header, .lib, and .dll)), Line 688 of qtbase\src\corelib\codecs\qtextcodec.cpp returns a NULL codec (ICU fails to return a codec) when asked for a codec whose name is "US-ASCII". Specifically: QTextCodec* QTextCodec::codecForLocale() {

Unable to load system.core when including oxyplot in WPF window XAML

£可爱£侵袭症+ 提交于 2019-12-12 16:33:12
问题 I get the following error in the designer when trying to include the oxyplot component. Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteException Could not load file or assembly 'System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes' or one of its dependencies. The system cannot find the file specified. at OxyPlot.PlotModel.Update(Boolean updateData) at OxyPlot.Wpf.Plot.UpdateModel(Boolean updateData) in c:\TeamCity\buildAgent\work

When using Visual Studios 2012 for coding in C++, how do you autocomplete code selected in IntelliSense?

做~自己de王妃 提交于 2019-12-12 16:03:23
问题 When using IntelliSense, it would usually show up functions, members, and etc. in the dialog box. Usually at the very top of the dialog box, IntelliSense would automatically select the most relevent C++ code that fits what the user typed. I want the IntelliSense to help me autocomplete the word I was typing, but whenever I press Enter key, it would just insert a new line, and not autocomplete it for me. The only workaround for me is to press Down key, and then press Enter, in order to achieve

Missing Entity Data Model in VS 2012

喜你入骨 提交于 2019-12-12 15:54:07
问题 I cannot find the Entity Data Model under the 'Data' tab when adding a new item. I have looked at several questions and answers, information on this and none of the solutions have worked. I have repaired, uninstalled and reinstalled, installed the EF Tools package manually and tried uninstalling all VS related programs. I have also tried creating several new projects, Class Libraries, Web Projects under different .NET frameworks and it isn't there. Main project: Visual Studio 2012, Class

Cannot open include file: 'cpprest/http_client.h'

你。 提交于 2019-12-12 15:43:07
问题 I'm trying to run c++ windows application using casablanca 'c++ rest sdk' for REST requests. I've created new 'CLR Empty Project' (visual studio 2012) and added new item - 'Windows Form'. added some code and was able to see a form when running the projects. now, I have installed the c++ rest sdk using NuGet, as the instructions tell. it all went successfully. the problem is that in order to use the 'c++ rest sdk' I've added these: #include <cpprest/http_client.h> #include <cpprest/filestream