DCSIMG
Removing Script# (ScriptSharp) Item Template - Justin myJustin = new Justin( Expriences.Current );

Removing Script# (ScriptSharp) Item Template

If like me you like to compile your C# code to JavaScript you probably use Script#.

And if like me you use your Visual Studio 2005 for something other then Script# programming you must know - Script# Item templates are the worst thing to ever happen to the human race since pigeons.

Let me explain. Script# Installs an Item Template. Like the "Windows forms" item template or "config file" item template. The problem is Script#'s Item template sits in it's own folder which somehow becomes the default folder when creating ANY new item.

Let's say I've got a Windows Forms project and I want to add a new WinForm:

When I click the magical "Windows Form" button on the menu one would expect I would be able to create a new Windows Form Item. This is what you get if you have Script# Installed:

Apparently Script# is so important it has it's own folder.
And having your own folder means - you're the default Item.

This is how you add Script# to the normal Item templates:

1. Close VS2005

2. Go to %program files%\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\CSharp

3. copy ScriptClass.zip from "Script#" directory to the main directory. (or delete it all togather if you don't think you don't even need it)

4. delete the "Script#" directory

5. open "Visual Studio 2005 Command prompt" (Start --> Programs --> Microsoft Visual Studio 2005 --> Microsoft Visual Studio Tools --> Visual Studio 2005 Command prompt)

6. run "devenv /setup" to rebuild Visual Studio template cache.

7. rejoice for you no longer have the Script# Item Template in a seperate directory.

 

Comments

No Comments