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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAnkit Jain <radical@gmail.com>2017-08-16 06:51:29 +0300
committerGitHub <noreply@github.com>2017-08-16 06:51:29 +0300
commit823bca4aed76dfa2211b885f988200cae2d49dcb (patch)
treeadc83ce21e3e5a76017c498d30b333a69c25eb0f /tools
parent45ca7b385108c402e1519a2849d187911f0a1ee5 (diff)
[msbuild] Install a `deniedAssembliesList.txt` to support denied ... (#5358)
... assemblies. msbuild tries to filter out the denied assemblies, which mono refuses to load, during a build. It uses the `deniedAssembliesList.txt` installed to `$mono_prefix/lib/mono/xbuild` to identify them. This was generated with: `$ mono tools/nuget-hash-extractor/nuget-hash-extractor.exe nugets guids_for_msbuild > mcs/tools/xbuild/data/deniedAssembliesList.txt` This file needs to be kept in sync with any changes in the assemblies denied by the runtime. msbuild PR that adds support for this - https://github.com/mono/msbuild/pull/23 .
Diffstat (limited to 'tools')
-rwxr-xr-xtools/nuget-hash-extractor/download.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/nuget-hash-extractor/download.sh b/tools/nuget-hash-extractor/download.sh
index 375666e3b6b..3e413ea2531 100755
--- a/tools/nuget-hash-extractor/download.sh
+++ b/tools/nuget-hash-extractor/download.sh
@@ -8,6 +8,12 @@ mkdir nugets
## We don’t want to fix all broken nugets we only focus on few system-like that are likely to be used by broad audience and
## we have working implementation available in one of Mono assemblies.
##
+## PLEASE keep this in sync with mcs/tools/xbuild/data/deniedAssembliesList.txt
+##
+## If any nugets are added or removed here, then make sure to regenerate the above file with:
+##
+## $ mono nuget-hash-extractor.exe nugets guids_for_msbuild > ../../mcs/tools/xbuild/data/deniedAssembliesList.txt
+##
#System.Runtime.InteropServices.RuntimeInformation
wget https://www.nuget.org/api/v2/package/System.Runtime.InteropServices.RuntimeInformation/4.3.0 -O nugets/system.runtime.interopservices.runtimeinformation.4.3.0.nupkg