visual-studio-2008

TreeView CSS Friendly Output? Control Adapters? ASP.NET 3.5

I want my TreeView control to output <ul><li> tags instead of <tables>. What is the best way to do this. I heard about the CSS Control Adapters. Is this still the best way? How do you go about doing it? ...

Asp.net assembly reference error

A web app that I'm writing throws this compiletime error Error 1 The type or namespace name 'Web' does not exist in the namespace 'ATS.System' (are you missing an assembly reference?) for every code file in the assembly the namespace is imported in every file (both System and System.Web) I've also added references (to both) in th...

How can I use .NET web services from non-standard ports?

Our web services are accessed through a router which uses port forwarding to connect to the actual web server. When we are trying to establish a web reference in Visual Studio it seems the .NET framework returns the full URL with a port to Visual Studio for the reference during discovery. Visual Studio then tries to make a connection b...

Intellisense for external javascript files in VS2008

I'm trying to get Visual Studio 2008 SP1 to do intellisense for external javascript files, as described here by ScottGu, but it's not working. I have an ASP.NET MVC project with several javascript files in the Scripts directory. All of the scripts are included on a master page. Intellisense is enabled, but it only gives me the basic jav...

Web Deployment Projects, Team Suite 2008

I get the following when I build locally Granting IIS read access to the folder 'C:\Projects\YourClubMatters\Trunk\YCM\WebSite_deploy\Release'. C:\Program Files\MSBuild\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.targets(676,5): error : Some or all identity references could not be translated. Warning: Unable to grant IIS acce...

Should I be changing the ProductCode in my .vdproj file on each build?

At the moment our build automatically updates the version number in the deployment project file (VS2008) and changes the ProductCode and the PackageCode. We don't use much MSI functionality at all, it's more of a packaging method and a way to run custom actions which do some activity depending upon a definition file which is shipped a...

CSS Friendly Control Adapters causes security error?

I just added a reference to the CSS Friendly Control Adapters dll and added the following file (CSSFriendlyAdapters.browser) to my "App_Browsers" folder: <browsers> <browser refID="Default"> <controlAdapters> <adapter controlType="System.Web.UI.WebControls.TreeView" adapterType="CSSFriendly.TreeViewAdapter" />...

How to speed up VS2008 with Resharper startup?

There is no doubt that the VS2008 startup time is more than doubled when Resharper is installed. Has anyone found any way to mitigate Resharper's penalty at least a little. ...

Why doesn't property have effect in ankhsvn?

I'm using Ankhsvn v2.0.6347.433 with VS.NET 2008. It all works fine. I've imported an .svnprops file from TotioseSVN. This is done in Windows Explorer by right clicking the root svn folder, selecting the Subversion tab, properties, and import. The import file filter starts off with svnprops. After importing, the commit dialogue now ...

Visual Studio projects with multiple folders

Is there an easy way to use multiple folders in a project with Visual Studio? It has "filters" which look like folders, but it would be really nice to be able to make folders and insert files in them inside VS. Is there an add-in or secret option to enable this behavior? ...

Microsoft Best Practice Tutorials

Are there video tutorials for Microsoft Best Practices with the same caliber as asp.net and windowsclient.net Learn section? What I meant by Best Practices are practices wherein you develop just any kind of application. Take a look at the site for more info: http://msdn.microsoft.com/en-us/practices/default.aspx ...

Two files containing definition of main() Visual Studio ?

I have created a project in Visual Studio 2008 Professional Edition. This project contains one .cpp file for each assignment like this... [-]Source Files \ |-- 233.cpp |-- test.cpp And each file contains definition of main(). Action:CTRL+F5 Error 1 error LNK2005: _main already defined in 233.obj test.obj Error 2 fatal ...

Can I save data from the Visual Studio 2008 debugger?

I have an rare data-dependent error in some code. It's difficult to reproduce the conditions that generated the problematic data, so I need to be able to serialize the (fairly large) data that causes the error to disk to make a test case. Is there any way to serialize data from the debugger? ...

How do I treat warnings as errors in deployment projects in Visual Studio 2008?

I want to fail the build if the deployment project issues a warning about missing dependencies. For example the following is a Warning, personally I think this should be an error as it causes the install to fail as the item missing is a dependency of a custom action. WARNING: Unable to find dependency 'MyBaseAssembly' (Signature='(null...

Insert layers on Visual Studio 2008

Is there a simple way to insert layers (a feature of Visual Studio 2005) in Visual Studio 2008? ...

ASP.NET common controls source code

Is there a source code readily available for commonly used controls (say found in the toolbox) for ASP.NET 2.0? The level of detail that I want its that I need to know the internal workings of the control. ...

How to solve XAML designer error: The document contains errors that must be fixed before the designer can be loaded

I have a XAML file that references custom controls defined into another assembly. It compiles and works perfectly at runtime, but the XAML designer is choking and does not show the design content. <Window x:Class="MyProgram.AboutWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.mi...

How to figure out source line number from Linker Map

For some reason I have only the linker map for an application I am debugging. There is a crash log which says crash occurred at offset "myApp.exe! + 4CA24". From the linker map I am able to locate the method. Say this is at offset "myApp.exe! + 4BD7C". Is there anyway to figure out the exact line in source code using just the above ...

Why do I have to compile to get intellisense for the HTML helper object in asp.net mvc

When I add a new view I don't get intellisense for the HTML helper object until I compile. I guess it must be a VS issue. But what changes when I compile? What makes it work? EDIT: More Details I am running RC1 on VS2008 pro. I have had this issue since I started with MVC using preview 2. When I create a new view I do not get intellise...

How can I use MS Access as a provider for ADO.NET entity framework ?

Hi, Do you know to use a provider for MS Access in ADO.NET Entity Framework? ...