Will Visual Studio choke on customized .csproj files?
For example, I wanted to add a Target to update the version number in all AssemblyInfo.cs files. I plan to invoke this from the command line with MSbuild.
As another example, I would like to include the build timestamp into the compile, like so. This would be a pre-compile step ...
I have created a custom control that is included in a control library that is referenced by a VB Forms application.
When I modify the control, and have the application open in a VS window, VS usually asks me if I want to reload items that have changed.
However, a couple of times, it has not asked me this, and when I go to open the form...
Hi,
I'm looking for a good, fully featured C++ assert macro for VisualStudio. With features like be able to ignore an assert once or always, to be able to break exactly where the macro gets called (and not inside macro code), and getting a stack trace.
Before I have to hunker down and write one, I figured I'd ask if anyone knows about ...
The subject says it all. Is there an easy way to toggle the editability of a buffer in Visual Studio? This would be similar to the toggle-read-only command in Emacs.
I am not looking to change the file attribute ... just whether I can edit the file while it is open in Visual Studio. I am using 2008 and 2005.
Why would I want to do th...
Microsoft originally slated the final release build for April 12, 2010. Somasegar said the Visual Studio 2010 and .NET Framework 4 releases will now be pushed back "a few weeks."
I know the version / product name says "2010", but that doesn't necessarily mean that it will RTM in 2010. After all VS'2008 RTM'd in November 2007.
The las...
I am getting a CA1305 Warning.
Microsoft.Globalization : Because the
behavior of 'int.Parse(string)' could vary based on the
current user's locale settings,
replace this call in
'_Default.CalculateImageButton_Click(object,
ImageClickEventArgs)' with a call to
'int.Parse(string,
IFormatProvider)'. If the result of
'int...
Is there a plug-in (or built-in feature) for Visual Studio 2008 to be able to do a quick in-line find in your code?
I am unhappy with the find feature (Ctrl+F). I don't like how it pops up in its own window. I think it would be much better if it was more like the Firefox find. (Try Ctrl+F in Firefox). I like how you start typing and it ...
OK, here's a good one (I think) - I'm working on an application with lots (far too many) dependency dlls, created by a team of developers. I'm trying to debug just one assembly, but the console output is 'polluted' by the Console.WriteLines and Debug.WriteLines left scattered around by my colleagues.
Is there anyway I can work out exact...
How do I fix this error in Visual Studio?
"The project file cannot be loaded. The application for project ... is not installed"
I have copied a whole project onto my PC, both into My Documents/Visual Studio and into inetpub/wwwroot, but when I try to open the project in Visual Studio, it tries to open just 1 file .vssproj and gives me ...
Some Duplicates:
1.265 * 10000 = 126499.99999999999 ?????
How is floating point stored? When does it matter?
Strange floating-point behaviour in a Java program
Why do I see a double variable initialized to some value like 21.4 as 21.399999618530273?
Error in Flash addition
I divide 23 by 40 (23/40). In C this operation res...
Hi
I hav prepare a com component using c#. I have created a vc++ console application.in that consoloe application by consuming the com component i have build a .exe file called SQLDiscovery.exe
this exe is working well in win2k3 machines fine. and i copied the sqldiscovery.exe to win2k8 machine and i have registerd the dll also. annd ...
When building my setup project I get the following error :
An error occurred while validating. HRESULT = '80004005'
Anyone know about this issue?
...
I know I can start a process in code with Process.Start().
Is it also possible to attach the debugger to that process?
Not from code per se , but just a way to do it?
...
I am using C# to authenticate users to my app as follows:
LdapConnection connection = null;
try
{
using (connection = new LdapConnection(Configuration.JonahLdapServer))
{
connection.Credential = new NetworkCredential(userName, password, Configuration.JonahDomain);
...
I am setting up a .net project that is called to generate other webpages. Basically a true CODE BEHIND page. How do I go about making a connection on a Class Library File, when there is no webconfig file present/available?
...
<rant>
In development, the biggest time sink seems to be Visual Studio. Solving issues with it eats up half of my development time and I'm left implementing with half the alloted time!
</rant>
Back to the question. I've got a couple of custom controls developed in ASP.NET: RaiseEventControl, HandlerControl. They reside on a Parent For...
I have several C free software/open source libraries that I develop on Linux and OSX with the GNU toolchain (automake, conf, flex, bison, gcc, ...) but I occasionally get requests to provide Windows DLLs. I'd like to be able to provide those without having to spend a lot of time and money with Windows Visual Studio development. I do ha...
Basically, what I want to achieve, is to be able to have 2 separate solutions containing the same set of projects, but 1st solution needs to be bound to source control, 2nd - not.
So whenever you want source control integration in Visual Studio, you can open 1st solution, but if you don’t want it, you can open the 2nd one.
The problem...
I've read that you cannot use a BuildProvider with Web Applications in Visual Studio (or more specifically, you can use it, but your code isn't part of the project)
Are there any other ways to generate code on the fly using a Web Application project?
With or without using third-party tools?
...
In the "old days" I was working with Linux to create C/C++ programs (really really BASIC...HA!...programs, just learning to program in the courses as an intro) by creating a text file with the source code that was then fed to the compiler/linker that then spit out the executable binary.
Everything was in a text file or series of text fi...