visual-studio-2010

MVC giving 404 errors after VS2010 install and VS2008 rollback

I'm having a bit of a problem with an MVC 1.0 site and wondered if anyone could help. The site was fully working in Visual Studio 2008, but after an upgrade to VS2010 I am having problems. The steps I have taken so far are: Install VS2010 Upgrade my MVC site to .net 4.0/MVC 2.0, which generally worked Shelved all my changes Got latest ...

error during build using sandcastle help builder with visual studio 2010 .NET 4.0 project

I was using sandcastle to generate help for my project in visual studio 2008. When i change my project to visual studio 2010 and change the project .NET version to .NET 4.0 i got this problem with Sandcastel. I can't understand why sandcastel is using C:\Windows\Microsoft.NET\Framework64\v3.5\MSBuild.exe and not C:\Windows\Microsoft.NET...

Vs2010 MvcBuildViews Not firing

This project in Vs2008 targeting .net 3.5 used to compile views. Vs2010 Targeting .net 4.0 the following view code is not picked up as an error, and I have not found anyway to listen to the mvcBuildview trace/debug output: <%{ %> A completely unmatched code block declaration is not being picked up, neither was a partial view inherit...

VS 2010 Layer Diagram Validation Error is Showing A Dependency That Doesn't Even Exist (AV0001)

I'm getting the following validation error on my layer diagram Error 65 AV0001 : Invalid Dependency : Weld.Interface.Core(Assembly) --> Weld.Interface(Namespace) Layers: Application Framework Core, Application Framework | Dependencies: Namespace Reference D:\Projects\Windows Projects\Weld\Weld\ModelingProject1\Weld.layerdi...

Why does Visual Studio stops rendering guide marks and gradients?

I'm running VS 2010 on an XP machine, and occasionally, it will cease drawing guidelines (the lines showing you which control lines up where, and the dotted boxes around selected controls) in design mode. Also, it won't render gradients used as control backgrounds. These gradients won't render when I run the application, nor will they re...

xaml nested class path designer issue

Hi, I have nested class public class Enums { public enum WindowModeEnum { Edit, New } } In my xaml I reference code: <Style.Triggers> <DataTrigger Binding="{Binding WindowMode}" Value="{x:Static Types1:Enums+WindowModeEnum.Edit}"> <Setter Property="Visibility" Value="Collapsed" /> ...

convert SQL Reporting Services project (.rptproj) to VS 2010

I have an .rptproj that works with VS 2008, but I can't convert it to VS 2010 This link seems to confirm the issue but provides no options: https://connect.microsoft.com/VisualStudio/feedback/details/532664/cannot-open-a-sql-reporting-services-rptproj-file?wa=wsignin1.0 Any suggestions or new info on this? ...

I get "operation cannot be completed" when i try to open visual studio 2010?

Hi I am getting the operation cannot be completed error when i tried to open Visual studio 2010. Previous to that I was trying to install web platform and didnt install but that is all I did...anyone have suggestions...i tried restart my pc... ...

VS2010 Lots of errors when including standard libraries

When I include a standard library into my VS2010 project, I get a TON of errors like these (these errors were from adding in shellapi.h). I get similar errors when adding in something like Windows.h or Wininet.h or anything like that. 1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\ShellAPI.h(56): error C2065: 'HDROP' : un...

One Model to Rule Them All - VS2010 UML, ADO.NET Entity Data Model, and T4

I worked on a fairly large project a while back where we modeled the classes in Enterprise Architect and generated the (partial) POCO classes (complete with model-driven business rule validations), persistence (NHibernate mapping file) and DDL. Based on certain model attributes we could flag alternate generation strategies or indicate t...

Visual Studio 2010 Architecture tooling

Has anyone played around with the architecture tools (uml diagrams, etc) in VS 2010 and if so what is your opinion? I really am liking Sparx Systems Enterprise Architect but am also curious about what is available in VS 2010. I'm not looking for responses about how much you hate Microsoft tools or love mircosoft tools, but more for ans...

Easy question: How to see design view in VS 2010 when editing an ASP.NET MVC 2 partial view? (ascx)

I am editing and have already saved a Vendor.ascx partial view in VS 2010. Since the html snippet would be very simple, I thought I would look at it in Design View, however the tab is no where to be seen. I haven't seen any options in the menus either. Any idea how to turn on Design view when editing an MVC .ascx partial view? ...

What is the best way to detect Copy (Ctrl+C) event in an IWpfTextView?

I am trying to detect a copy event in the text view and I have been researching the best way to do this. Is it to possibly hook into the StandardCommand Copy event somehow and detect it that way? Or is it possible to use the KeyProcessor(and simply detect Ctrl+C keypresses)? My extension is currently implementing the IWpfTextViewCreatio...

Who is working with VS 2010 professional ? IS it stable as 2008 ?

All I want to know is if .NET frameworks 2.0, 3.0 and 3.5 are available in VS 2010 Professional. I have installed VS 2010, but only .NET framework 4.0 is there when making a C# project. Does anyone else have the same problem ?? I am also working on my Final Year Project. I also would like to know if VS 2010 Professional is stable enou...

Where can I find a good article or book about Visual Studio 2010 team foundation?

I need some sources like articles and books about visual studio 2010 team foundation features. something which describes: What are the new features of 2010 team foundation How to use team foundation server best practices thank you in advance. ...

Does anyone know to upgrade a VB.net 2.0 project to 3.0 in VS 2010

Yeah folks i need to upgrade from .net 2.0 to 3.0 framework, for a VB.net project. I have done this upgradation for a C#.net project in VS 2010, but I dont c the option, for it in the properties submenu of the Project Menu. Thanks in advance ...

Change the Target Framework for all my projects in a Visual Studio 2010 Solution to 3.5 (or 4.0)

This is kind of a continuation of this question. The thing is that I have to change all the projects target framework. I have many solutions with hundreds of projects. Anything new here or do I have to change every single project? ...

IIS6 Metabase Compatiblity not installing correctly for Vista IIS7

I've been bashing my head against this one for a few days, and haven't had any luck with it. I'm unable to get my VS2010 ASP.NET project to deploy to IIS. I receive the error "Unable to create the virtual directory. To access local IIS Web sites, you must install the following IIS Components IIS 6 Metabase and IIS 6 Configuration Compa...

"No Source Available" when managed exception occurs - WPF Visual Studio 2010

for some reason, my visual studio 2010 is not loading debug symbols on my own code. i am using a default WPF application solution. with a sample WPF app i am working on, and running in Debug mode. when i go into debug, i can step through my code. BUT when exception happens in my code (i.e. throw new Exception("test")), visual stud...

Remove XML comments using Visual Studio 2010 Web Config Transformation

We are using Team Build to handle our deployments to our development server, and we have a need to remove comments from our web config when it's transformed. Does anyone know how to remove the "" comment lines from the web config file using a transformation? ...