visual-studio

Importing a MDF file into SQL Server 2008?

I have inherited a VB.net web app that I'm making some changes on. I'm perfectly capable with the programming side (VB and MSSQL) but I'm getting lost with the tools. I was given a zip file of the code and everything. I opened the sln file in Visual Studio 2005 and it worked fairly easily with little modification. Running the app works ...

Visual Web Developer - jQuery Intellisense not showing

Hi, I'm trying to follow this tutorial - http://www.dotnetcurry.com/ShowArticle.aspx?ID=231&AspxAutoDetectCookieSupport=1 I have both the vsdoc file and the main jQuery script files in the same folder, and when I include the jquery file, I get no intellisense when I start typing $(, but I do get intellisense when I include the jque...

how to make MSVC6 stop beeping when a build is complete

My company uses MSVC6 for all development. I've recently been involved in a project to upgrade to VS2008, so I haven't touched the older compiler in several weeks. This morning, I updated the old compiler's SVN checkout and ran a build, and suddenly every time it finishes building a project, it beeps the PC speaker. This is rather ann...

Web Application project versus Web Site Project in Visual Studio

Possible Duplicates: website or webapplication in.ASP.NET web application projects v.s. web site projects What are the differences? I can right click on a solution and say Add New Website... or Add New Project... > Web > ASP.NET Web Application Is one preferred over the other in terms of best practices or extensibility/p...

How can I use custom methods inside a T4 template which resides in another assembly

I have a dll called utilities which contains some helper methods and I want to use one of the helper methods inside a T4 template like <#=tbl.ClassName.ToProper()#> ...

Difference between Rebuild and Clean + Build in Visual Studio 2008

What is the difference between just a Rebuild and doing a Clean + Build in Visual Studio 2008? Is Clean + Build different then doing Clean + Rebuild? ...

From VB6 to VS 2008 (C# or VB)

I've been developing solely for the web for more than 6/7 years now, and before that I developed for about a year on Visual Basic 6 (I was pretty comfortable with it at the time) and for one or two months on C# (I forgot most of what I had learn though). The thing is I've some ideas for some small desktop applications, I thought of deve...

Differences between Visual Studio Modes (General, Web Dev, C#)?

Hello, what exactly are the differences between the different Visual Studio install modes (General, Web Development, C#)? This is also confusing because I do Web Development in C#. Which one should I use? ...

How do i implement intellisense for my language in visual studio?

I mention that i am designing a language. The plan was always to not implement it but to design it but i am considering implementing it if i think i could do it in a reasonable amount of time. How would i have my language use intellisense in visual studios? BooLangStudio has it http://www.codinginstinct.com/2008/05/boo-in-visual-studio....

Visual Studio: Collapse Methods, but not Comments (Summary etc.)

Hello, is there a way (settings? "macro"? extension?) that I can simply toggle outlining so that only the using section and my methods collapse to their signature line, but my comments (summary and double slash comments) and classes stay expanded? Examples: 1) Uncollapsed using System; using MachineGun; namespace Animals { //...

Publish error again

Hi, I recently repaired VS2005 after getting a publish error. Now i get this error. Any ideas?? Error 2 SignTool reported an error 'Failed to sign bin\Release\TBRHelp.publish\setup.exe. SignTool Error: ISignedCode::Sign returned error: 0x80880253 The signer's certificate is not valid for signing. SignTool Error: An error occurred...

Signing clickonce applications in VS2005

Hi, I have a winforms ap in VS2005 that I want to publish to a server. The application is set to run online. I am having issues with non trusted certficates. Because the error i get when I try to run the app from a client is "Application validation did not succeed. This server has a certifcate that I used for the SSL for the website...

Howto resolve... Visual Studio Source Control notification "Projects have recently been added to this solution"

After some use Visual Studio 2008 when opening a solution that is checked into Visual Studio Team Foundation will pop up a dialog saying: Projects have recently been added to this solution. Do you want to get them from source control? This happens every time the solution is loaded (even if no projects have been added). The only w...

VS 2008 how to select current file in editor into solution explorer

It is very time consuming to select file into solution explorer that i am editing. How can i make vs 2008 auto select editor file into solution explorer. I had it working some point in time back but not sure what needs to change to do that ...

AnkhSVN vs VisualSVN

We're thinking of switching to SVN at my work, so I was wondering about SVN plugins for VS2008 (and 2010 when it comes out). After a bit of research I found AnkhSVN and VisualSVN, the 2 that seemed most dominant. (I am aware of TortoiseSVN and will use the plugin in conjunction with it). I am aware that this has been asked before, but t...

Missing ADO.NET Entity Data Model

When I'm in Visual Studio 2008 with an ASP.NET MVC project running, I can't seem to add an ADO.NET Entity Data Model to my project, it doesn't show up in the list of available things to add under the "Data" category. I've made sure I'm running VS2008 SP1 and have .NET 3.5 SP1 installed. Am I missing anything? Other thoughts? Thanks s...

Strange! VS 2005 -Break Point is not being hit

I am using Visual Studio 2005.I am running my code in Debug mode only.But my break point is not being hit. I followed : Cleared my solution and created the one again Closed the VS and Opened it again Restarted my PC and tested the break point But i am unable to figure out the problem. My Question is: Is it due...

How to set the IIS File Security to Integrated Windows authentication with a Web Setup Project installer?

I wrote an ASP.NET web application with an installer. For the installer, I'm using the Web Setup Project under the Setup and Deployment project types in Visual Studio 2008. How do I set the IIS File Security to Integrated Windows Authentication on only one .aspx page or directory during the installation process using a Web Setup Proj...

Is it possible to develop ".NET framework 4.0" [beta] apps with Visual Studio 2008?

Is it possible to develop .net 4.0 [beta] apps with Visual Studio 2008? I tried Visual Studio 2010 few days after ms released it, and managed to crash it few times in one hour :( and wouldn't use it anymore if it's not more stable now => have MS released any bugfixes? ...

Visual Studio 2008 Class Diagram designer

Hi all, I'm using VS class diagram designer. How can I get the blue lines as that in the following image? Thanks! ...