Browse Blog Posts by Tags
-
Q : I have hit a snag which I can't seem to resolve. This is related to the VSTA project templates generated by ProjGen.exe. One part of the solution generated by the tool is the description of the host item. It is represented by two files - the user portion (e.g. ThisAddin.cs or ThisAddin.vb) and...
-
Q : How do I migrate my VB template to C#? Do you have sort of a template for making a template? I'm using VSTA version 1. A : The best thing to do would be to take a look at the ShapeAppCSharp sample templates included with the SDK. You can base your templates off these. The vstemplate and xxproj...
-
Q : A problem I've run into is the IconImageList element of the ProjectProperties tag in the project file (.vbproj or .csproj). If I specify an imagelist bitmap in ProjGen, it includes the full path to the local file and the file itself is not included in the template ZIP package. This obviously...
-
Q : I'm having trouble actually creating a new add-in project using the template. I have the several files that make up the template. I took the .vstemplate file from the VB version and edited it to match the file names of the C# edition. I stuck all the files into a zip file. I ran "vsta /hostid...
-
Q : Is there any way to make appaddin.vb or any class invisible in the vsta template? A : It’s a little tricky to do this, but I got a template together. The only code file which is displayed is an empty class (MainCodeClass) and is in the file AppAddIn.vb (VSTA is particular about the naming scheme...