Skip to content

Commit

Permalink
Allow for build without full SDK installation
Browse files Browse the repository at this point in the history
In this change we deploy the reference assemblies which are needed to
build the RoundTripVSIX project.   These are the reference assemblies
from a 2010 installation. All versions of Visual Studio beyond 2010 have
appropriate binding redirects for these values in the devenv.exe.config
file.  Hence our extension will load just fine if it references these.
This is generally true for any assembly that Visual Studio includes in
the SDK

The only change necessary to the project is to include this directory in
the reference search path.
  • Loading branch information
jaredpar committed Dec 5, 2013
1 parent 1fc9ec3 commit 12003ab
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 0 deletions.
Binary file added References/Microsoft.VisualStudio.CoreUtility.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added References/Microsoft.VisualStudio.Text.Data.dll
Binary file not shown.
Binary file added References/Microsoft.VisualStudio.Text.Logic.dll
Binary file not shown.
Binary file not shown.
Binary file added References/Microsoft.VisualStudio.Text.UI.dll
Binary file not shown.
1 change: 1 addition & 0 deletions RoundTripVSIX/RoundTripVSIX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<GeneratePkgDefFile>false</GeneratePkgDefFile>
<ReferencePath>$(ReferencePath);$(MSBuildThisFileDirectory)..\References</ReferencePath>
</PropertyGroup>
<!-- Look for the SDK specific to the current version of Visual Studio -->
<PropertyGroup>
Expand Down

2 comments on commit 12003ab

@mletterle
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume the visual studio dlls aren't generally redistributable...?

@jaredpar
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are essentially reference assemblies. They don't contain any of the actual editor logic. nuget takes the same approach so I assume it's okay to have them in SCC.

Caveat: not a lawyer :)

Please sign in to comment.