I used addin template to create my own addin
When I build the addin, there is a file, SwVBAddin1.xml, in bin folder
I'm just wondering what's this file for? and how to change its name to match with the dll files?
Open you vbproj file in the notepad and change the DocumentationFile node value (you can also change this in the template if you want this to match your project name when you create new project in future):
I think that's a resource file contains information about the assembly file (swVBAAddin1.dll).
Correct. You can use notepad to edit the file and view it. It's pointer to Resources files
This is a XML documentation file:
You can document your code with the ''' symbol in VB.NET or /// in C#. You can than use tools like SandCastle to generate the documentation from this documentation files:
Please view the screen shot of my bin folder
I created a new add in called "MyTempateSwAddin" and all the dll files in the bin folder has the same name except the xml file, which is SwVBAddin1.xml.
So in the program, where can I find and change the name to MyTemplateSwAddin.xml
I bet if you cleaned your solution, that file will gone. Out of mere interest, can you copy and paste its content.
Sure, here is the xml file
seems like it dose nothing for the assembly while I checked some of mine and it's more like pointer to the resources files
Isn't it also accessible from the solution/project properties?
Seems like not. Cannot find it there. Perhaps it depends on the VS version and package (I'm using 2013 Pro version)
Thank you Artem.
Amen: I'm also running VS 2013 Pro and couldn't find it in Project>Properties
I have one more question: how you change the bitmap file?
I changed all the bitmap files in the project file, but it's still shown as solidworks logo in the bin folder
Remove all files in bin folder and run your addin again - the bitmap should be updated to whatever you changed in the logo image
Retrieving data ...