I have a Visual Studio 2008 solution that contains around 30 projects. Some of these are web services / WCF services / ASP.NET MVC applications.
When I run all unit tests (Ctr+R, A) it insists on spinning up all the Development Servers for these various projects. This means that it takes far too long to run the tests and, actually, none...
So the consensus is that reducing the number of projects in a Visual Studio solution can greatly decrease compilation time, which is clearly a good thing.
We've done this with a big solution, but are running into hygiene issues where the IDE will allow circular dependencies between different logical layers of code because these layers a...
I'm using TFS and C# and I want to programmatically get a list of files that have changed between 2 different folders.
I want to be able to enter the path & label, just like the Compare option in the Source Control Explorer in Visaul Studio.
thanks,
John.
...
Let's say a single solution (.sln) has 2 (.vcproj) named Proj1 and Proj2. By default, Visual Studio assigned Proj1 to be my startup project.
I set Proj2 to be my desired startup project.
Then I commit everything to my repository (excluding .suo).
I re-check out, and Proj1 is still the default startup project.
Does this mean Visual ...
I am getting the following error when using Windows 7. I started seeing this error after installing VS 2010 Beta 2.
...
IntelliJ is great for Javascript refactoring/expand/collapse/error reporting.
Currently have Visual Studio 2008 SP1, ReSharper 4.5.
Neither does what IntelliJ does [e.g. pointing out that a line is missing ';' at the end]
Can VS w/ReSharper do that? Is there a specific setting?
EDIT: I understand they are for different environments ...
I have an NUnit test assembly (a .NET DLL). When I click Run in Visual Studio I want it to launch NUnit and run the tests in this assembly. I can do all of that.
Instead of specifying the full assembly name and path in the command line arguments, does Visual Studio support some sort of macro that expands into that for the Command Line...
I'm reading this article on the Boost Unit Testing Framework.
However I'm having a bit of trouble with the first example, my guess is that they left something out (something that would be obvious to hardcore C++ coders) as IBM often does in their articles. Another possibility is that my Visual Studio 2005 C++ compiler is just too old f...
I am getting dialog box "Property value is not valid" when the Control is in Design Mode (Visual Studio 2008) and I try to change the Property's Value.
Here is the property in question:
<Description("Gets/Sets the visibillity of the SaveButton of Control")> _
Property ShowSaveButton() As Boolean
Get
Return _SaveVisible
...
Well, I've recently installed VS2010 and I'm having a problem with simple C++ applications compilation.
If I create a project that's named WW and I compile it and everything works fine, then If I opened an old project, and try to compile it, VS will compile WW!
Other times, I try to debug the application and it refueses to do so. The gr...
I've got a T4 template (also using the T4Toolbox) that scans a folder for files, then processes them and kicks out .cs files. When the processing from the template is done, I want to format them with VS. I've got this far:
IServiceProvider hostServiceProvider = (IServiceProvider)Host;
EnvDTE.DTE dte = (EnvDTE.DTE)hostServiceProvider.Get...
I have a WCF service. now, I need to create a client that consumes my service. when I try to add a service reference from Visual Studio, this is what I get an error message :
"Could not load type 'System.Data.Design.TypedDataSetSchemaImporterExtensionFS35'
from assembly 'System.Design,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f...
This is one of those things that is so simple that no one ever just comes out and says it in any of the tutorials I've read.
I've been creating a few stand alone .NET applications as well as a few DLL based plug-ins for other programs. I've noticed that a project in Visual Studio, at least with Windows applications and class libraries,...
I'm currently trying to use the latest stable fmod ex in my project.
I have a main executable in a project called engine4, and a project named DX9Platform in the solution as well which ti depends on. All the fmod code is in this DX9Platform project, which generates a lib file.
DX9Platform includes fmodex_vc.lib and builds fine. However...
I have a project that suffers from a Visual Studio bug shown here
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=356321
It means that I can't build the installer project on my windows 7 machine
(the workaround presented doesn't work for me, regcap.exe crahses when I try to run it)
Now I plan to build t...
I have a Black theme for the visual studio editor and it was ok until I've installed resharper. After this my TODO and Note text got really impossible to read, anybody knows a fix for that ?
...
Hi Guys
Currently i am doing one project in that we need to generate report from database.
Since my server memory is too low im getting 'Out of Memory' Exception when im writing it at serverside and also when i write directly to a excel file using http header as excel file im not able to create multiple sheets since my database table i...
I'm working on a DSL tool, and for this tool, there exists a custom code generation tool that creates output files. Currently, this tool is registered with C# using a RegistrationAttribute on the DslPackage with the following code:
class FileGenerationRegistrationAttribute : RegistrationAttribute
{
private const string CSharpGenerat...
Hi,
I was reading up on Amazon's ec2. And I think that apart from the usual uses: hosting stuff, servers, etc, it could also be used for hosting your development environment.
Benefits:
Being able to log on from any computer and start developing
Works even on the weakest of atom notebooks.
Easy options like making snapshots and clones...
it something like this method(a,b); and you hit some hotkey and you get method(b,a);
is there such thing ?
...