visual-studio-2013

Why don't I get CSS class intellisense from CSS files?

不羁岁月 提交于 2020-01-11 01:34:06
问题 One of the nice features of VS2012 was that when I'm editing an HTML (or .cshtml) file, it provided great intellisense. When I start to type: <a href=" The editor would open a prompt with "Pick URL..." and a list of possible options based on the current directory of the file. ^ Visual Studio 2012 Furthermore, in VS2012 the editor would detect any referenced CSS file(s) , like this: <link rel="stylesheet" type="text/css" href="bootstrap.css" /> And would provide autocompletion of all CSS

Visual Studio 2013 Premium solution load errors after Update 3

痴心易碎 提交于 2020-01-10 20:03:10
问题 I installed VS2013Update 3 and now I get errors when opening an solution: The 'Microsoft.VisualStudio.Web.Publish.WebPublishPackage,MircosoftVisualStudio.Web.Publish' package did not load correctly. And The 'ScaffoldungVSPackage' package did not load correctly. The outcome of this is that I can't open the Publish-Dialog and there are no templates when creating a new Webproject. In the activitylog are following errors: <entry> <record>447</record> <time>2014/08/05 14:27:31.859</time> <type

Getting All Users and All Roles through asp.net Identity

无人久伴 提交于 2020-01-10 03:37:04
问题 I have a new project i created in VS 2013. I am using the identity system and i'm confused how to get a list of all users to the application and all roles int he application. I am trying to create some admin pages so i can add new roles, add roles to users, see who all is logged in or locked. Anybody know how to do this? 回答1: In ASP.NET Identity 1.0, you'll have to get this from the DbContext itself... var context = new ApplicationDbContext(); var allUsers = context.Users.ToList(); var

Is it possible to install two different versions of Visual Studio in the same computer? [duplicate]

拥有回忆 提交于 2020-01-09 18:20:58
问题 This question already has answers here : Can I install two different versions of Visual Studio on the same computer? (3 answers) Closed 3 years ago . Is it possible? or there is a compatibility issues between the two versions? Because our company is using an outdated version of visual studio (VS2005) and I wanted to try out Visual Studio 2010/2012/2013 for the purpose of learning while there is no project to do. (any of the three newer version is fine) but I don't know if it'll affect the

How to set password rules for ASP.NET identity?

亡梦爱人 提交于 2020-01-09 13:10:06
问题 In my ASP.NET applications I have following settings in DefaultMembershipProvider and SqlMembershipProvider in web.config: enablePasswordRetrieval="true" passwordFormat="Clear" requiresQuestionAndAnswer="false" They are required for Digest authentication. I would like to move to ASP.NET Identity. I am using automated tool to update all web.config files that I manage. How do I set these settings for ASP.NET Identity in the project generated by Visual Studio 2013? 回答1: You need to provide

How to set password rules for ASP.NET identity?

喜欢而已 提交于 2020-01-09 13:07:06
问题 In my ASP.NET applications I have following settings in DefaultMembershipProvider and SqlMembershipProvider in web.config: enablePasswordRetrieval="true" passwordFormat="Clear" requiresQuestionAndAnswer="false" They are required for Digest authentication. I would like to move to ASP.NET Identity. I am using automated tool to update all web.config files that I manage. How do I set these settings for ASP.NET Identity in the project generated by Visual Studio 2013? 回答1: You need to provide

cannot be opened because it is version 706. This server supports version 662 and earlier. A downgrade path is not supported

主宰稳场 提交于 2020-01-09 11:52:28
问题 When i am trying to run my website (with aspx) this problem comes up: An exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll but was not handled in user code Additional information: The database 'C:\USERS\XXXX\DESKTOP\BERMAN\APP_DATA\DATABASE.MDF' cannot be opened because it is version 706. This server supports version 662 and earlier. A downgrade path is not supported. Could not open new database 'C:\USERS\XXXX\DESKTOP\BERMAN\APP_DATA\DATABASE.MDF'. CREATE

Upgrade Visual Studio 2013 solutions to Visual Studio 2015

折月煮酒 提交于 2020-01-09 08:40:26
问题 I have installed both Visual Studio 2013 and Visual Studio 2015. Projects and solutions that were created in VS2013 are opened by VS2013 as I would expect, but I would like to be able to upgrade those files so that they would be opened by VS2015 when double clicked. How can I upgrade solution files that are in VS2013 format so that the Microsoft Visual Studio Version Selector will open them in VS2015? 回答1: The simplest solution IMO (also worked for 2012 and 2013) is: Open the solution file

Upgrade Visual Studio 2013 solutions to Visual Studio 2015

血红的双手。 提交于 2020-01-09 08:39:09
问题 I have installed both Visual Studio 2013 and Visual Studio 2015. Projects and solutions that were created in VS2013 are opened by VS2013 as I would expect, but I would like to be able to upgrade those files so that they would be opened by VS2015 when double clicked. How can I upgrade solution files that are in VS2013 format so that the Microsoft Visual Studio Version Selector will open them in VS2015? 回答1: The simplest solution IMO (also worked for 2012 and 2013) is: Open the solution file

Where is the “Create Unit Tests” selection?

好久不见. 提交于 2020-01-09 02:54:55
问题 I have installed the new Visual Studio 2012 Ultimate. I have created a Test Project with my solution and it contains some default unit tests. However right clicking on new Methods doesn't show the "Create Unit Tests" context menu any longer. See Visual Studio 2010 Ultimate: And Visual Studio 2012 Ultimate: Any idea why that could be? UPDATE: Solution for Visual Studio 2012 and 2013: Microsoft has acknowledged it here and offers an official work around patch to fix it. Download, install and