Hi,
I have a question concerning the class generation in Visual Studio 2008.
I use a web service which is added using Add Web Reference. It works great and all the classes seem to have been generated successfully. When I try to generate a class diagram using View Class Diagram for the project which uses the web service, I get:
Some...
Hi,
When I generate class diagram in Visual Studio 2008 using View Class Diagram I always get a bunch of class boxes without methods. The only lines in the diagram are inheritance.
Is it possible, and if so how do I get associations (aggregation and composition might not be possible, but at least an association line indicating they are...
So if I have website project Foo which has a reference to class library project Bar, how do I remove that reference?
Thanks
David
...
Hello, How can I set/change the version number of my builds in my windows mobile 6.1 professional application? I create a cab file, and I want to understnad the differnce between builds.
...
There are a bunch of hardcoded strings in a ASP.NET application.
eg. string constSetting = "XYZ";
There are a LOT of them. Is there a tool/plugin for Visual Studio 2008 to refactor it in such a way that the constant string goes into web.config and the above line gets replaced by the retrieved string from web.config app settings?
...
In MSVC several operations (such as Menu: Build: Build ) are context sensitive to the currently selected Solution Project. However, that Project often changes if you've been navigating Solution Explorer.
I'd like to write a macro that find the project specified as the "startup project", and the selects it to make it active. I haven't f...
Does anyone use Visual Studio to do WordPress development? If so, how do you do it?
...
I want to write a console application in Visual Studio 2008 that inputs a 3.5 GB array (file), and just adds one to each element of the array.
I have it configured for release and x64. I set up a project using the CLR console application project type. I running on Vista and have 8 GB of memory.
When I run the program, it is giving me ...
Hi all,
I want to create folder inside my document library based on other document library in the root. And I want to run this workflow on new document library creation.
So let say I have 4 document library:
Help
News
Doc
Archive
I want to create folder inside "Archive" Document library when New document library is created.
Help...
I remember reading once that there was a way to embed an image into a code file (e.g. a screenshot or diagram) in Visual Studio, but now I can't find any reference to that feature.
Is this possible to do, or am I imagining things?
EDIT: I don't mean embed the image in the executable, for use at runtime. I mean link or embed it literal...
I have a C# project that compiles normally. When I run the project via Visual Studio's IDE it runs fine and ends cleanly. However when I navigate to the project directory and attempt to run the program by double clicking the "exe" file or referencing it via the run window it errors out.
I have narrowed the problem down to
Console.Wri...
I realize there is likely a simple method to do this but how does one create a desktop shortcut to the executable deployed by an MSI built using a Visual Studio Deployment project?
I imagine I need to use the Filesystem editor but when I create shortcut on the user's desktop I can't target the executable. I can only specify the target a...
Hello Everybody
It is really so relaxing to use dark or blue background for editor so i interested in Visual Studio color themes.
I found alot of them which was looking nice at first sight but i realized all of them has ugly problems when i use them. Color settings wasn't tuned well in all scenario so there were a lot of time that i ca...
I ran into this very basic problem and saw so much bad advice on the web that I wanted to share the solution. This happens if you create a web service in Visual Studio and then rename the class and the .cs file, but do not update the .ASMX file to point to the new codebehind. So, click "View Markup" on the corresponding .ASMX file and ma...
Hi
I have a schema file in a asp.net mvc 2.0 application that is a .net 4.0
I am using visual studios 2010 ultimate and I am using their publish button.
When I publish my solution the folder that contains my xml schema gets excluded. I don't know why it's doing this but I don't want this to happen. Is there a setting I can set?
...
Hi, I have Visual Studio 2008 and 2010 installed side by side, but trying to open either a 2008 or 2010 sln file results in nothing. The hour glass comes on for about a second and then it goes away and nothing is opened.
I read somewhere to relate sln file to VS directly, but I can't go that route because I don't want 2008 solutions to ...
Hi
I don't understand how to use this feature called "Build deployment package" in VS 2010. I go to my properties and go to package/publish web and setup it up. I click "Create deployment package as zip"
I then build the deployment package and get a zip file.
When I look into and start drilling down in the folders I find I get a path ...
Since virturl directory name is not fixed, I wrote code below to include .css file in .aspx page now.
<link rel="Stylesheet" href="<%= ResolveUrl("~/Css/xxx.css") %>" type="text/css" />
The question is, when I use "ResolveUrl" in tag, IDE is always barking about that all CSS classes is undefined.
Is there any better way to define .c...
Hello,
I am working on an application, which will ultimately be distributed to end users.
My IDE is VS 2010. My application does not use any of the features of the 4.0 framework. Should I then target a lower version of the .NET framework like 2.0 which users in general will more likely to have already installed than the 4.0 framework ?
...
I have created a C project in Visual Studio 2005.
Whenever I am using any Windows API(CreateFile,CreateProcess,RegOpenKeyEx,etc),they are not working fine,means resulting in error return value.I am not getting any compile error.
Are they related to project settings,etc
...