Stellen Sie eine FrageStellen Sie eine Frage
 

BeantwortetSample project CommentAdornment doesn't load...

  • Mittwoch, 29. Oktober 2008 08:00vga TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    I just tried to open this project in VS and the project won't load because it is importing a VS SDK target:

      <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\VSSDK\Microsoft.VsSDK.targets" />

    and the VPC doesn't seem to have the VS SDK installed, at least the above folder doesn't exists...

    -vga.

    http://www.t4editor.net -> Edit T4 templates with full IntelliSense support for T4 and C# code!
    • Bearbeitetvga Mittwoch, 29. Oktober 2008 08:01
    •  

Antworten

  • Mittwoch, 29. Oktober 2008 08:25vga TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet
    Update: besides the non-installed target the project also contain assembly references to Microsoft.VisualStudio.CoreUtility, Microsoft.VisualStudio.Editor, Microsoft.VisualStudio.Text.Data, Microsoft.VisualStudio.Text.Logic, Microsoft.VisualStudio.Text.UI and Microsoft.VisualStudio.Text.UI.Wpf as if they were GACed so they cannot be resolved.

    I did remove the VSSDK target, and removed the above listed references and re-added them from assemblies in the "Components" folder (all of them are there) and the project now loads and compiles just fine.

    UPDATE: I was reading the Walkthroughts doc and found out the VS SDK is on the machine but not installed, you can run it from: C:\Users\Public\Documents\CTPWalkthroughs\Visual Studio\SDK\vssdk_sfx.exe.

    Not sure why this wasn't pre-installed in the VPC...


    http://www.t4editor.net -> Edit T4 templates with full IntelliSense support for T4 and C# code!
    • Bearbeitetvga Mittwoch, 29. Oktober 2008 08:25
    • Als Antwort markiertvga Mittwoch, 29. Oktober 2008 08:26
    • Bearbeitetvga Mittwoch, 29. Oktober 2008 09:31
    •  
  • Mittwoch, 29. Oktober 2008 18:34Quan ToMSFTTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet
    We decided not to install the SDK as it was only required for the editor walkthrough.  It is not ready to be used for development of Dev 10 extensions and the only reason we shipped a barebones SDK with the VPC was to support an editor walkthrough.

Alle Antworten

  • Mittwoch, 29. Oktober 2008 08:25vga TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet
    Update: besides the non-installed target the project also contain assembly references to Microsoft.VisualStudio.CoreUtility, Microsoft.VisualStudio.Editor, Microsoft.VisualStudio.Text.Data, Microsoft.VisualStudio.Text.Logic, Microsoft.VisualStudio.Text.UI and Microsoft.VisualStudio.Text.UI.Wpf as if they were GACed so they cannot be resolved.

    I did remove the VSSDK target, and removed the above listed references and re-added them from assemblies in the "Components" folder (all of them are there) and the project now loads and compiles just fine.

    UPDATE: I was reading the Walkthroughts doc and found out the VS SDK is on the machine but not installed, you can run it from: C:\Users\Public\Documents\CTPWalkthroughs\Visual Studio\SDK\vssdk_sfx.exe.

    Not sure why this wasn't pre-installed in the VPC...


    http://www.t4editor.net -> Edit T4 templates with full IntelliSense support for T4 and C# code!
    • Bearbeitetvga Mittwoch, 29. Oktober 2008 08:25
    • Als Antwort markiertvga Mittwoch, 29. Oktober 2008 08:26
    • Bearbeitetvga Mittwoch, 29. Oktober 2008 09:31
    •  
  • Mittwoch, 29. Oktober 2008 10:38John SaundersMVPTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    Victor,

    I installed the SDK last night, and tried to create a DSL Designer. That died a horrible death (it was way too late last night, so I don't remember the details!).

    This could be the reason to not pre-install it...
    John Saunders | Use File->New Project to create Web Service Projects
  • Mittwoch, 29. Oktober 2008 18:34Quan ToMSFTTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet
    We decided not to install the SDK as it was only required for the editor walkthrough.  It is not ready to be used for development of Dev 10 extensions and the only reason we shipped a barebones SDK with the VPC was to support an editor walkthrough.

  • Mittwoch, 29. Oktober 2008 21:10John SaundersMVPTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    Was this fact listed in one of the readme files that I did not read? I wouldn't have installed the SDK if I had known that.
    John Saunders | Use File->New Project to create Web Service Projects