Microsoft Developer Network >
Página principal de foros
>
Visual Studio Extensibility
>
i do not have the option to export from the file menu in order to create templates in vs.net 2005
i do not have the option to export from the file menu in order to create templates in vs.net 2005
- what do i do? i am trying to create templates. I have created a class library project that contains several items that i would like to make into templates.
however - when i go to the file menu there is no export menu item available - any ideas? i searched all options and tried different project types but it didnt work.
i am running vs.net 2005 architect edition - i also tried it in developer edition
Respuestas
Hi,
Sorry. Maybe I misunderstood you. Do you mean Export Template is not visible under File? If so, you can refer to following steps to let it show in the tab.- Right click on the menu bar and click the last option :"Customize..."
- Switch to the Commands Tab
- Click the "Rearrange Commands..." button
- Make sure the "Menu Bar" drop down is set to File and click the "Add" button
- Set "Categories" to "File" and "Commands" tp "Export Template...", click OK
- Move the "Export Template..." item up or down in the menu
- Click close on both open dialogs.
If I misunderstood you, or you have any questions, please let me know.
Best Regards,
Nancy
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marcado como respuestaNancy ShaoMSFT, Moderadorlunes, 06 de julio de 2009 2:09
- Danny,
I don't think dragging the Export Template option to you file menu will work for you and I don't think you have to go thru all the trouble of repairing Visual Studio and running in Safe Mode and all that. Here is why:
The Export Template option missing from the file menu is a known bug that has been around since 2006, according to what I found out when I ran into the same problem last week. It occurs when you install the SQL Server Management Studio on the same machine that you are running Visual Studio on. It happens in Visual Studio 2005 and 2008 and has to do with your Visual Studio settings. What you need to do is this:
Go to the Tools menu and click Import and Export Settings. Select Reset All Settings, click next. Select Yes, save my current settings and browse to a location where you want your settings saved and click next again. You will be shown a list of Settings you can reset. I tried General Development Settings first and that worked for me, but I can't promise that it will work for you, so you may have to try other settings from that list too. (The Microsoft web page I found said to reset to "non-SQL development settings" but I don't know what that means and found nothing that looked like the correct one, so I just picked something.) Once you selected a setting, click Finish.
Now when you go to the file menu the Export Template option will show but it will only be accessible if you have a solution open and either a project or a file name selected in the solution explorer.
DO NOT import your settings unless you are prepared to do without the Export Template option again. I tried that, but as soon as I restored my settings using the file I had created during the Export Settings process, the Export Template option disappeared again and I had to start from scratch. I was able to restore some of my settings though without loosing the option but I don't know exactly what you can change without problems and which settings will cause problems, so you may have to play around with that. I reset my tab settings and thats about it.
I found this solution on connect.Microsoft.com after a lot of searching. You can read about it here:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=114082&wa=wsignin1.0
If you figure out what what the author means by "non-SQL development settings", please let me know.
I hope this helps.
URW- Marcado como respuestaNancy ShaoMSFT, Moderadorlunes, 06 de julio de 2009 2:09
Todas las respuestas
- Hi,
When you create a Class Library project with C# language or VB language, you can find the Export Template available under File menu. But if you create your project with VC++ language, File/Export Template does not work for VC++ projects, which is by design. For more information, you can see:
File / Export Template... doesn't work for C++ projects/items
There is another way creating custom project templates with different mechanism in Visual C++, we can extend Wizard to achieve this objective. For detailed, please refer to MSDN article:
Inside Visual C++ Wizards
If I misunderstood you, or you have any problems, please let me know.
Best Regards,
Nancy
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. - There is no option under the file menu for export. I am doing this in C#. I wound up doing this manually. However, would like to know why the Export menu does not appear on the File menu in VS.NET. I have tried on architect edition and developer edition - both do not have it. On my old machine I have it but on my latest machines its no longer available.
- Hi,
I guess there is something wrong with your Visual Studio IDE, I would like to suggest you try to start your Visual Studio in safe mode. If it works fine, this issue is more related to Add-In in Visual Studio. But if it also do not work, please try to repair your Visual Studio.
Please let me know if it works.
Thanks,
Nancy
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. Hi,
Sorry. Maybe I misunderstood you. Do you mean Export Template is not visible under File? If so, you can refer to following steps to let it show in the tab.- Right click on the menu bar and click the last option :"Customize..."
- Switch to the Commands Tab
- Click the "Rearrange Commands..." button
- Make sure the "Menu Bar" drop down is set to File and click the "Add" button
- Set "Categories" to "File" and "Commands" tp "Export Template...", click OK
- Move the "Export Template..." item up or down in the menu
- Click close on both open dialogs.
If I misunderstood you, or you have any questions, please let me know.
Best Regards,
Nancy
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marcado como respuestaNancy ShaoMSFT, Moderadorlunes, 06 de julio de 2009 2:09
- Danny,
I don't think dragging the Export Template option to you file menu will work for you and I don't think you have to go thru all the trouble of repairing Visual Studio and running in Safe Mode and all that. Here is why:
The Export Template option missing from the file menu is a known bug that has been around since 2006, according to what I found out when I ran into the same problem last week. It occurs when you install the SQL Server Management Studio on the same machine that you are running Visual Studio on. It happens in Visual Studio 2005 and 2008 and has to do with your Visual Studio settings. What you need to do is this:
Go to the Tools menu and click Import and Export Settings. Select Reset All Settings, click next. Select Yes, save my current settings and browse to a location where you want your settings saved and click next again. You will be shown a list of Settings you can reset. I tried General Development Settings first and that worked for me, but I can't promise that it will work for you, so you may have to try other settings from that list too. (The Microsoft web page I found said to reset to "non-SQL development settings" but I don't know what that means and found nothing that looked like the correct one, so I just picked something.) Once you selected a setting, click Finish.
Now when you go to the file menu the Export Template option will show but it will only be accessible if you have a solution open and either a project or a file name selected in the solution explorer.
DO NOT import your settings unless you are prepared to do without the Export Template option again. I tried that, but as soon as I restored my settings using the file I had created during the Export Settings process, the Export Template option disappeared again and I had to start from scratch. I was able to restore some of my settings though without loosing the option but I don't know exactly what you can change without problems and which settings will cause problems, so you may have to play around with that. I reset my tab settings and thats about it.
I found this solution on connect.Microsoft.com after a lot of searching. You can read about it here:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=114082&wa=wsignin1.0
If you figure out what what the author means by "non-SQL development settings", please let me know.
I hope this helps.
URW- Marcado como respuestaNancy ShaoMSFT, Moderadorlunes, 06 de julio de 2009 2:09
- Hi Danny,
How is this issue getting on? Could you please let me know the process?
Thanks,
Nancy
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

