Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikayla Hutchinson <m.j.hutchinson@gmail.com>2019-01-13 11:03:02 +0300
committerMikayla Hutchinson <m.j.hutchinson@gmail.com>2019-01-13 11:29:12 +0300
commite17d92257c59ee8685bb46f0c44b48a429ce9bd1 (patch)
treebaf339c9522cae0fe652cc681ade8a6dbb31d6d8 /main/src/addins/MonoDevelop.UnitTesting
parent15e09661ada184d7effde511fa57cac96f378aae (diff)
Suppress NuGet local copies unless explicitly listed in project
NuGet's PrivateAssets="runtime" does not work, resulting in transitive references local copying their assemblies into every project. This works around that by filtering out all local copies that are not explictly listed. This also makes it much harder to accidentally introduce local copies, which is good as local copies in general are are not desirable due to the way that dlls are loaded by the extension system.
Diffstat (limited to 'main/src/addins/MonoDevelop.UnitTesting')
-rw-r--r--main/src/addins/MonoDevelop.UnitTesting/MonoDevelop.UnitTesting.csproj6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.UnitTesting/MonoDevelop.UnitTesting.csproj b/main/src/addins/MonoDevelop.UnitTesting/MonoDevelop.UnitTesting.csproj
index 57061dab26..264728ae52 100644
--- a/main/src/addins/MonoDevelop.UnitTesting/MonoDevelop.UnitTesting.csproj
+++ b/main/src/addins/MonoDevelop.UnitTesting/MonoDevelop.UnitTesting.csproj
@@ -20,6 +20,12 @@
<Reference Include="System.Runtime" />
<Reference Include="System.Runtime.Serialization" />
<PackageReference Include="Microsoft.TestPlatform.TranslationLayer" Version="$(NuGetVersionMicrosoftTestPlatform)" />
+ <IncludeCopyLocal Include="Microsoft.TestPlatform.CoreUtilities.dll" />
+ <IncludeCopyLocal Include="Microsoft.TestPlatform.PlatformAbstractions.dll" />
+ <IncludeCopyLocal Include="Microsoft.VisualStudio.TestPlatform.ObjectModel.dll" />
+ <IncludeCopyLocal Include="Microsoft.TestPlatform.CommunicationUtilities.dll" />
+ <IncludeCopyLocal Include="Microsoft.TestPlatform.VsTestConsole.TranslationLayer.dll" />
+ <IncludeCopyLocal Include="Microsoft.VisualStudio.TestPlatform.Common.dll" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\core\MonoDevelop.Core\MonoDevelop.Core.csproj">