visual-studio

Will I experience pain if I cut back to Visual Studio Express?

With the upcoming release of Visual Studio 2010, and all the lovely new features in C# 4.0, I would really love to update from 2008. However, over the last few years, I've managed to get student pricing, or even free versions via the MSDN Academic Alliance. Now I am no longer a student. I can't seem to justify the $AU500 pricetag of ev...

Sharepoint development using Visual Studio Express?

Having spent the past few weeks familiarising myself with WSS 3.0 I finally want to get around to doing some Sharepoint development. I have Visual Studio Express installed on my Sharepoint server, but when I try to install the "WSS 3.0 Tools: Visual Studio Extensions" from Microsoft it tells me that I don't have Visual Studio installed. ...

Using Linq to query linked server in Visual Studio

I'm trying to use Linq to run queries against a linked server on our SQL Server machine through Visual Studio. On the SQL Server, I've successfully created the linked server and can run queries on it. In Visual Studio I've added a new data connection (under Server Explorer) to the SQL Server with success but the linked server tables are...

T4 template error

The error is: Error 48 A processor named 'PropertyProcessor' could not be found for the directive named 'property'. The transformation will not be run. The following Exception was thrown: System.IO.FileNotFoundException: Failed to resolve type for directive processor PropertyProcessor. at Microsoft.VisualStudio.TextTemplating.VSHo...

Visual Studio UI Improvement OCD Mode

Hey, I am wondering if anyone knows how to pull this off. Here goes. I have a multi monitor setup, and I maximize Visual Studio to both windows. I create a new vertical document tab control, so that I have one document tab control in each physical screen. This is fine. Now, I want to be able to make them work as if they were connec...

Create a stand-alone executable out of VS2008 test project

Is it possible to run an assembly created by a Visual Studio test project outside Visual Studio itself? I would like to create a test application that should be run also on machines where VS is not installed, and get a (graphical) report of the test outcomes. EDIT looking at the post provided in the accepted answer, and looking at the...

Can I call a Win32 API from the Visual Studio Immediate Window?

I'm debugging a C++ Win32 application and I'd like to call an arbitrary Win32 API from the context of that process, as though the program had run this line of code: DestroyWindow(0x00021c0e); But entering that into the Immediate Window gives: CXX0017: Error: symbol "DestroyWindow" not found Edit: Using the full name of the function...

How to see where an exception is caught?

Hi. An MFC, C++ application I'm working on seems to be throwing an exception deep inside a device driver. (It's an access violation writing to a NULL pointer from the looks of things. The details of the crash are not what is interesting me right now, however...) I can get the Visual Studio Debugger to break when the exception occurs ...

Can select both radio buttons in IE - C#

I'm thinking it's the placement of the C# code that is making my radio buttons not function properly - this bug so far is only showing up in IE. Hope this is enough info to get some feedback, I'm just a HTML/CSS/JS dev, thanks! <% using(Html.BeginForm("CreateCustomerAccountLogin","BookingLogin")) {%> <%=this.Hidden(x=>x.SID) %> ...

Intel C++ Compiler for Windows CE ...

Two years ago I used eMbedded Visual Studio for Windows CE based application development. I had about 40% app performance acceleration with Intel C++ Compiler(v1.2 or v2.0) in comparison with default MS compiler (floating point issues, ARM). It was looked really helpful for me. I do remember that downloaded it from official Intel site....

Is there a way to have the second <authentication mode="Forms"> somewhere in my sln?

I have <authentication mode="Windows"> in my web.config. I do not want to create another solution with <authentication mode="Forms">, but I do need to allow external access to my intranet web app. There is a way to allow Windows-Authentication-using-Form-Authentication described here http://dotnetslackers.com/articles/aspnet/Windo...

Adding a COM Reference with Visual Studio renames interfaces in Interop Assembly

Hey all, I'm adding a C++ COM dll as a reference to a C# project (Visual Studio 2008). VS adds the reference however the generated interop library does not reflect the naming in the original typelib (.idl) definition. Here's what my library definition looks like: [ uuid(...), helpstring("MyLib") ] library MyLib { [ uuid(......

Hide Gridview

i have a Gridview that has filters that can fire off the emptydata template. However when this is displayed I can still see the outline of my gridview. How can I make the Gridview disappear when the data is not present? ...

How to move onto automated builds with Visual Studio?

I work in at small .net shop where we currently build all our solutions using the visual studio IDE. We want to progress to a point where we're in complete control of our MSBuild scripts for build, test, deploy - making use of the MSBuild community tasks etc. I guess my question is: what will be different in Visual Studio development ex...

Can I get access to the database schema project types without having to buy VSTS?

I'm currently working on an ASP.NET application, and I have downloaded the Visual Studio 2010 Team System beta, which I'm using for my project. In this version I learned that there is a database schema project. By searching the net I found that this project type also exists for VS 2008, but only in some of the Team System versions. I re...

The "Optimize code" checkbox in Visual Studio. What exactly does it do?

The Build tab of the Project Properties in Visual Studio 2005/2008 contains the "Optimize code". The documentation states that it "... enables or disables optimizations performed by the compiler to make your output file smaller, faster, and more efficient." My question is why should I NOT have it on? Why is it not on by default? W...

Books or other resources for learning Visual Studio?

Some background: I used Visual Studio quite a bit back in the pre-.Net days, and I'm now moving towards using it again. In the interveining years, I've been doing a lot of coding in other environments (Java, Python, Perl, C++, embedded C, lots of HTML/CSS/Javascript, etc) as well as a fair amount of .Net work that just didn't use Visual...

How can I make a code snippet and add it to the Snippet intellisense in Visual Studio?

I'm curious if this is even possible. ...

Consistent dev path on windows

I have several partitions on this laptop (XP, vista, 7rc1, and a clean partition for testing and installing foreign softwafe). I code on XP and windows 7. 4 partitions are already used so i have no spare partitions for my dev files. What can i do to create a consistent dev path? I tried sharing my C drive and map T to /home/c however th...

SharePoint development with visual studio

i have installed SharePoint 2007 and VS2008 extension on my computer.i have created a site but i don't find source code for solution file.how i development for my SharePoint site on visual studio? ...