visual-studio-2010

Debugging with VS 2010 in IIS 7 classic pipeline

I am trying to debug an ASP.NET website in VS 2010. The website is running in classic pipeline mode in IIS 7 on a Windows 7 64 bit machine. For some reason my breakpoints are never hit. I use the attach to process method to attach to the w3wp.exe process. I do not have enable 32 bit application enabled on the app pool. If i use the integ...

How do I change my $OutputPath in VS2010?

I'm getting an error in VS2010 that the HasTrailingSlash function only accepts a scalar value, but the argument $(OutputPath) evaluates to something that isn't a scalar. Trouble is, I can't find the $(OutputPath) variable anywhere. I have no idea what it is, or how to go in and fix it. ...

Visual Studio 2010: Data Sources window in ASP.Net project?

Hi, I'm trying to add a Sharepoint site as a data source on a web project in VS2010; so I can generate the appropriate DAO code to interact with the site's data over REST. However, neither the data sources window, nor the Add Data Source Configuration Wizard seem to be available to an ASP.Net Web project. Is there something else I shoul...

Create a DataTable from list<T> and bind it to datagridview [c++]

Hi guys, I'm new with c++/cli programming. I have to do a program for the university I'm trying to create a datatable in c++/cli with visual c++ 2010 and then bind to dataGridView1. I have a list of Class P object with several fields. I've looked every where, but i've found only c# versions. Thank you in advance, and sorry for my eng...

Separating designer from xaml window for wpf in vs2010

Hi, i don´t find a button to separate the designer window from the xaml window for wpf in Visual Studio 2010. I´ve got 3 screens and i want a full screen xaml and a full screen designer window. Any suggestions? Btw searching the web for "xaml, designer, vs2010, split" wont work ;) Thanks. ...

Problem publishing a website with Visual Studio 2010

This is hard to describe. I have a web project that works under Visual Studio 2008. I have since upgraded the project to 2010 and all works well on the Dev machine.. I can build the site and run it quite happily on IIS on the Dev PC. If I publish this site to a remote Web Server, then all the pages that do a postback to themselves dont ...

How do I get a c++/cli studio project to handle auto incrementing reference numbers?

I've got a C++/CLI visual studio project that we just upgraded to target .net 4. It references some other assemblies we have. Prior to the upgrade, the references worked just fine when we built the projects that this c++/cli depends on. Now, when we build the projects that the C++/CLI project depends on, we get reference errors in the C...

Realtime File Sync solution for windows?

When I develop web applications I'm frequently need to sync files from a working folder to external server or another folder. I like keeping my code separated from the web sever. In open source world there is the eclipse with file sync that does the job pretty well. Unfortunately I can't find any good replacement for Visual Studio. I...

Is it possible to programmatically edit a build definition in TFS Team Build 2010?

I am working on an automation project using team build 2010. I am wanting to update my build definition while the build is running with information that is supplied from one of my custom activities. So for example, I am going to have an argument in the team build definition that contains version information for the project. When the...

Where are the redistributable merge modules for Visual Studio C++ Express edition?

I have created MSI installers for programs compiled with Visual C++ 2008 Express edition and Wix (Windows Installer Xml) before. I just needed to bring in the merge modules for the C++ runtime redistributables from c:\Program Files\Common Files\Merge Modules*.msm. I expected the procedure would be similar with Visual C++ 2010 Express, ...

Does Visual Studio 2010 have SQL syntax highlighting for .sql files?

Basically the title is my question. I have a project in one of my solutions just for storing development assets like DB creation scripts and the like. While I normally use SSMS for developing and running these scripts, I would like to be able to open them in Visual Studio and see the same syntax highlighting that's in SSMS. It's just a...

Silvelight 4 is not debugging. Symbols are not loaded.

Hi, I am making my first silverlight application. I only put a textbox and a button. I tried to debugged and It doesn't work. I tried going to the web project. property pages->start options->debuggers and silverlight is already checked. so I need help. Why is not working???? Thanks Nora ...

Visual Studio 2010 won't allow me to debug web application

I have the .NET Target framework set to .NET Framework 3.5 When I try to debug with f5, i get the following message in a popup window: "Unable to start debugging on the web server. Mixed-mode debugging of x64 processes is not supported when using Microsoft.NET Framework versions earlier than 4.0." Of course when I set the target frame...

Databinding Button Content to a static resource fails

I am trying to design a set of icons in a Silverlight 4 User Control's ressources, and then display these on a button. I have <UserControl.Resources> <Rectangle x:Key="Icon1" Fill="Black" Width="10" Height="10" /> </UserControl.Resources> and <Button x:Name="Button1" Width="50" Height="50" ...

Build Web Deployment Package From Command Line

Is there any way to build deployment package for a Web Application using Visual Studio 2010 CommandLine ? ...

Unable to Debug MS Test on Visual Studio 2010?

I am using MS Test with Visual Studio 2010 to write unit Tests. When I debug a Test it shows a Message box as shown below Title : Downloading public symbols Message : System.XXXX.dll Has anyone else faced this issue with MS Test on Visual Studio 2010? This problem does not come when I run a test. Its only when I try to Debug a Test ...

DynamicActivity - How to invoke a workflow that stored in Database?

Hi, This is proof of concept project - The goal is to create an application that receive some system wide events and based on some business rules invokes a specific workflow. The workflows are created separately and the xaml source is stored in a database. Following is the code that used to invoke the workflow: public void RaiseEvent...

Is it possible using the VS2010 profiler to sample a thread other than the Main Thread in C#

Hi, I'm trying to profile an app in c#, never done any kind of profiling before. I haven't been able to find much documentation on the profiler so far maybe someone here might know better. I have an app that when I click a toolbar button, kicks off a background thread to fetch me some data. The data is then prepared and displayed on th...

Weird unresolved external errors in linked objects

Using Visual Studio 10 C++, I'm having weird link error. For some reason references to a global object won't link to that global object. It is telling me a symbol is undefined yet when I have it view the .cod file the symbol is right there plain as day. The error: FTShell.lib(ftcommodule.obj) : error LNK2001: unresolved external symbol...

Running Umbraco source code in Windows 7 only produces login screen

I am trying to get started in development of my website and plugins using Umbraco. When I download the binaries from Codeplex, the installation and running of the website works fine. When I downloaded the source code, All I get is a login screen even when the web.config files are the same. Am I doing something wrong or is there something...