Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VSSDK.Build package to disable CopyLocal in the build instead of using install scripts #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions VSSDK.Build/VSSDK.Build.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>VSSDK.Build</id>
<version>0.0.0</version>
<authors>Sam Harwell</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
Common build support for the VSSDK packages.
</description>
<summary>VSSDK Build Support</summary>
<tags>vssdk</tags>
<developmentDependency>true</developmentDependency>
</metadata>

<files>
<file src="VSSDK.Build.props" target="build"/>
<file src="VSSDK.Build.targets" target="build"/>
</files>
</package>
5 changes: 5 additions & 0 deletions VSSDK.Build/VSSDK.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
</PropertyGroup>
</Project>
134 changes: 134 additions & 0 deletions VSSDK.Build/VSSDK.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>

<ItemGroup>
<!-- VSSDK.ComponentModelHost -->
<SuppressFromVsix Include="Microsoft.VisualStudio.ComponentModelHost.dll" />

<!-- VSSDK.CoreUtility -->
<SuppressFromVsix Include="Microsoft.VisualStudio.CoreUtility.dll" />

<!-- VSSDK.Data -->
<SuppressFromVsix Include="Microsoft.Data.ConnectionUI.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Data.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Data.Core.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Data.Framework.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Data.Services.dll" />

<!-- VSSDK.Debugger.Interop -->
<SuppressFromVsix Include="Microsoft.VisualStudio.Debugger.Interop.10.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Debugger.Interop.11.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Debugger.Interop.12.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Debugger.Interop.14.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Debugger.Interop.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Debugger.InteropA.dll" />

<!-- VSSDK.DebuggerVisualizers -->
<SuppressFromVsix Include="Microsoft.VisualStudio.DebuggerVisualizers.dll" />

<!-- VSSDK.Designer -->
<SuppressFromVsix Include="Microsoft.VisualStudio.Designer.Interfaces.dll" />

<!-- VSSDK.DTE -->
<SuppressFromVsix Include="envdte90.dll" />
<SuppressFromVsix Include="envdte90a.dll" />
<SuppressFromVsix Include="envdte80.dll" />
<SuppressFromVsix Include="envdte100.dll" />
<SuppressFromVsix Include="envdte.dll" />
<SuppressFromVsix Include="stdole.dll" />

<!-- VSSDK.Editor -->
<SuppressFromVsix Include="Microsoft.VisualStudio.Editor.dll" />

<!-- VSSDK.GraphModel -->
<SuppressFromVsix Include="Microsoft.VisualStudio.GraphModel.dll" />

<!-- VSSDK.Language -->
<SuppressFromVsix Include="Microsoft.VisualStudio.Language.Intellisense.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Language.StandardClassification.dll" />

<!-- VSSDK.Language.CallHierarchy -->
<SuppressFromVsix Include="Microsoft.VisualStudio.Language.CallHierarchy.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.CallHierarchy.Package.Definitions.dll" />

<!-- VSSDK.Language.CSharp -->
<SuppressFromVsix Include="Microsoft.VisualStudio.CSharp.Services.Language.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.CSharp.Services.Language.Interop.dll" />

<!-- VSSDK.LanguageService -->
<SuppressFromVsix Include="Microsoft.VisualStudio.Package.LanguageService.10.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Package.LanguageService.11.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Package.LanguageService.12.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Package.LanguageService.14.0.dll" />

<!-- VSSDK.NavigateTo -->
<SuppressFromVsix Include="Microsoft.VisualStudio.Language.NavigateTo.Interfaces.dll" />

<!-- VSSDK.OLE.Interop -->
<SuppressFromVsix Include="Microsoft.VisualStudio.OLE.Interop.dll" />

<!-- VSSDK. -->
<SuppressFromVsix Include="Microsoft.VisualStudio.ServerExplorer.dll" />

<!-- VSSDK. -->
<SuppressFromVsix Include="Microsoft.VisualStudio.Settings.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Settings.11.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Settings.12.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Settings.14.0.dll" />

<!-- VSSDK.Shell -->
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.9.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.10.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.11.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.12.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.14.0.dll" />

<!-- VSSDK.Shell.Immutable -->
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.Immutable.10.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.Immutable.11.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.Immutable.12.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.Immutable.14.0.dll" />

<!-- VSSDK.Shell.Interop -->
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.Interop.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.Interop.8.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.Interop.9.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.Interop.10.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.Interop.11.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Shell.Interop.12.0.dll" />

<!-- VSSDK.TemplateWizardInterface -->
<SuppressFromVsix Include="Microsoft.VisualStudio.TemplateWizardInterface.dll" />

<!-- VSSDK.Text -->
<SuppressFromVsix Include="Microsoft.VisualStudio.Text.Data.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Text.Logic.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Text.UI.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.Text.UI.Wpf.dll" />

<!-- VSSDK.TextManager.Interop -->
<SuppressFromVsix Include="Microsoft.VisualStudio.TextManager.Interop.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.TextManager.Interop.8.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.TextManager.Interop.9.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.TextManager.Interop.10.0.dll" />

<!-- VSSDK.Threading -->
<SuppressFromVsix Include="Microsoft.VisualStudio.Threading.dll" />

<!-- VSSDK.VSHelp -->
<SuppressFromVsix Include="Microsoft.VisualStudio.VSHelp.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.VSHelp80.dll" />

