Difference between revisions of "VSTO"

From Blue-IT.org Wiki

(Cannot create Excel projects)
(Cannot create Excel projects)
Line 11: Line 11:
 
== Troubleshooting ==
 
== Troubleshooting ==
 
=== Cannot create Excel projects  ===
 
=== Cannot create Excel projects  ===
* [ENG]: http://stackoverflow.com/questions/13695526/why-cant-i-create-an-excel-vsto-workbook-project-in-visual-studio-2010/29037321#29037321 Stackoverflow|
+
* [ENG]: [http://stackoverflow.com/questions/13695526/why-cant-i-create-an-excel-vsto-workbook-project-in-visual-studio-2010/29037321#29037321 Stackoverflow|
 
* [GER]: [https://social.msdn.microsoft.com/Search/de-DE?query=Excel-Arbeitsmappe%20kann%20nicht%20erstellt%20werden&emptyWatermark=true&ac=4 Social MSDN]
 
* [GER]: [https://social.msdn.microsoft.com/Search/de-DE?query=Excel-Arbeitsmappe%20kann%20nicht%20erstellt%20werden&emptyWatermark=true&ac=4 Social MSDN]
  
Most likely: YXOu
+
Most likely: You have an PERSONAL.xslb File in the XSLT start folder (see above posts).
  
 
== VS Settings==
 
== VS Settings==

Revision as of 12:23, 15 March 2015

Why

So, why VSTO here in an OpenSource themed wiki?

  1. since 2015 .NET is opensource (really)
  2. C# ist open source
  3. you can get the Visual Studio Comunity Edition for free (really free also for commercial use, if you are not working for a > 250 men company)
  4. Word an Excel are running fine with wine (see #MSOffice_2010_and_Wine) - Outlook not tested yet,

In most cases Word, Excel and Powerpoint are the most often used programs in business for daily comunication. It is like it is. Beeing able - now - without any restrictions, to program MS-Office addins with VSTO and prgraming languages like C# is a big adavantage. So, here we go.

Troubleshooting

Cannot create Excel projects

Most likely: You have an PERSONAL.xslb File in the XSLT start folder (see above posts).

VS Settings

Reset VS settings

  • As admin: startmenu -> VS2013 -> VS-Tools -> Developer Command Prompt VS2103 (not native!)
devenv /resetuserdata
devenv /setup
  • As user: Open Developer Command Prompt VS2103 (not native!)
devenv /resetuserdata 
devenv /setup 
devenv /resetsettings