I have a custom MsBuild task that sends an email (does some special stuff while sending the email -like formatting content).
Background:
Using TFS 2008
Build server is a separate machine using TeamBuild 2008.
This custom task used to work fine until I installed .Net 4.0 on the build machine and setup the build service to use the new ...
I am working on ASP.NET 3.5, c#, visual studio 2010. I have made a master file and a default page that uses this master file. I have placed a couple asp:contentplaceholders in the master and corresponding code in the page that uses this master. I have also inserted JavaScript like this in the content page (and not the master):
<asp:Cont...
I want to align my classes on the VS 2010 architect UML class diagram tool. I can't seem to find the toolbar or menus to allow alignments of elements on the design surface.
...
I've finally made the leap from Visual Studio 6 (1998 vintage) to VS 2010. It's been painful, but after eight hours of work, my 200KLOC Win32 program actually runs!
I'm disappointed by how sloppy VS converts projects.
[1] VS ignores the pre-compiled target if it's not "stdafx.cpp"
[2] In a Project with multiple Configurations, VS forg...
I've generated LINQ to SQL classes from a database not under my control which has a lot of Decimal(38, 5) fields. Apparently the range of the .NET Decimal type is smaller than this, so the LINQ to SQL code generator is throwing a lot of warnings:
DBML1008: Mapping between DbType 'Decimal(38,5)' and Type 'System.Decimal' in Column 'St...
I'm used to having the 'x' close button that closes each tab you have open positioned on the right, the way it is in VS 2008. In 2010, each tab has it's own 'x' close. I like this but would also like to have the old close button too. Anyway of doing this?
...
I have been making several improvements on code snippets that are typically built into VS2010. Is there any way to either "prefer" certain snippet directories over others, or to overwrite the defaults without manually removing the references from the Code Snippets window? I would like to keep the same shortcuts.
This is mostly nit-picki...
How do I change the color of the horizonal and vertical lines? I'd like to make them a little lighter, yet leave the X and Y axis black, probably.
Edited:
indyfromoz suggestion resulted in this:
The effect I want is this:
(Subtler horiz and vertical lines, maybe even no vertical lines.)
...
I want to turn off a code contract warning, but only for specific code lines. How do I do that?
For instance, I get:
Warning 87 CodeContracts: requires unproven: key != null
for:
return HttpContext.Current.Items[typeof(T).AssemblyQualifiedName];
which will never happen in our applications.
...
I have a solution in VS 2010.
There are two DLL projects: one UserControl in C# WPF (myCSharpUC) and other - WinForm UserControl in VB.NET (myVbUC)
Actually in myCSharpUC I have an instance of myVbUC:
myCSharpUC {
private MyVbUC vbControl;
...
somemethod()
{
vbControl.MyProperty
}
}
Is there a way to "nav...
Hello i'm trying to change scale GDIplus::Bitmap and save in memory scaled BItmap, and i have problem. I try many different sample, and my result is NULL. For Example I try change resolution for image, using SetResolution, also i try convert bitmap from image->graphic and use one of constructors GDIplus::Bitmap scale, but i haven't resu...
solution is developed for x86 platform and framework 3.5...
i need to include pre-request setups in my offline project ...dot net frame work 3.5 , sql server compact server sp 2,windows installer 3.1 are the pre-request that the setup should check for and install if not installed in target machine...how to create setup with pre-request...
Hello,
I have a VS2008 web project with a EF1 datamodel. Now I have converted this to a VS2010 project with .Net 4. My question is about the Entity Framework. How can I see what version of EF it is. Or how can I make sure it is EF 4?
...
I am trying to set the type of an application setting property to a custom enum type I have defined in my assembly (call this Project A)
In the settings browser I click browse and am presented with the "Select a Type" dialog box.
And the Types defined in Project A are not seem to be available to me. Yet types are available from other p...
In the properties windows i have selected "Collect CPU Counters" and moved "L2 misses" to the right column. I ran the CPU sampling for console app. Where can i see this value?
...
I'm using DotNetOpenAuth (which references System.Web.Mvc version 1.0.0.0) in a Mvc 3.0.0.0 project in Visual Studio 2010.
I'm using assembly binding redirection as follows:-
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3...
Hi guys!
I have a new problem with my C++ DLL... I have tried exporting the entire class instead of only one method. But the program doesn't want to compile now because of that the global scope has no GetUrl
Here is my "UrlConnector.h":
#define ConnectMe __declspec( dllexport )
namespace ConnectHttps
{
class ConnectMe
{
void GetUr...
Hello,
I coded a custom Membership provider and I want to run some Unit tests against it. However, whenever I create a "Test" project, I can't access MembershipCreateStatus. You may know that this is a type on an out parameter for CreateUser.
I am using VS2010 Ultimate and just can't seem to grasp why, even when I add a reference to ...
I'm having hard time finding a bug in my application.
Indeed i use Actions and delegates and when debugging the Call Stacks does not trace all the flow of execution because of the Actions and Delegates.
Which techniques, soft can i use to help debug such applications ?
Thanks
John
...
How to search not by one, but load a result list as in vs2008? For me working only "Find Next" kind of search. Although "Find Results" window is appear.
...