<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Office Development with Visual Studio : .NET Framework Client Profile</title><link>http://blogs.msdn.com/vsto/archive/tags/.NET+Framework+Client+Profile/default.aspx</link><description>Tags: .NET Framework Client Profile</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Best Practices for Deployment with Visual Studio 2008 SP1 (Mary Lee, Rachel Schaw)</title><link>http://blogs.msdn.com/vsto/archive/2009/02/02/best-practices-for-deployment-with-visual-studio-2008-sp1.aspx</link><pubDate>Tue, 03 Feb 2009 02:01:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9385465</guid><dc:creator>VSTO Team</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/vsto/comments/9385465.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vsto/commentrss.aspx?PostID=9385465</wfw:commentRss><description>&lt;P&gt;After you develop Office solutions with Visual Studio Tools for Office, you can use Visual Studio 2008 SP1 to simplify your deployment experience. First, you can take advantage of the smaller .NET Framework Client Profile to decrease download time. Next, the Office 2007 primary interop assemblies (PIAs) are included in-the-box with VS2008 SP1 to avoid having to generate bootstrapper manifests. Finally, you can also troubleshoot any installation problems with the event viewer.&lt;/P&gt;
&lt;P&gt;Develop your Office 2007 solutions against the .NET Framework Client Profile.&amp;nbsp; The large size of the .NET Framework 3.5 SP1 can lead to long download times.&amp;nbsp; The .NET Framework Client Profile is only 25MB in size, so download times are reduced when installing from the component vendor's web site. For more information about how to configure your solution to use the .NET Framework Client Profile, see &lt;A href="http://msdn.microsoft.com/en-us/library/bb398202.aspx" mce_href="http://msdn.microsoft.com/en-us/library/bb398202.aspx"&gt;How to: Target a Specific .NET Framework&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vsto/WindowsLiveWriter/BestPracticesforDeploymentwithVisualStud_D363/image_8.png" mce_href="http://blogs.msdn.com/blogfiles/vsto/WindowsLiveWriter/BestPracticesforDeploymentwithVisualStud_D363/image_8.png"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=416 alt=image src="http://blogs.msdn.com/blogfiles/vsto/WindowsLiveWriter/BestPracticesforDeploymentwithVisualStud_D363/image_thumb_3.png" width=544 border=0 mce_src="http://blogs.msdn.com/blogfiles/vsto/WindowsLiveWriter/BestPracticesforDeploymentwithVisualStud_D363/image_thumb_3.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Deploying the Office 2007 primary interop assemblies is now (mostly) hassle-free. Visual Studio 2008 SP1 includes the Office 2007 PIAs as part of the update.&amp;nbsp; This relieves you from having to download the PIA installer, download a code sample that contains the bootstrapper manifests, move the manifests to a certain directory, compile the ComponentCheck.cpp file to verify that the correct version of Microsoft Office is installed, and dance the hula.&amp;nbsp; Instead, developing with one of the Visual Studio Tools for Office project templates already marks the Microsoft Office 2007 primary interop assemblies as a prerequisites.&amp;nbsp; All you have to do is right-click on the project in &lt;STRONG&gt;Solution Explorer&lt;/STRONG&gt; and click &lt;STRONG&gt;Publish&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vsto/WindowsLiveWriter/BestPracticesforDeploymentwithVisualStud_D363/image_10.png" mce_href="http://blogs.msdn.com/blogfiles/vsto/WindowsLiveWriter/BestPracticesforDeploymentwithVisualStud_D363/image_10.png"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=423 alt=image src="http://blogs.msdn.com/blogfiles/vsto/WindowsLiveWriter/BestPracticesforDeploymentwithVisualStud_D363/image_thumb_4.png" width=548 border=0 mce_src="http://blogs.msdn.com/blogfiles/vsto/WindowsLiveWriter/BestPracticesforDeploymentwithVisualStud_D363/image_thumb_4.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Troubleshooting the installation and deployment process is more transparent. Any errors that occur are now logged in the event viewer. For example, I deliberately installed the same Office solution twice to generate the following error in the event viewer. Developers commonly see this error when they build and debug an Office solution on their development computer, and then try to install the Office solution on the same development computer. To avoid this problem, use a different account to test the installer on the development computer, or use a different test computer. For more information about the event viewer, see &lt;A href="http://msdn.microsoft.com/en-us/library/cc442816.aspx" mce_href="http://msdn.microsoft.com/en-us/library/cc442816.aspx"&gt;Event Logging (2007 System)&lt;/A&gt;.&lt;/P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vsto/WindowsLiveWriter/BestPracticesforDeploymentwithVisualStud_D363/image_4.png" mce_href="http://blogs.msdn.com/blogfiles/vsto/WindowsLiveWriter/BestPracticesforDeploymentwithVisualStud_D363/image_4.png"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=576 alt=image src="http://blogs.msdn.com/blogfiles/vsto/WindowsLiveWriter/BestPracticesforDeploymentwithVisualStud_D363/image_thumb_1.png" width=585 border=0 mce_src="http://blogs.msdn.com/blogfiles/vsto/WindowsLiveWriter/BestPracticesforDeploymentwithVisualStud_D363/image_thumb_1.png"&gt;&lt;/A&gt; 
&lt;P&gt;Visual Studio 2008 SP1 also introduced ClickOnce manifests that do not need to be signed. However, Visual Studio Tools for Office relies on signed manifests to identify the publisher and determine if the Office solution is trusted.&amp;nbsp; Optional signing is a feature in VS2008 SP1 that does not apply to Office developers. For more information about trusting Office solutions, see &lt;A href="http://msdn.microsoft.com/en-us/library/bb772086.aspx" mce_href="http://msdn.microsoft.com/en-us/library/bb772086.aspx"&gt;Granting Trust to Office Solutions (2007 System)&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Mary Lee, Programming Writer.&lt;/P&gt;
&lt;P&gt;Rachel Shaw, Program Manager.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9385465" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/vsto/archive/tags/ClickOnce/default.aspx">ClickOnce</category><category domain="http://blogs.msdn.com/vsto/archive/tags/Mary+Lee/default.aspx">Mary Lee</category><category domain="http://blogs.msdn.com/vsto/archive/tags/Deployment/default.aspx">Deployment</category><category domain="http://blogs.msdn.com/vsto/archive/tags/primary+interop+assemblies/default.aspx">primary interop assemblies</category><category domain="http://blogs.msdn.com/vsto/archive/tags/.NET+Framework+Client+Profile/default.aspx">.NET Framework Client Profile</category><category domain="http://blogs.msdn.com/vsto/archive/tags/Rachel+Schaw/default.aspx">Rachel Schaw</category></item><item><title>VSTO and the .NET Framework Client Profile (Christin Boyd)</title><link>http://blogs.msdn.com/vsto/archive/2008/09/16/vsto-and-the-net-framework-client-profile-christin-boyd.aspx</link><pubDate>Wed, 17 Sep 2008 04:02:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8954633</guid><dc:creator>VSTO Team</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/vsto/comments/8954633.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vsto/commentrss.aspx?PostID=8954633</wfw:commentRss><description>&lt;p&gt;One of our loyal blog readers asked if "VSTO officially supports targeting the Client Profile? I did a quick check and it seems to be working fine but it is good if we explicitly mention whether it is supported."&amp;nbsp; The answer is yes.&amp;nbsp; Starting in Visual Studio 2008 Service Pack 1 (SP1), you can develop 2007 Microsoft Office solutions with .NET Framework version 3.5 or .NET Framework Client Profile. The .NET Framework Client Profile is a subset of the full .NET Framework 3.5 that has a size of 25-30 MB.&amp;nbsp; For more information about the .NET Framework Client Profile, see &lt;a href="http://msdn.microsoft.com/library/cc656912.aspx" target="_blank"&gt;.NET Framework Client Profile&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;You can read more about how to target the Client Profile in the localized documentation article &lt;a href="http://msdn.microsoft.com/library/bb772098.aspx" target="_blank"&gt;"How to:&amp;nbsp; Change the Target .NET Framework"&lt;/a&gt;&amp;nbsp; &lt;/p&gt; &lt;p&gt;If you build a solution with the Client Profile, then please let us know by commenting on this page.&amp;nbsp; Does the performance suite your needs?&amp;nbsp; How was the experience?&lt;/p&gt; &lt;p&gt;-Christin Boyd, Program Manager&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8954633" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/vsto/archive/tags/Christin+Boyd/default.aspx">Christin Boyd</category><category domain="http://blogs.msdn.com/vsto/archive/tags/Office+2007/default.aspx">Office 2007</category><category domain="http://blogs.msdn.com/vsto/archive/tags/SP1/default.aspx">SP1</category><category domain="http://blogs.msdn.com/vsto/archive/tags/.NET+Framework+Client+Profile/default.aspx">.NET Framework Client Profile</category></item><item><title>What's New in VS 2008 SP1 and how the VSTO team decided what to include in a Service Pack (Christin Boyd, Mary Lee)</title><link>http://blogs.msdn.com/vsto/archive/2008/07/11/what-s-new-in-vs-2008-sp1-and-how-the-vsto-team-decided-what-to-include-in-a-service-pack-christin-boyd-mary-lee.aspx</link><pubDate>Fri, 11 Jul 2008 22:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8721905</guid><dc:creator>VSTO Team</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.msdn.com/vsto/comments/8721905.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vsto/commentrss.aspx?PostID=8721905</wfw:commentRss><description>&lt;p&gt;Updated August, 2008&lt;/p&gt; &lt;p&gt;I'd like to give you some insight into how we decide what goes into a Service Pack for Microsoft Visual Studio.&amp;nbsp; I'm speaking specifically about how the VSTO team built SP1;&amp;nbsp; most other groups within Visual Studio use the same process.&amp;nbsp; &lt;/p&gt; &lt;p&gt;We take a few different approaches including:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Clearly defining the scope and purpose of the Service Pack  &lt;li&gt;Prioritizing Critical Bugs in our bug database in a large meeting room with many stakeholders and passionate debates  &lt;li&gt;Writing &lt;strong&gt;scenarios&lt;/strong&gt; from the perspective of the user in the form of "I can develop a ..."  &lt;li&gt;Daily triage of all bugs, including bugs that are entered by customers through &lt;a href="http://connect.microsoft.com/visualstudio" target="_blank" mce_href="http://connect.microsoft.com/visualstudio"&gt;Connect&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;In the last few months of product stabilization (which means the last few months before we shipped VS 2008), we make tough decisions to postpone some bugs to the Service Pack (SP).&amp;nbsp; At some point around RTM, we schedule meetings to start prioritizing bugs for the SP.&amp;nbsp; &lt;/p&gt; &lt;p&gt;The Visual Studio division is split into about a dozen Product Units, of which VSTO is a Product Unit.&amp;nbsp; Twenty people from the VSTO unit met to prioritize bugs for the SP.&amp;nbsp; We voiced opinions, quoted customers, demonstrated the bugs, and threw around cost estimates such as "Richard could fix it in three or four days"&amp;nbsp; "No way, that is at least an 8 day work item and the workaround is straight forward!"&amp;nbsp; Debates were often passionate because we are proud of our work, and care deeply about fixing any problems.&amp;nbsp; We had three separate meetings over the course of a month to enable teams to refine their cost estimates and further research solutions.&amp;nbsp; We prioritize on a couple of factors:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Severity:&amp;nbsp; meaning impact to users judged by asking is there a workaround, does it leave the project in an unstable state, or in the worst case does something crash.  &lt;li&gt;Priority:&amp;nbsp; meaning does it impact a core &lt;strong&gt;scenario&lt;/strong&gt;, do customers use this feature often, is it a regression from a previous release.  &lt;li&gt;Cost:&amp;nbsp; how long will it take to fix it and test the fix.  &lt;li&gt;Dependencies:&amp;nbsp; if it requires code changes in Office or the .NET Framework, we would need to negotiate with those teams and their Service Pack teams.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;The second way we prioritize and document our Service Pack plans is to write scenarios.&amp;nbsp; We hear feedback from you describing what you want to accomplish with our tools.&amp;nbsp; So we take that feedback and write our feature descriptions using the first-person voice of the customer.&amp;nbsp; We write both tasks and full end-to-end scenarios.&amp;nbsp; If there is a bug that prevents the user from accomplishing the complete scenario, then that is a high priority bug fix for a Service Pack.&amp;nbsp; For example, here are some of the scenarios that we addressed with Service Pack 1 to Visual Studio 2008:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;I can add managed controls to a Word document by using an application-level add-in.(including Windows Forms controls and VSTO controls in the Microsoft.Office.Tools.Word namespace)  &lt;li&gt;I can add managed controls to an Excel Workbook by using an application-level add-in.(including Windows Forms controls and VSTO controls in the Microsoft.Office.Tools.Excel namespace)  &lt;li&gt;I can add a VSTO Smart Tag to a Word Document or Excel Workbook by using an application-level add-in.  &lt;li&gt;The Office 2007 solutions that I compiled with VS 2008 before SP1, continue to function properly when the SP1 update to the VSTO 3.0 Runtime is installed.  &lt;li&gt;I can use the Publish Wizard to successfully create a Click Once deployment for my Office 2007 solution.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;By writing our designs in this format, we put ourselves in the place of the customer and create test cases appropriately.&amp;nbsp; We also list the cost of each item in work-days and any risks or dependencies.&amp;nbsp; Then we're able to make informed decisions about which scenarios and how many scenarios we can fix in a given number of work-months.&amp;nbsp; After we've prioritized which features go into the SP, we then write more technical specs that define what is in scope, out of scope, assumptions, UI design diagrams, test specs, security threat models, and lists of dependencies on other teams and the locations of their code drops.&amp;nbsp;&amp;nbsp; &lt;/p&gt; &lt;p&gt;As of today, the VSTO team fixed 143 high severity bugs in the Office features of VS 2008.&amp;nbsp; Five of the fixed bugs were submitted by customers using &lt;a href="http://connect.microsoft.com/visualstudio" target="_blank" mce_href="http://connect.microsoft.com/visualstudio"&gt;Connect&lt;/a&gt;.&amp;nbsp; I don't have the total bug fix count for the entire division, but it is over a thousand.&amp;nbsp; We are still a few weeks from releasing the Service Pack and we hope to squeeze in a few more critical bug fixes.&amp;nbsp; &lt;/p&gt; &lt;p&gt;We focused on delivering two core scenarios &lt;strong&gt;enabling easier deployment&lt;/strong&gt; and &lt;strong&gt;enabling adding Host Controls to application-level add-ins&lt;/strong&gt;.&amp;nbsp; In the final documentation that will release with SP1, there is a section describing what's new in SP1.&amp;nbsp; Here's the text that you will see in the SP1 documentation after we ship:&lt;/p&gt; &lt;blockquote&gt; &lt;h3&gt;What's New in Visual Studio Tools for Office&lt;/h3&gt; &lt;p&gt;&lt;strong&gt;Visual Studio 2008 Service Pack 1 (SP1)&lt;/strong&gt; contains updates and new features that affect Visual Studio Tools for Office. The SP1 changes are listed separately from the Visual Studio 2008 features to help you find the latest additions quickly.&amp;nbsp; Visual Studio 2008 SP1 includes features that are designed to help you accomplish the following tasks:  &lt;h5&gt;Add Host Controls and Smart Tags to Add-in Projects&lt;/h5&gt; &lt;p&gt;You can add smart tags and host controls, such as content controls in Word 2007 and list objects in Excel 2007, to documents in application-level add-in projects. These managed host controls behave like native Office objects, but with added functionality such as events and data-binding capabilities.  &lt;p&gt;To get started, see &lt;a href="http://msdn.microsoft.com/en-us/library/x97a5x3s.aspx"&gt;Adding Controls to Office Documents at Run Time&lt;/a&gt; and &lt;a href="http://msdn.microsoft.com/en-us/library/ms178786.aspx"&gt;Smart Tags Overview&lt;/a&gt;. &lt;h5&gt;Deploy the Office Primary Interop Assemblies with Your Solution Installer&lt;/h5&gt; &lt;p&gt;When you use ClickOnce to deploy solutions for the 2007 Microsoft Office system, the Microsoft Office 2007 Primary Interop Assemblies are automatically selected as prerequisites. The primary interop assemblies are copied to the same deployment folder as your solution installer.  &lt;p&gt;To get started, see &lt;a href="http://msdn.microsoft.com/en-us/library/bb608608.aspx"&gt;How to: Install Prerequisites on End User Computers to Run Office Solutions (2007 System)&lt;/a&gt;. &lt;h5&gt;Rapidly Deploy Your Solution with the .NET Framework Client Profile&lt;/h5&gt; &lt;p&gt;You can now specify the .NET Framework Client Profile as the target Framework version. This smaller version of the .NET Framework decreases the size of your solution during installation by not including all of the Framework assemblies. You can use this with your solutions for the 2007 Microsoft Office system.  &lt;p&gt;To get started, see &lt;a href="http://msdn.microsoft.com/en-us/library/3295w01c.aspx"&gt;Creating Office Solutions in Visual Studio&lt;/a&gt;. &lt;h5&gt;Troubleshoot Installation with the Event Viewer&lt;/h5&gt; &lt;p&gt;· When you install or uninstall Visual Studio Tools for Office solutions, the Visual Studio Tools for Office runtime logs error messages that you can view by using the event viewer in Windows. You can use these messages to help resolve installation and deployment problems.  &lt;p&gt;To get started, see &lt;a href="http://msdn.microsoft.com/en-us/library/cc442816.aspx"&gt;Event Logging (2007 System)&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt; &lt;hr align="left" width="33%" size="1"&gt;  &lt;p&gt;I hope this explanation gives you some insight into the people on my team who build the Office features in Visual Studio and the process we use to prioritize our work.&lt;/p&gt; &lt;p&gt;-Christin Boyd, Program Manager, Microsoft.&lt;/p&gt; &lt;p&gt;-Mary Lee, programming writer, Microsoft. &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8721905" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/vsto/archive/tags/ClickOnce/default.aspx">ClickOnce</category><category domain="http://blogs.msdn.com/vsto/archive/tags/VSTO/default.aspx">VSTO</category><category domain="http://blogs.msdn.com/vsto/archive/tags/Mary+Lee/default.aspx">Mary Lee</category><category domain="http://blogs.msdn.com/vsto/archive/tags/Christin+Boyd/default.aspx">Christin Boyd</category><category domain="http://blogs.msdn.com/vsto/archive/tags/Office+2007/default.aspx">Office 2007</category><category domain="http://blogs.msdn.com/vsto/archive/tags/Deployment/default.aspx">Deployment</category><category domain="http://blogs.msdn.com/vsto/archive/tags/VS2008/default.aspx">VS2008</category><category domain="http://blogs.msdn.com/vsto/archive/tags/SP1/default.aspx">SP1</category><category domain="http://blogs.msdn.com/vsto/archive/tags/.NET+Framework+Client+Profile/default.aspx">.NET Framework Client Profile</category></item></channel></rss>