visual-studio-2012

Edmx designer and item template missing from VS2012

不羁的心 提交于 2019-12-13 16:14:41
问题 I am nearly sure this was available and working before, but at this site I have a very recent upgrade from VS2010 to VS2012. I find that if I double click an .edmx file, it by default opens in an XML editor. Also, the Enterprise Data Model item template is missing, so I must open the project in VS2010 just to add a new data model. Are there any known issues that could cause this? 回答1: you have to select the Microsoft Web Developer Tools in the VS2012 setup to get EF back. Now I have the

Firefox Specific CSS Causing Multiple Errors in Visual Studio

安稳与你 提交于 2019-12-13 16:05:39
问题 In Visual Studio 2012, I'm trying to use the following Firefox specific CSS in one of my external styling sheets: @-moz-document url-prefix() { .span4 ul li a:focus { border: none; } .span12, #announcement.span4, #mainContent .span16 { box-shadow: 8px 4px 19px -2px #CFCFCF; } } But whenever I close the end of the @-moz-document url-prefix selector, I get a few errors in two lines of the CSS, as described further below: On line 500, the errors I'm getting are in the order from left-to-right:

How to build pjsip as DLL in Visual studio?

耗尽温柔 提交于 2019-12-13 15:49:52
问题 I follow the instructions here http://www.pjsip.org/pjlib/docs/html/group__pj__dll__target.htm But I got errors, after some research in net I found below answer. But this also produces more errors. Ansewer from Internet: http://comments.gmane.org/gmane.comp.voip.pjsip/16764 I managed to build pjsua.dll some time ago and wrote down a simple how-to. Maybe you will be lucky with that. It is in doxygen: <at> subsubsection subsubsec-pjsip-1x Building PJSIP version 1.x -# Download sources from http

Union float and int

泪湿孤枕 提交于 2019-12-13 15:36:37
问题 I'm little bit confused. During development of one function that based on predefined parameters, pass to sprintf function exact parameters needed based on their type, I found really strange behaviour ( something like "This is %f %d example", typeFloat, typeInt ). Please take a look at following stripped working code: struct Param { enum { typeInt, typeFloat } paramType; union { float f; int i; }; }; int _tmain(int argc, _TCHAR* argv[]) { Param p; p.paramType = Param::typeInt; p.i = -10; char

Global.asax template not available in Visual Studio

大兔子大兔子 提交于 2019-12-13 15:17:44
问题 When I attempt to "add new item" to my web project (by right-clicking, add new item) - there is no template for it. What might the problem be? I'm using VS2008. Additional Info: When I right click on the solution and "Add", "New Web Site" - I have zero tempates to choose from. I have tried running devenv /installvstemplates and this template box is still empty. I have only three templates in the following directory. Is there somewhere I can just copy the other templates from manually? C:

NuGet does not honour packages.config

…衆ロ難τιáo~ 提交于 2019-12-13 15:09:00
问题 I am trying to generate NuGet packages for a pair of internal C# projects (eventually more, but starting with these two) that are used in other solutions/projects/etc. Both of these internal C# projects have references to other NuGet packages (Enterprise Library Logging in particular). I am using the feature of Nuget that allows it to build the packages from the CSPROJ file to simplify my life a little bit. The problem is that the Nuget.Exe tool does not identify the packages that the project

Visual Studio 2012 usability bugs [closed]

醉酒当歌 提交于 2019-12-13 14:53:02
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Our team is thinking of upgrading to Visual Studio 2012, are there any common bugs that may cause hassle? Typically when a system is

SSDT Refactor Rename is ignored by the Schema Comparison script generation

旧街凉风 提交于 2019-12-13 14:52:30
问题 I right-clicked on a column name in a CREATE TABLE script and selected Refactor | Rename. It renamed the column and the expected entry appears in the refactorlog XML file. However, when I run a Schema Comparison from my project to my database and then generate the script, the script contains no mention of a refactoring and wants to drop the existing column name and add it with the new name. I have no _RefactorLog table in this database. The deployment script does not attempt to create one. It

CSS bundle minification replacing Unicode characters

蓝咒 提交于 2019-12-13 14:26:52
问题 This question was migrated from Software Engineering Stack Exchange because it can be answered on Stack Overflow. Migrated 6 years ago . I'm seeing an issue in VS2012 that replaces the Unicode characters in my minified CSS code. font-family: "FontAwesome"; content: "\f002"; This is fine in the un-minified bundle css file that is created, however, the \f002 is being replaced in the minified bundle css file. font-family:"FontAwesome";content:""; Is there some kind of escape I can use to stop

Error installing MVVMCross from nuget into a PCL

て烟熏妆下的殇ゞ 提交于 2019-12-13 14:25:48
问题 When I try to install MvvmCross into a new PCL I receive an error. The console log is below: Package Manager Console Host Version 2.5.40416.9020 Type 'get-help NuGet' to see all available NuGet commands. PM> install-package MvvmCross Attempting to resolve dependency 'MvvmCross.HotTuna.StarterPack (≥ 3.0.6)'. Attempting to resolve dependency 'MvvmCross.HotTuna.CrossCore (≥ 3.0.6)'. ``Attempting to resolve dependency 'MvvmCross.PortableSupport (≥ 3.0.6)'. Installing 'MvvmCross.PortableSupport 3