Tagged Questions
56
votes
2answers
24k views
What are the Web.Debug.config and Web.Release.Config files for?
I just upgraded to Visual Studio 2010 and MVC 2.0 and I noticed the Web.config has two additional files attached to it? Are these files used to specify debug and release specific settings, so you ...
35
votes
2answers
11k views
ModelClientValidationRule conflict
I have installed vs 2011 developer preview side by side with vs 2010. Now when i run my asp.net mvc 3 project in vs 2010 I am getting the following error in my project where i am using ...
26
votes
2answers
9k views
Visual Studio ASP.NET MVC project: setting the start URL
Consider an ASP.NET MVC 2 project with VS 2010. The goal is to set the 'start URL' on run/debug using VS's built-in Cassini web server.
Entering the URL as I want to be loaded, in the typical & ...
25
votes
4answers
20k views
MVC project on VS2010 error : The project type is not supported by this installation
I'm trying to open MVC project using VS2010.
I'm opening this project from TFS server but I'm failed to open it
and getting error :
The project type is not supported by this installation.
please ...
22
votes
4answers
3k views
Why doesn't Visual Studio code formatting work properly for Razor markup?
Or, should I rather ask, when will VS code formatting work properly for Razor markup? The formatting works for most structures, but it seems to choke on 'if' blocks. The code below is as it is ...
22
votes
2answers
9k views
Using port 80 with IIS Express inside of VS2010
I've got an app that I am trying to run on my dev system under IIS Express from VS2010 that I need to use port 80 for, but I can't get it to work. I've looking up information talking about port 80 ...
20
votes
4answers
7k views
MVCBuildViews not working correctly
So I edited my .csproj file on an MVC 3 RTM application to set the following property:
<MvcBuildViews>true</MvcBuildViews>
This should cause my views to be complied during build and ...
20
votes
3answers
5k views
Multiproject areas in ASP.Net MVC 3
Does any one have any idea about multiproject area support in asp.net mvc 3? As it was degraded to future status in mvc 2. If it is still not included then should we look forward for ASP.Net MVC ...
17
votes
6answers
12k views
Attempted to access an unloaded appdomain when using System.DirectoryServices
We've implemented a Membership Provider that authenticates to Active Directory and it's using System.DirectoryServices.
While using this Membership Provider in an ASP.Net MVC 3 application on Visual ...
15
votes
3answers
12k views
Could not load file or assembly HRESULT: 0x80131515 (When adding controller to MVC project that has assembly references on network drive)
I've seen this: VSTS 2010 SGEN : error : Could not load file or assembly (Exception from HRESULT: 0x80131515) and none of the answers work. It also doesn't appear when I build or anything. I can run ...
15
votes
1answer
2k views
How can I change jslint(VS 2010 extension) to ignore files?
I have js lint installed in Vs 2010 as a extension through the extension manager.
It finds lots of errors but they are all from external plugins or from the jquery library. I am not going to go and ...
15
votes
5answers
4k views
Add View Model class dropdown not showing my class
I’ve created a new C# asp.net mvc 4.0 (beta) Internet Application and I’m having a somewhat odd behavior in the Add View dialog in Visual Studio 2010 (sp1).
When I decide to create a strongly-typed ...
15
votes
4answers
7k views
Razor View Engine Quirks in VB.NET
I just downloaded the MVC 3.0 RC and I'm excited to start using it, especially the Razor view engine. However, due to a few stick in the mud type people here, we are stuck using VB.NET instead of C#.
...
14
votes
4answers
6k views
Cannot get assembly version for footer
I'm using the automatic build versioning mentioned in this question (not the selected answer but the answer that uses the [assembly: AssemblyVersion("1.0.*")] technique). I'm doing this in the footer ...
13
votes
4answers
3k views
Is it possible to integrate NUnit into Visual Studio 2010?
When I create a ASP.NET MVC web application in Visual Studio 2010 it offers also to create a testing project using one of framework from the list.
But I have only VS built-in testing framework in it.
...