Visual Studio 2010 SDK Beta 1
The Visual Studio 2010 SDK Beta 1 is now available for download. Be sure to check out the latest supplemental readme as you’re likely to encounter some of these issues in using the SDK.
Comments
- Anonymous
May 21, 2009
PingBack from http://microsoft-sharepoint.simplynetdev.com/visual-studio-2010-sdk-beta-1/ - Anonymous
May 21, 2009
The comment has been removed - Anonymous
May 21, 2009
Error installing ithttps://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=455830 - Anonymous
May 21, 2009
Peter, do you have the 2008 SDK installed by any chance? We think this may be a SxS issue with the SDK's.Also, I've posted a workaround on the Connect page. - Anonymous
May 21, 2009
Martin, can you try running "VSShellStub.exe /log" and see if you find anything interesting? The log file should be in %APPDATA%AppEnv...ActivityLog.xml. Please feel free to contact me via the form if you'd like to debug more offline. - Anonymous
May 21, 2009
The workaround did the job. Thanks. Updated the connect issue with theme and sdk details - Anonymous
May 27, 2009
When I select "VS Shell Isolated" in New Project and try to build it, I get 2 Errors:error C1083: Cannot open include file: 'excpt.h': No such file or directory (in file windows.h and in project VSShellStub1)error RC1015: cannot open include file 'afxres.h' (in file VSShellStub1UI.rc and in project VSShellStub1UI)I tried to deinstall and reinstall the SDK, but the same error occurs. Any suggestions? I am on Vista and never had previous versions of VS or the SDK installed. Thanks. - Anonymous
May 27, 2009
Hi "Tobias",Did you install C++ (i.e. "Native Development") when you installed Visual Studio? This is required for building VSPackages and VS Isolated Shell projects.Thanks,Aaron - Anonymous
May 27, 2009
Thanks Aaron, you were right. That did the job.Also, after successful compilation I get the same error as Martin above: After F5 the splash screen shows up and then I get the message box: Object reference not set to an instance of an object. I followed your advice and created a logfile, but I can't see anything there. Here it is:<?xml-stylesheet type="text/xsl" href="ActivityLog.xsl"?><activity> <entry> <record>1</record> <time>2009/05/28 08:25:51.457</time> <type>Information</type> <source>VisualStudio</source> <description>Visual Studio Version: 0.0.0.0</description> </entry> <entry> <record>2</record> <time>2009/05/28 08:25:51.459</time> <type>Information</type> <source>VisualStudio</source> <description>Running in User Groups: Administrators Users</description> </entry> <entry> <record>3</record> <time>2009/05/28 08:25:51.463</time> <type>Information</type> <source>VisualStudio</source> <description>Available Drive Space: C: drive has 12160204800 bytes</description> </entry> <entry> <record>4</record> <time>2009/05/28 08:25:51.487</time> <type>Information</type> <source>VisualStudio</source> <description>Internet Explorer Version: 7.0.6001.18183</description> </entry> <entry> <record>5</record> <time>2009/05/28 08:25:51.489</time> <type>Information</type> <source>VisualStudio</source> <description>.NET Framework Version: 4.0.20428.1</description> </entry> <entry> <record>6</record> <time>2009/05/28 08:25:51.490</time> <type>Information</type> <source>VisualStudio</source> <description>MSXML Version: 6.20.1099.0</description> </entry> <entry> <record>7</record> <time>2009/05/28 08:25:51.494</time> <type>Information</type> <source>VisualStudio</source> <description>Looking for master PkgDef file</description> <path>C:UserstestDocumentsVisual Studio 10ProjectsVSShellStub2DebugVSShellStub2.PkgDef</path> </entry> <entry> <record>8</record> <time>2009/05/28 08:25:51.499</time> <type>Information</type> <source>VisualStudio</source> <description>Creating PkgDefCacheBoutique</description> </entry> <entry> <record>9</record> <time>2009/05/28 08:25:51.500</time> <type>Information</type> <source>VisualStudio</source> <description>Double-checking master pkgdef file</description> </entry> <entry> <record>10</record> <time>2009/05/28 08:25:51.505</time> <type>Information</type> <source>VisualStudio</source> <description>PkgDefManagement initialized</description> </entry> <entry> <record>11</record> <time>2009/05/28 08:25:51.507</time> <type>Information</type> <source>VisualStudio</source> <description>RootFolder</description> <path>C:UserstestDocumentsVisual Studio 10ProjectsVSShellStub2Debug</path> </entry> <entry> <record>12</record> <time>2009/05/28 08:25:51.508</time> <type>Information</type> <source>VisualStudio</source> <description>ShellFolder</description> <path>C:Program FilesMicrosoft Visual Studio 10.0</path> </entry> <entry> <record>13</record> <time>2009/05/28 08:25:51.510</time> <type>Information</type> <source>VisualStudio</source> <description>PkgDefSearchPath</description> <path>C:Program FilesMicrosoft Visual Studio 10.0\Common7IDEShellExtensions;C:Program FilesMicrosoft Visual Studio 10.0\Common7IDECommonExtensions;C:UserstestDocumentsVisual Studio 10ProjectsVSShellStub2DebugExtensions</path> </entry> <entry> <record>14</record> <time>2009/05/28 08:25:51.511</time> <type>Information</type> <source>VisualStudio</source> <description>"ZeroImpact" = dword:0, "MergeRegistry" = dword:0</description> </entry> <entry> <record>15</record> <time>2009/05/28 08:25:51.513</time> <type>Information</type> <source>VisualStudio</source> <description>Searching for PkgDefs from search path</description> <path>C:Program FilesMicrosoft Visual Studio 10.0\Common7IDEShellExtensions;C:Program FilesMicrosoft Visual Studio 10.0\Common7IDECommonExtensions;C:UserstestDocumentsVisual Studio 10ProjectsVSShellStub2DebugExtensions</path> </entry> <entry> <record>16</record> <time>2009/05/28 08:25:51.515</time> <type>Warning</type> <source>VisualStudio</source> <description>Extension Manager settings not available, no user extensions will be loaded</description> </entry> <entry> <record>17</record> <time>2009/05/28 08:25:51.521</time> <type>Information</type> <source>VisualStudio</source> <description>Discovered 7 PkgDef files</description> </entry> <entry> <record>18</record> <time>2009/05/28 08:25:51.524</time> <type>Information</type> <source>VisualStudio</source> <description>Found PkgUnDef file, adding to configuration set</description> </entry> <entry> <record>19</record> <time>2009/05/28 08:25:51.548</time> <type>Information</type> <source>VisualStudio</source> <description>Newest node in pkgdef cache</description> <path>Software\VSShellStub21.0_Config</path> </entry> <entry> <record>20</record> <time>2009/05/28 08:25:51.551</time> <type>Information</type> <source>VisualStudio</source> <description>Current pkgdef cache timestamp is valid</description> </entry> <entry> <record>21</record> <time>2009/05/28 08:25:53.204</time> <type>Information</type> <source>VisualStudio</source> <description>Shutting down pkgdef registry</description> </entry> <entry> <record>22</record> <time>2009/05/28 08:25:53.206</time> <type>Information</type> <source>VisualStudio</source> <description>Released non-volatile pkgdef cache usage tracker</description> </entry> <entry> <record>23</record> <time>2009/05/28 08:25:53.208</time> <type>Information</type> <source>VisualStudio</source> <description>PkgDef registry shutdown complete</description> </entry></activity> - Anonymous
May 28, 2009
Tobias & Martin,Can you try out the following? Please configure your debugger to include Microsoft public symbols (and also turn on .NET debugging in your VSShellStubExe project) and see if you can at least get a callstack for us?http://msdn.microsoft.com/en-us/library/b8ttk8zy.aspxI've tried several different hunches on what might cause this, but so far I am still unable to repro. Your help would be much appreciated.Thanks,Aaron - Anonymous
May 29, 2009
The comment has been removed - Anonymous
May 29, 2009
This means its an assembly load error that's causing the issue. Can you launch FusLogVw.exe (elevated on Vista), and then repro the error? The Fusion Log Viewer should then show you which assembly was unable to be loaded properly. - Anonymous
June 02, 2009
Done. I got this log:----------------Start---------------------*** Assembly Binder Log Entry (02.06.2009 @ 17:32:23) ***The operation failed.Bind result: hr = 0x80070002. Das System kann die angegebene Datei nicht finden.Assembly manager loaded from: C:WindowsMicrosoft.NETFrameworkv4.0.20506clr.dllRunning under executable C:UserstestDocumentsVisual Studio 10ProjectsVSShellStub2DebugVSShellStub2.exe--- A detailed error log follows.=== Pre-bind state information ===LOG: User = test-PCtestLOG: DisplayName = Microsoft.VisualStudio.Gel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a(Fully-specified)LOG: Appbase = file:///C:/Users/test/Documents/Visual Studio 10/Projects/VSShellStub2/Debug/LOG: Initial PrivatePath = NULLLOG: Dynamic Base = NULLLOG: Cache Base = NULLLOG: AppName = VSShellStub2.exeCalling assembly : (Unknown).===LOG: This bind starts in default load context.LOG: Using application configuration file: C:UserstestDocumentsVisual Studio 10ProjectsVSShellStub2DebugVSShellStub2.exe.ConfigLOG: Using host configuration file:LOG: Using machine configuration file from C:WindowsMicrosoft.NETFrameworkv4.0.20506configmachine.config.LOG: Post-policy reference: Microsoft.VisualStudio.Gel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3aLOG: GAC Lookup was unsuccessful.LOG: Attempting download of new URL file:///C:/Users/test/Documents/Visual Studio 10/Projects/VSShellStub2/Debug/Microsoft.VisualStudio.Gel.DLL.LOG: Attempting download of new URL file:///C:/Users/test/Documents/Visual Studio 10/Projects/VSShellStub2/Debug/Microsoft.VisualStudio.Gel/Microsoft.VisualStudio.Gel.DLL.LOG: Attempting download of new URL file:///C:/Users/test/Documents/Visual Studio 10/Projects/VSShellStub2/Debug/Extensions/Microsoft.VisualStudio.Gel.DLL.LOG: Attempting download of new URL file:///C:/Users/test/Documents/Visual Studio 10/Projects/VSShellStub2/Debug/Extensions/Microsoft.VisualStudio.Gel/Microsoft.VisualStudio.Gel.DLL.LOG: Attempting download of new URL file:///C:/Users/test/Documents/Visual Studio 10/Projects/VSShellStub2/Debug/Microsoft.VisualStudio.Gel.EXE.LOG: Attempting download of new URL file:///C:/Users/test/Documents/Visual Studio 10/Projects/VSShellStub2/Debug/Microsoft.VisualStudio.Gel/Microsoft.VisualStudio.Gel.EXE.LOG: Attempting download of new URL file:///C:/Users/test/Documents/Visual Studio 10/Projects/VSShellStub2/Debug/Extensions/Microsoft.VisualStudio.Gel.EXE.LOG: Attempting download of new URL file:///C:/Users/test/Documents/Visual Studio 10/Projects/VSShellStub2/Debug/Extensions/Microsoft.VisualStudio.Gel/Microsoft.VisualStudio.Gel.EXE.LOG: All probing URLs attempted and failed.-------------------------End-------------------------Anything? - Anonymous
June 02, 2009
Hi Tobias,Please contact me offline at the following link so we can debug this further:http://blogs.msdn.com/aaronmar/contact.aspxThanks,Aaron - Anonymous
June 08, 2009
We've figured out that this problem with the isolated shell occurs when the "organization name" of your machine is empty. We will fix the issue in the next release of the Visual Studio SDK.In the meantime, there is a very simple workaround. Open up your pkgdef file in the VSShellStub project and look for the "RegistryRoot" entry. Change the double-backslash \ into a single backslash .For example, change this:"RegistryRoot"="Software\VSShellStub11.0"to this:"RegistryRoot"="SoftwareVSShellStub11.0"