I wrote a simple application that takes a project path, finds the assembly and file versions and updates them. It works as expected, but when I set it up as a pre-build event command-line like this:
$(SolutionDir)AdvanceBuildnumber\bin\Debug\AdvanceBuildnumber.exe $(ProjectDir)
and then do a build, the compiled application has the pri...
I'm wondering what other tools / frameworks / Add Ons people use to improve their productivity / development speed when coding in ASP.NET.
I just use VS2008 on its own but wanted to find out what other people use with VS2008 AND WHY??
...
I have made a tiny application that responds to changes to files in a folder. But when I edit the file in Visual Studio 2008, it never detects anything. If I edit the file in Notepad instead, everything works as expected.
Surely Visual Studio saves the file at some point, but the watcher does not even trigger when I close the studio. Do...
I have an assembly that is deployed to SQL server that references System.Drawing. Don't ask why, it's a third-party library. This requires System.Drawing to be in the same directory as the library when I call CREATE ASSEMBLY. I have added System.Drawing as a 'Content' file to my project, with 'Copy always' to output directory, yet it ...
Does anyone know how to convert a .sql (scripts file) VS2008 to an embedded resource at runtime to be used in the Customs actions editor for install of database.
...
Good morning, all. This is my first question on stackoverflow, so hopefully this isn't something that's been beaten to death and I haven't been able to find it.
I'm developing an application that is going to be distributed shrinkwrapped. We have gotten the rights to distribute SQL Server 2008 Express Edition with our application, but ex...
I'm using VS2008, been using it for quite some time now, and since I hate using the mouse while developing, I'm always using F6 to build the solution, or Shift+F6 to build the current project. What's weird though is for some strange reason, it simply stopped working over the last few days. In fact, when I pull down the Build menu, next t...
Is it possible to import an XML DTD into Visual Studio in order to generate a proxy class?
I have a third party .dll that I need to interface with that is designed like an XML service. The interface into the .dll is all driven by XML inputs, and returns output as XML. The nice thing about it is that all the input and output types are we...
Hi,
We have 15 projects in our development environment. Some are test projects, most are libraries, some are 'final' executables that can actually run, and some are setup projects.
Most of the time, I only want to build those 'final' executables and their respective libraries, and let the setup project only be run when we're making ...
As I'm sure most of y'all are, I'm tired of having to press the SHIFT key every time I write a function call in C#, or for that matter any language.
So, is their any way to cause the "[" key on my keyboard to type a "(" on the screen, and also cause the "]" key to cause a ")" to be typed on the screen?
...
Hi,
My issue is copying *.cs files to my project using my own code generator program (like hibernate)
So when my code generator program creates new .cs class I want it to be copied to project path and see it via VS2008 solution explorer.
(Note: Normally you can copy files to project folder but VS2008 doesn't see it since you didn't use...
After installing SP1 for Visual Studio 2008, various fields are frozen e.g. in Find & Replace dialog I can't type anything, or in Tools->External Tools all fields(texboxes) are frozen, can't type anything. Same with ReSharper, can't type anyting into any of its dialogs...
Do you know any workaround? If I restart visual studio it someti...
Writing some xml documentation for a predicate helper class. But I can't figure out I can refer to an Expression<Func<T, bool>> without getting a syntax error. Is it even possible? I have tried this:
<see cref="Expression{Func{T, bool}}"/>
But I get a red squiggly line under {T, bool}}. This works though:
<see cref="Expression{TDeleg...
I'm trying to write a build file to build a simple C# solution but it is failing with the error: Unknown task or datatype.
My solution is written in VS2008 but targeted at .Net 2.0 (I'm using Vista if that helps).
I've already seen the other question running-builds-using-net-3-5-msbuild-and-nantcontrib and have tried the suggested solu...
Duplicate: http://stackoverflow.com/questions/577132/why-are-c-collection-properties-not-flagged-as-obsolete-when-calling-properties
I just migrated a .NET 1.1 project to .NET 2.0 using Visual Studio 2008. I know that there are references to obsolete methods in the project.
But Visual Studio does not show "obsolete"-warnings after buil...
I'm trying to dig into the XML for a VBPROJ file. Does anyone know where I can find a good resource that explains the structure and attribute usage?
...
I have three web application projects that share a common library of custom server controls. Sharing the code behind files is easy - they are compiled into a dll that i reference in the other projects using a project reference. But how do I handle files like JavaScript, style sheets and images? I am trying to do this "the Visual Studio w...
I've got a code like this:
public abstract class Base
{
// is going to be used in deriving classes
// let's assume foo is threadsafe
protected static readonly Foo StaticFoo = new Foo();
}
Visual Studio 2008's Code Analysis pops up this message:
CA2104 : Microsoft.Security : Remove the read-only designation from 'Base.S...
Can I use the built in WPF splash screen functionality in a WinForms project compiled under .NET 3.5 SP1 VS2008?
...
Hi all,
Currently I have a test class called TestClass.cs in C:\Projects\TestProject\TestClass.cs
I also have an Xml file in C:\Projects\TestProject\config\config.xml
In TestClass.cs, I have a test method to load the Xml from the filesystem like so:
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(Path.Combine(Assembly.GetExecuting...