Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Use Mono for monodoc.dll on Windows #4700

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

directhex
Copy link
Contributor

We've told people to use "MonoLiraries.msi" for years to satisfy MonoDevelop build dependencies on Windows. This is antique - grabbed from Mono 2.6, signed with an expired Novell Authenticode cert. Much better to use monodoc.dll from a Mono installation than from MonoLibraries.msi

This patch adds a conditional HintPath to the Mono install directory

Tested as fixing builds on Windows, and not breaking on Linux.

Jo Shields added 2 commits May 1, 2018 10:30
We've told people to use "MonoLiraries.msi" for years to satisfy MonoDevelop build dependencies on Windows. This is antique - grabbed from Mono 2.6, signed with an expired Novell Authenticode cert. Much better to use monodoc.dll from a Mono installation than from MonoLibraries.msi
@directhex directhex requested a review from Therzok May 1, 2018 17:40
@directhex directhex requested review from mrward and slluis as code owners May 1, 2018 17:40
Copy link
Member

@slluis slluis left a comment

Choose a reason for hiding this comment

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

Mono is not a build dependency of MonoDevelop on Windows.

@directhex
Copy link
Contributor Author

@slluis do you have a better solution than "install these Novell-signed pieces of Mono 2.6 into the .NET GAC"? That's the current dependency.

Hell, this shouldn't actually change that - HintPath isn't mandatory, msbuild will still resolve a GAC copy from MonoLibraries.msi as a fallback

@mhutch
Copy link
Contributor

mhutch commented May 2, 2018

See also #4434

@@ -137,7 +137,10 @@
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="monodoc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
<Reference Include="monodoc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
<HintPath Condition="'$(OS)' == 'Windows_NT'">$(MSBuildProgramFiles32)\Mono\lib\mono\monodoc\monodoc.dll</HintPath>
Copy link
Contributor

Choose a reason for hiding this comment

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

That means we depend on mono on Windows to build monodevelop. 👎 from me. We should have a nuget

Base automatically changed from master to main March 9, 2021 14:17
@akoeplinger akoeplinger changed the base branch from main to master March 15, 2021 17:02
Base automatically changed from master to main March 15, 2021 17:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants