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/msvc
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2019-03-12 20:07:19 +0300
committerGitHub <noreply@github.com>2019-03-12 20:07:19 +0300
commit92b435d6fe7c27593f791eb2bc8d77ba4b7fc17d (patch)
treeb6f879c598266d65f08900e8e12a16d6ea195da6 /msvc
parent244c1aab8ee2f03b9b180ec5bc6ce5f46f9cda10 (diff)
Move drawing types for XI/XM/wasm/orbis/unreal to System.Drawing.Common (#13414)
* Move drawing types for XI/XM/wasm/orbis/unreal to System.Drawing.Common For XI/XM they were in Xamarin.iOS.dll/OpenTK-1.0.dll before. For wasm/orbis/unreal we remove System.Drawing.dll from the profiles and add the types to System.Drawing.Common.dll instead to align with the other mobile profiles (only "net_4_x" and "build" still have System.Drawing.dll). * Bump API snapshot submodule * [csproj] Update project files
Diffstat (limited to 'msvc')
-rwxr-xr-xmsvc/scripts/genproj.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/msvc/scripts/genproj.cs b/msvc/scripts/genproj.cs
index f15d107f61f..0083abb20d2 100755
--- a/msvc/scripts/genproj.cs
+++ b/msvc/scripts/genproj.cs
@@ -1218,10 +1218,9 @@ public class MsbuildGenerator {
Console.Error.WriteLine ($"{library}: Could not find a matching project reference for {Path.GetFileName (reference)}");
Console.Error.WriteLine (" --> Adding reference with hintpath instead");
}
- var externalDrawing = (reference == Environment.GetEnvironmentVariable ("EXTERNAL_FACADE_DRAWING_REFERENCE"));
- refs.Append (" <Reference Include=\"" + (externalDrawing ? "$(EXTERNAL_FACADE_DRAWING_REFERENCE)" : reference) + "\">" + NewLine);
+ refs.Append (" <Reference Include=\"" + reference + "\">" + NewLine);
refs.Append (" <SpecificVersion>False</SpecificVersion>" + NewLine);
- refs.Append (" <HintPath>" + (externalDrawing ? "$(EXTERNAL_FACADE_DRAWING_REFERENCE)" : reference) + "</HintPath>" + NewLine);
+ refs.Append (" <HintPath>" + reference + "</HintPath>" + NewLine);
refs.Append (" <Private>False</Private>" + NewLine);
refs.Append (" </Reference>" + NewLine);
}