Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6796223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:26:29+00:00 2026-05-26T18:26:29+00:00

I’m using a SQL Server 2008 Database Project, and I’m finding it’s very cumbersome

  • 0

I’m using a SQL Server 2008 Database Project, and I’m finding it’s very cumbersome to add certain items. For example, if I right click on Tables => Keys and navigate to the Add item, I’d expect to see the different kinds of keys that I can add. Instead, I see the stock items that don’t apply, and I’m forced to navigate the Add New Item screen to find Primary Key.

Is there a way to make this more efficient? I have Resharper; can I leverage templates somehow (kind of a noob with these). Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:26:30+00:00Added an answer on May 26, 2026 at 6:26 pm

    Here’s a suggestion:

    1. Create a database item template. Store it in the Database Project Items subfolder of the VS folder in Program Files.

    2. Create a macro that creates an item from that template. You can start by recording yourself adding an item, and modify the resulting macro.

    3. Using the Tools/Customize menu, Toolbars tab, click the checkbox by the Context menu option in the left-hand list box. This will make the context menus appear in the menu bar. Locate the one you want. From what you’ve said this will probably be Other Context Menus/DB Project Folder.

    4. Still on the Tools/Customize menu, switch to the Commands tab. Click on the Macros entry in the left-hand list box. Your macro should appear somewhere in that listbox.

    5. Drag the entry for your macro onto the Context Menu drop-down menus that now appear in your menu bar. They will open up as you hover. Drop the entry onto the menu you want to enhance.

    6. You will probably want to change the name of your new menu option. You can do this by going back to that menu from the Context Menus toolbar, until you reach your new menu option. Right click on it and you will be able to rename it or assign it an icon.

    Close the Tools/Customize menu. You will now have a new menu option on your context menu!

    Now, the macro you recorded? You’ll probably have to fiddle with it A LOT to get it to work properly from its new context. Macro programming (and VS extensibility) is like that.

    If you want to make your menus context-sensitive, so that certain content only appears when certain conditions are true (like the folder you’re clicking on being named “Tables”) you will probably need to write an add-in. This can be both fun and a time sink, but in the end you’ll know a lot more about how VS works and have your menus behaving exactly as you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
this is what i have right now Drawing an RSS feed into the php,
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm making a simple page using Google Maps API 3. My first. One marker
We're building an app, our first using Rails 3, and we're having to build
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We are using XSLT to translate a RIXML file to XML. Our RIXML contains

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.