What directory/solution/project structure do you find to be the most manageable and convenient for medium to large projects written in C#? By "medium to large" I mean projects which include a diverse set of Visual Studio C# project types in a hierarchical structure with nested namespaces.1
I'm primarily interested in those project types...
I'm a bit in IDE trouble, and I'm not alone I have noticed, still I haven't found an answer on many of my questions.
I would very much stop using different editors and become very good at one (on windows), adhering the pragmatic adage : "Learn one editor (ide) well". I' m willing to put in a lot of effort, to gain on the long term. ...
In Visual Studio 2008, I've exported my settings to a .vssettings file. I have a .vsi file that includes a .vscontent file. In the .vscontent I've included a macro project like this:
...
<Content>
<FileName>MyMacros.vsmacros</FileName>
<DisplayName>MyMacros</DisplayName>
<Description>MyMacros to aid development</Descriptio...
Hi
I would like to try out a code in Microsoft Visual C# Express Edition and I'm getting this error:
The type or namespace name 'Properties' does not exist in the namespace 'EducationalSuite.Core' (are you missing an assembly reference?)
I right click the Reference but I didn't find the "Properties" either the "EducationalSuite.Core"....
Hello everyone,
I am using VSTS 2008. I have two projects (both are written in C#) in one solution file. Project 1 depends on the output (DLL2) of project 2. So, in project 1, I am using "References --> Add Reference --> Browse", then find and select the DLL2 generated by project 2.
My question is, I am not sure whether using such meth...
Hi all,
I have asp.net project in Visual Studio running in Windows Vista with UAC activated in standar user (not elevated).
When I try to run my asp.net project inside Visual Studio Web Server, the process hang and start using so much CPU. If i run Visual Studio elevated It's works perfectly.
Here is what the process is doing. It's ...
I reference jQuery in my application via: http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js.
This generates an error with vs.net: "Error updating JScript IntelliSense: c:...jquery.min-fds90[1]..js: Object doesn't support this property or method @18:9345.
Other than putting a local copy of the javascript file on my dev box...
I'm not sure if this question is appropriate for SO, but I'm sure a few people here have been through it:
I'm trying to follow the MVC tutorials on the ASP.NET website and there's a point at which it has you add an ADO.NET entity to the project, but for some reason, it doesn't appear on the dialog for adding a new item. I've got SP1 for...
Hi,
I am looking for a method to monitor a running program that I have the source code. Basically, when the user runs it, I need to know what functions and parameter is called sequentially.
I can write a trace output code to all functions to achieve this. However, I am not allowed to modify the source code.
I found out that Tracepoi...
Because I'm working on Creating RIA Framework with Silverlight & C#. So I need to use rich features of Silverlight such as dynamic loading. But I found that Visual Studio will merge all class library(same namespace or difference namespace) into one dll.
Do you have any idea to build 2 or more dlls from C# project? I just create 1 projec...
I have turned on warnings as errors and now i need to XML comment all of my public methods.
just to get my program compiling, i just want to put placeholders for now.
Is there anyway to automatically add XML comments to all of the public members in a class or a file.
I see ghost doc which gives you good autogenerated XML comments but...
I just create a Solution that contains 3 projects.
Order by build order
Silverlight Application that is included in /ClientBin of ASP.NET Web Application project
Windows Form Application that is used to optimize all xap in /ClientBin when Visual Studio pass build (post-build event).
ASP.NET Web Application that display Silverlight app...
Hello everyone,
I heard we could use placefile/binplace in VSTS to do task of copying existing file (already built) to other build repository location. But after quite some time search in both Google and MSDN library, I did not find any specific help for beginner.
Any recommended readings for a beginner for this topic?
thanks in advan...
I've been trying to look through some projects on CodePlex to try to get a feel for how others design their applications. I've run into some trouble trying to open these projects in C# 2008 Express. When I open either the solution or csproj files, I'm confronted with this error message:
'Foo.csproj' cannot be opened because its proje...
I'm using visual studio to program this small TcpServer.
It's really specific. The server listens to port 1234 and is located on IP 127.0.0.1
Our teachers gave us a program that tries to connect to that port on that IP when you click "connect". It's working for everyone else, so it must be a coding error on my part.
When I click connec...
Hello everyone,
We could use msbuild to build project from command line. My question is about -p option. This option is used to specify property key/value pairs. My question is, besides the key/value pair assigned by -p option from command line, any other already existing defined options? If there are such existing defined options, wher...
Can a Visual Studio 2008 custom tool be passed additional parameters from the custom tool property grid in VS?
...
The immediate window is an immensely useful tool for debugging applications. You can use it to execute code statements that are valid in the context of your break point and inspect values. I also use it to type code snippets to learn language features.
How do you use the immediate window?
...
I have a solution that has a plain old asp.net website and a winforms app.
I have the winforms app set as my startup application.
When I press (CTRL+)F5, it just runs the app without building. So, my changes aren't built into the program.
What should I do to fix this?
EDIT
I don't want to have to go to the build menu and then debug....
I was at a class recently, and the instructor started a new Visual Studio 2008 project using a "COM project" template. Now that I'm back, I tried finding that template in my installation of VS2008 with no luck. Does anybody know where I can find that template, or failing that, what it might be doing to achieve its effect?
...