When I add a WCF service reference in Visual Studio 2008, a directory named Service Reference\ServiceReferenceNamespace is created.
In this directory, there's files named Service.xsd, Service1.xsd, Service2.xsd, Service3.xsd and Service4.xsd. The files rae not duplicates - the different files defines different types and elements. When ...
I want to find all expression variable = variable; in my source files. I use Visual Studio 2008.
The variable is any variable, for example x, i, k123, incr15.
Samples:
x = x; // Should find
x = y; // No match
ss12 = ss12; // Should find
ss12 = ss12 + 1; // No match
...
Hi Guys,
I need a little assistance with regards to my visual studio IDE. There is this feature in aspx markup pages to highlight the matching tags when you click on them.
<td style="height: 25px" align="right">
Invoice Total:
</td>
e.g. the two...
I don't get what this article on R6034 says. Looks like it states that every application dependent on VC++9 runtime must have a manifest.
Now we have a DLL that we ship to customers, that depends on VC++9 runtime and has a manifest embedded. Does every application using our DLL also need to have a manifest embedded?
...
Hi guys
i am coding a pretty large intranet based web system that needs to support multi language. i have in excess of 150 pages, each of which will have an associated resx file. developing in vs2008
at the moment the hurdles i'm facing.
the sheer volume. opening each page, going to design view and clicking generate local resource is...
In visual studio I select Debug->Exceptions then add an exception that will be ignored by visual studio.
Where is this information stored?
When I switch solutions I seem to lose this setting. Is there anyway to set this for everyone?
...
I just did a clean install of Visual Studio 2008 on a new machine and I don't see the File > Source Control menu option. Microsoft Visual Studio 2008 Team Explorer Version 9.0.21022.8 is installed, and I have connected to my TFS server through the Team Explorer tab on the right.
Any ideas?
...
Hi !
Suppose you have WPF Window composed of many elements that are using DataTemplates / ControlTemplates (ItemControls ... )
But you want to see how every DataTemplate looks like in VS Designer.
What more, if you define a ControlTemplate from as a Template located in another file to be able to view it with the content.
Something lik...
I have this problem where I'm merging changes up into my integration branch but when I need to work on development I forget to switch back to the development branch. Are there any solutions out there available to help prevent me from editing the to Integration branch except while I'm merging in new code?
In other words, I'd like either ...
I'm wondering if anyone out there has any ideas about how to run Ant inside Visual Studio 2008. I'm looking to perform some pretty common Ant tasks such as selecting a target to run inside a build file.
I have come across and am aware of NANT as well as MSBUILD as more preferred build tools for ASP.NET projects, but I am only intereste...
I have a solution in Visual Studio 2008, it has dozens of projects.
I would like to have all the pdb in the same folder.
From the property page of a project I see that the pdb will go to the "Intermediate Directory"; also .obj files go to the "Intermediate Directory".
Each of our projects has its own folder because we want to keep the...
I wonder if anyone can explain why Visual Studio does not report compile errors on the View Pages?
I ask because I noticed that Re-Sharper (At least i think it is) picks up the fact that I have included a dead referance in my view but the project will build.
eg,
<%@ Import Namespace="Site.This.Is.Dead.Link"%>
Its only when navigati...
I have developed a web application and only the user that has the administrator role can access it and no one else..
I am having difficulty trying to figure out if the user is administrator or not////
My code for login page is
public partial class LoginPage : System.Web.UI.Page
{
public const int LOGON32_LOGON_INTERACTIVE = 2;
...
I have a website that I publish in Visual Studio 2008 and then send off to other people. One of the pages needs to alter a few configuration files, so an action is executed using WindowsImpersonationContext inside a class library referenced by the website.
protected void WithImpersonation(ExecuteUnderImpersonation action)
{
using(Wi...
Hey guys,
I have some code here that connects to my Mysql database. It checks your username and password and if your login was successful and it retrieves the phone number under that account. How would the SQL Query look like for retrieving the phone number once connected? Then how would I be able to display that phone number on a label...
I am trying to create a .bat file that starts the ASP.NET Dev Server outside of Visual Studio, and then opens the site in a browser. What I have so far does successfully start the Dev Server, but then it stops there and doesn't open the browser.
Here is what I have in my .bat file:
"C:\Program Files\Common Files\Microsoft Shared\DevSe...
I have this MySQL Query glitch in my VB.NET program.
Here is the query in VB.NET:
"SELECT Points FROM user WHERE Username = '" & UsernameText.Text & "';"
It will select the points column from the user table from the Username they entered. When I deploy this it will set the value for points to 0 on their account. What's going wrong? I...
I've just added my first test project to a VS 2008 solution. I have a component I'd like to use in a unit test; the component calls System.Configuration.ConfigurationSettings.GetConfig() to get a setting, and I'd like for that call to work in my test. Any ideas how I can do this? I don't see any app.config in the project, so I'm not s...
When I create a new Reporting Services report or try to open an existing report (that has been working) in Visual Studio 2008. I cannot view the design. I get no error message and it only shows html code in the "Design View". I've tried reinstalling VS2008 and BIDS, but hasn't worked. This was all working when I last used it 2 weeks ago....
Hey guys,
When I launch my application, and press the "X" button on my app, or my quit button which deploys: me.close It will not fully close the application. Like the instance is still running in Visual Studio or if you go to task manager processes you can still see it there. How would I get this to fully close?
Thanks
Kevin
...