|
|
Browse by Tags
All Tags » Visual Studio » .NET 2.0
Showing page 1 of 2 (11 total posts)
-
xmlDocument.SelectNodes with xmlns="..."
Spent most of today wondering why I couldn't update a connection string in a web.config file using xpath which had the default namespace for xmlns defined at the root of the config file. e.g. <configuration ...
-
If you're copying from specs where the BA has the replace hyphens with dash setting selected in Microsoft Word (which is checked by default), then be careful if you copy that generated dash character into your .master page file. I've found today when you hit save on the – (Alt + 0150 in notepad) character in a .master page file ...
-
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe /DesignMode /u /ShowCallStack /Configuration="C:\Data\Merrick\Projects\Data Access Guidance Package\Data Access Guidance Package\Data Access Guidance Package\bin\Debug\\Data Access Guidance Package.xml" "C:\Data\Merrick\Projects\Data Access Guidance Package\Data Access ...
-
Symptom
Aspnet_compiler.exe fails to produce any content apart from the PreCompiledApp.config and the Bin folder.
Reason
When you save a solution containing a web project (file based), it sets the physical path property Debug.AspNetCompiler.PhysicalPath for the aspnet_compiler. If you then subsequently save your ...
-
In order to pass Enum values around to your WCF service operations, then you must put [ServiceKnownType(typeof(Enum))] attribute on the service interface contract, and also add the [EnumMember] attribute to every enum value within your Enumeration data contract.Service contract looks like this...namespace ...
-
In Visual Studio, you can use the find and replace utitlity in regular expression mode, with the expressions below to turn code such as this... [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue = false, Order = 0)]
public ...
-
The following code will get the correct database and server name for the Team Foundation Server Work Item Tracking database. Note in the call to GetRegistrationEntries you can use any one of the following ...
-
Looks like if you create area paths in code, then you can’t access them straight away from the item.Project.AreaRootNodes property, but have to go back up to the Store for the item, and look at its Projects collection…workItem.Project.AreaRootNodes.Count0workItem.Store.Projects[item.Project.Name].AreaRootNodes.Count2Even though these ...
-
EXPORT
From Visual studio command prompt, issue the following command to export your work item type.
C:\>witexport /f "c:\BugWIT.xml" /t myservername /p mytfsprojectname /n "Bug" /exportgloballists
Work item type export complete.
IMPORT - Validation
First validate the xml file, using the validate switch
C:\>witimport ...
-
http://www.woodwardweb.com/vsts/000286.html
Hack #1 - Stopping Team Explorer from connecting on Visual Studio 2005 Start-up
Add a DWORD value called "AutoLoadServer" under HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\TeamFoundation. Zero means do not reconnect automatically.
I first read about this setting over at Tim ...
1
|
|
|