This project has moved and is read-only. For the latest updates, please go here.

When PTVS 1.1 is built from source, how can I 'install' to use like 1.0?

Nov 1, 2011 at 3:10 AM

I'd like to use the evolving v1.1- to pick up fixes as they're resolved.  I've built 1.1 OK, thx to your great instructions here:    

I'm able to run the result OK in the experimental hive, but would like to use it as I did the 1.0 distribution: i.e. w/o having to start it in Debug mode.

I didn't see an installer project in the solution.  So, I uninstalled 1.0, then tried both:

1. Double-clicking vsix files.

2. Copying all of the built 1.1 files (including the .vsix) into a ...Common7\IDE\Extensions\Microsoft\Test\1.1 dir. 

However, neither approach worked.  What SHOULD I be doing? I'm on Win 7 Ultimate, 64-bit, sp1.  Thx!

Nov 1, 2011 at 4:29 AM

The simplest way would be to run the BuildRelease.ps1 powershell script from Release\Python\Setup.  You'll need to give it an output directory as the command line arguments.  It'll create a Debug, Release, Sources, and Dev11.0 directories in that output dir.  You can then go into the Debug or Release directories and there'll be the MSI that you can install there.

That's a little bit of a slow way to do it because it'll produce 4 different builds (debug, release, and Dev11 debug/release) and copy all of the sources to archive them.  You could always run the "msbuild dirs.proj" command with the same options that the script runs and it'll just build a single MSI - that'll be outputted into Binaries\Win32\Debug or Binaries\Win32\Release.


Nov 1, 2011 at 4:40 AM

I went ahead and updated the build instructions so they have a section on building the MSI:

Nov 1, 2011 at 5:56 AM

Dino, you're GREAT!  Talk about quick response !!   Thx!