Hello,
How can I work with JS in Visual Studio 2008? In example if I have only 1 JS file which I want to work with. So what project type should I create in VS to add JS file to it so VS will see how it works? Maybe someone could write a short step-by-step guide how to do so? I would be grateful! :)
...
I have a set of web controls that are in an assembly referenced by a website. I can build and run everything without a problem, however when I look at an aspx page where the controls are being used I get a green underline beneath the Tag Prefix.
<%@ Register Assembly="MyProject.UI.ControlLibrary" Namespace="MyProject.UI.ControlLibrary.W...
I need to change a lot of textboxes to NumericUpDowns and other similar changes on some forms in my multiform c# app. I'd like to keep the name of each control the same as I make the change. There's also code for events associated with some of the controls that I'd like to change as little as possible.
How do I do this without screwin...
I am using managed extensions in VS 2008
I want to print the name of an en enum value
This code used to be fine VS 2003
Enum::GetName(__typeof(COMMAND_CODES),__box(iTmp))
but now I get a comile error
here is my enum
typedef enum { /* Command codes */
UMPC_NULL = 0,
} COMMAND_CODES
Any clues ?
;
...
Hi,
I have developed a visual studio isolated shell application. When deploying that application, I first have to make sure that the redistributables for the isolated shell are installed.
I have the exe containing the redistributables (which can be executed as quite install) and my msi file. Now I need a setup.exe which chains these in...
I have seen this post and followed instructions.
The registry location of HKLM\SOFTWARE\Microsoft\VisualStudio\\Registration has a Username property but when I change it and open VS it still says something else.
Thanks
UPDATE: Anyone?
...
Our one and only enterprise application suite has been developed over last 3 years using C# 2.0 on .Net 3.0. We use winforms and WCF heavily. The development tools is VS 2005 Pro / TFS 2005 / Resharper 3.1
As technical lead I obviously understand the benefits in a move to C#3.0 and .Net 3.5. But I want to convince management for a move ...
I'm developing an SDK, and we have clients that are still coding with VC++ 6, while others use Visual Studio 2005 and others with 2008.
Currently, we build several flavors of our SDK, where we build the exact same source code with each of those compilers. I want to find out if that is really necessary. Is it safe to build our SDK (whic...
My C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.CSharp.targets file is missing from my computer. I closed my IDE, went on lunch, and then when I opened my IDE again, no C# projects would load.
I can see:
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Data.Entity.targets
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.VisualB...
How do I change the comments to look like /* */ instead of // in VS 2008?
...
Hello,
I would like to know if there is a way to keep the session going.
I've got sick of losing my session between rebuilds/builds, if I change too much in my project or submit code to our SVN (tortoise via VisualSVN). I'm developing an ASP.NET MVC project with lots of jQuery.
I would like to do this as I test my project on one scree...
I am using
Visual Studio + Subsonic 3 + Multiple Projects + T4 Templates + "transform all templates" and I have two projects each with their own DB and associated activerecord.tt files etc.
Then I right click each tt file in select run custom tool - all is OK
BUT when I click on "transform all templates" all hell breaks lose with we...
I found a few questions similar to this one here on SO, but none that matched this problem, so here we go.
I've got a DataGridView showing members of a team. All the team members have an assigned role within the team listed in one of the columns. Examples could something like be "Legal Representative", "Account Manager", "Assistant Acco...
Is there a way to specify which namespace "includes" should be automatically added any time you create a new C# file in Visual Studio 2008?
Thanks!
...
The reason I want to sign the dll is because I want to add it to the Global Assembly Cache. The assembly is a css parsing engine written in Java and ported to J#. I use VS2008 so I can't make J# projects. It doesn't have a strong name key assigned to it and I have no idea how to do it now that it's built.
Anyone have any ideas?
...
I have a asp.net web page where i will navigate pages on the click of the "Next" button
Page1 will got to Page 2 and then page 3 and page4
But in a selection of dropdown in page 1 it decides page 2 should go to page 3 or page 4
How can i know where they set this page navigation? if suppose i need to change the navigation order?
...
The Scenario
My project has a post-build phase set up to run a batch file, which reads a text file "version.txt". The batch file uses the information in version.txt to inject the DLL with a version block using this tool.
The version.txt is included in my project to make it easy to modify. It looks a bit like this:
@set #Description="Ta...
I have a method that returns an IEnumerable that I want to be able to test. For the test inputs that I will be using, it will return approximately 10 values.
What is the cleanest way to write a test in this situation?
Update:
Many thanks for the answers so far. Several useful suggestions that I am now going to investigate.
I don't...
Ive tried to create a stylesheet, its looks like this
.MyStyle
{
/* IE6/7/8 - Must be first */
@font-face {
font-family: yourFontName ;
src: url( ~/fonts/Heidelbe-Normal.eot );
}
/* FFx3.5/Safari/Op10 - Next */
@font-face {
font-family: yourFontName ;
src: url( ~/fonts/Heidelbe-Normal.ttf ) fo...
I'm building a C# application that loads a 32-bit COM dll. The compiled application runs fine on 32-bit Windows but barfs on 64 bit Windows because it can't load the 32-bit COM. Is there a way to set a 32-bit build target in VC# 2008 Express Edition?
Alternatively, is there a way to force a .NET application compiled to the AnyCPU build ...