I would like to programmaticly get a stored major version number for a C# project in both Debug and Release builds.
Where could I store this version number and how do i access it?
...
If I create a new win32 C++ project in VS2008 I can use Edit & Continue with it just fine, but with this legacy project I'm working with my attempts to use / enable it have failed.
Here are things I've checked:
Tools -> Options -> Debugging -> Edit and Continue -> Enable Edit and Continue is ON.
Debug Information Format: Program Data...
Hi,
I have a Visual Studio 2008 project where some code files are generated with each build (a parser, integrated via MSBuild aka editing the *.csproj file).
VS does not know about the generated nature of these files (i.e. they are not the result of a "Custom Tool). So they "change" with every build, naturally. And VS2008 asks me after...
Now this might be a dumb question, but I'm still new to using Visual Studio 2008 but I was wondering if there is a feature like this (I'm using webforms ASP.NET C#).
I create a new method, highlight it in the editor and was wondering if there was a run/test method feature? Where it would exectute the method and prompt me via a UI for a...
hi i am using vs2008+vsto to create excel add in (ribbon)...
is it possible to make it a dll, like myaddin.dll so that users will have to only add this dll... and use, or can you suggest any better approach, thanks a lot!
...
I want to access one of my web service methods via HTTP GET, I've seen it done before but I can't figure out how to allow this access protocol on a VS2008 web service project.
I guess you have to change the web.config file but not sure what to.
Does anyone know?
...
so i have some inline XML
Dim x As XElement = _
<parent>
<child></child>
</parent>
what I want to do is get some variables that have been set into that xml
Dim v as string = "Blah"
Dim x As XElement = _
<parent>
<child>{v}</child>
</parent>
Is this possible? I...
I have a solution where I'm repeating various class names within three different projects (a WCF service project, a unit testing project and a BL project). Also partial classes have been used to spread these classes across multiple files.
The net result is that I've got 5 different file names that are repeated across three different pro...
Team explorer is a real pain to use for some simple tasks, and is very slow. I'd like another solution to access my TFS repository.
I really like SvnBridge, but I cannot attach a TFS work item when I check-in with tortoise.
Does somebody know some alternatives ?
Update
From what I've seen, the integration of TFS with the windows Explo...
Hi all
I'm working on a VB2008 project that references two Access databases using Provider=Microsoft.Jet.OLEDB.4.0;
It would seem if the user does not have MSOffice on their machine, the program crashes with a "XXX stopped working" on startup on Vista and Win7.
I thought that Windows had XP and above had Jet functionality built in? Do...
Multiple duplicates: http://stackoverflow.com/search?q=svnversion
I'm using TortoiseSVN with SVN Service running as a service on a windows server.
I would like the version / build number in the project to be updated as or after the project is committed. So that the correct version / build on the project will be reflected in several ...
How to disable debugging symbols in VS2008.
I'd unchecked "load symbols ..." in Tools -> Options -> Debugging -> Symbols but directories as ".pdb" and file pingme.txt still appear in my project folders.
...
I have a 3rd party library and a simple benchmark test that I write by myself to test this library for performance. 3rd party library is C++/CLI .NET library and most code there is unmanaged. This library is assembled for .NET Framework 2.0. My benchmark test is managed C# code that adds little overhead to the library, only simple calls ...
I don't want resharper to analyze my Test Project which has all my unit tests and mspec specs... It doesn't like them? Is there a way to turn off resharper on a project/namespace level?
...
I am running hudson on Vista and calling MSBuild for C++ solutions (VS 2008).
I have not been able to find a way to export the existing user or system environment variables.
I can manually set env variables via hudson, but I prefer not to do that - I want to use the existing ones that are already set. Is there a way to do this?
E...
Is there any editor control in asp.net like the one above? The one above was created in javascript in asp but I want something similar in asp.net.
...
I am running a Sql statement similar to the following inside of a cleanup method of a unit test in Visual Studio 2008:
DELETE FROM MyTable
WHERE EmployeeID = @EmployeeID AND UserID = @UserID
...
@EmployeeID & @UserID are assigned appropriate values via parameters in an SqlCommand and ExecuteScalar() is called to execute the statement.
...
Why does Visual Studio (2008) unit testing create all these *.vsmdi files?
Can it be turned off?
...
I need change language
toolbars reportviewer.Buttons:Print,Find,Export
...is possible?
I'm using Visual Studio 2008.
...
If I have a nested loop scenario and I am stepping into it in debug mode. Ex:
for (int i = 0; i < listTest.Count; i++)
{
for (int j = 0; j < anotherList.Count; j++)
{
//Some logic that throws an exception
}
}
Is there a way for me to know the values of i, j, listTest[i] and anotherLIst[j] just before the exception occur...