<!-- VSSDK.VSLangProj -->
<SuppressFromVsix Include="VSLangProj.dll" />
<SuppressFromVsix Include="VSLangProj2.dll" />
<SuppressFromVsix Include="VSLangProj80.dll" />
<SuppressFromVsix Include="VSLangProj90.dll" />
<SuppressFromVsix Include="VSLangProj100.dll" />
<SuppressFromVsix Include="VSLangProj110.dll" />
</ItemGroup>

</PropertyGroup>
</Project>
2 changes: 0 additions & 2 deletions VSSDK.ComponentModelHost.10/VSSDK.ComponentModelHost.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
<files>
<!-- Tools -->

<file src="install.ps1" target="tools"/>

<!-- Reference assemblies -->

<file src="$VSIDE$\PublicAssemblies\Microsoft.VisualStudio.ComponentModelHost.dll" target="lib\net40"/>
Expand Down
16 changes: 0 additions & 16 deletions VSSDK.ComponentModelHost.10/install.ps1

This file was deleted.

2 changes: 0 additions & 2 deletions VSSDK.ComponentModelHost.11/VSSDK.ComponentModelHost.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
<files>
<!-- Tools -->

<file src="install.ps1" target="tools"/>

<!-- Reference assemblies -->

<file src="$VSIDE$\PublicAssemblies\Microsoft.VisualStudio.ComponentModelHost.dll" target="lib\net45"/>
Expand Down
16 changes: 0 additions & 16 deletions VSSDK.ComponentModelHost.11/install.ps1

This file was deleted.

2 changes: 0 additions & 2 deletions VSSDK.ComponentModelHost.12/VSSDK.ComponentModelHost.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
<files>
<!-- Tools -->

<file src="install.ps1" target="tools"/>

<!-- Reference assemblies -->

<file src="$VSIDE$\PublicAssemblies\Microsoft.VisualStudio.ComponentModelHost.dll" target="lib\net45"/>
Expand Down
16 changes: 0 additions & 16 deletions VSSDK.ComponentModelHost.12/install.ps1

This file was deleted.

2 changes: 0 additions & 2 deletions VSSDK.ComponentModelHost.14/VSSDK.ComponentModelHost.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
<files>
<!-- Tools -->

<file src="install.ps1" target="tools"/>

<!-- Reference assemblies -->

<file src="$VSIDE$\PublicAssemblies\Microsoft.VisualStudio.ComponentModelHost.dll" target="lib\net45"/>
Expand Down
16 changes: 0 additions & 16 deletions VSSDK.ComponentModelHost.14/install.ps1

This file was deleted.

2 changes: 0 additions & 2 deletions VSSDK.CoreUtility.10/VSSDK.CoreUtility.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
<files>
<!-- Tools -->

<file src="install.ps1" target="tools"/>

<!-- Reference assemblies -->

<file src="$VSSDK$\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.CoreUtility.dll" target="lib\net40"/>
Expand Down
16 changes: 0 additions & 16 deletions VSSDK.CoreUtility.10/install.ps1

This file was deleted.

2 changes: 0 additions & 2 deletions VSSDK.CoreUtility.11/VSSDK.CoreUtility.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
<files>
<!-- Tools -->

<file src="install.ps1" target="tools"/>

<!-- Reference assemblies -->

<file src="$VSSDK$\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.CoreUtility.dll" target="lib\net45"/>
Expand Down
16 changes: 0 additions & 16 deletions VSSDK.CoreUtility.11/install.ps1

This file was deleted.

2 changes: 0 additions & 2 deletions VSSDK.CoreUtility.12/VSSDK.CoreUtility.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
<files>
<!-- Tools -->

<file src="install.ps1" target="tools"/>

<!-- Reference assemblies -->

<file src="$VSSDK$\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.CoreUtility.dll" target="lib\net45"/>
Expand Down
16 changes: 0 additions & 16 deletions VSSDK.CoreUtility.12/install.ps1

This file was deleted.

2 changes: 0 additions & 2 deletions VSSDK.CoreUtility.14/VSSDK.CoreUtility.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
<files>
<!-- Tools -->

<file src="install.ps1" target="tools"/>

<!-- Reference assemblies -->

<file src="$VSSDK$\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.CoreUtility.dll" target="lib\net45"/>
Expand Down
16 changes: 0 additions & 16 deletions VSSDK.CoreUtility.14/install.ps1

This file was deleted.

1 change: 0 additions & 1 deletion VSSDK.DTE.10/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ foreach ($reference in $project.Object.References)
{
"^envdte100$"
{
$reference.CopyLocal = $false;
$reference.EmbedInteropTypes = $false;
}
default
Expand Down
1 change: 0 additions & 1 deletion VSSDK.DTE.8/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ foreach ($reference in $project.Object.References)
{
"^envdte80$"
{
$reference.CopyLocal = $false;
$reference.EmbedInteropTypes = $false;
}
default
Expand Down
1 change: 0 additions & 1 deletion VSSDK.DTE.9/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ foreach ($reference in $project.Object.References)
{
"^(?:envdte(?:90|90a))$"
{
$reference.CopyLocal = $false;
$reference.EmbedInteropTypes = $false;
}
default
Expand Down
Loading