mhutch / monodevelop.addinmaker Goto Github PK
View Code? Open in Web Editor NEWExtension to make it easier to create Visual Studio for Mac / MonoDevelop extensions
License: MIT License
Extension to make it easier to create Visual Studio for Mac / MonoDevelop extensions
License: MIT License
Hi, is there a way for me to integrate building my addin using Travis/Appveyor/Jenkins/etc?
When I naively tried to compile I got:
C:\projects\monoags\packages\MonoDevelop.Addins.0.3.4\build\net40\MonoDevelop.Addins.targets(88,5): error : Bin directory not found: C:\Program Files (x86)\Xamarin Studio\bin
Thanks.
I don't have a lot of experience with .NET or MonoDevelop so I might have missed something, but I couldn't seem to find any explanation for only allowing Addin projects to target .NET 4.5.
For reference, it looks this restriction is set at AddinProjectFlavor.cs:48, and was first added in commit 18deb69.
I have just installed Xamarin Studio 5.10.2 (build 65) for Mac. After that I tried to install Addin Maker (1.3.0) and I'm getting the following errors:
Xamarin Studio Add-in Setup Utility
ERROR: The package '::MonoDevelop.Ide v6.0' could not be found in any repository
ERROR: The package '::MonoDevelop.Core v6.0' could not be found in any repository
ERROR: The package '::MonoDevelop.Xml v6.0' could not be found in any repository
ERROR: The package '::MonoDevelop.DesignerSupport v6.0' could not be found in any repository
Not all dependencies could be resolved.
I also tried to download Addin Maker (1.2.1) and install it manually but still getting the same errors.
Any suggestion?
I'd like Addin Maker to allow debugging of addin projects. Currently it fails with the following error:
Could not load project 'MonoDevelopAddinPackager/MonoDevelopAddinPackager.csproj' with unknown item type '{86F6BF2A-E449-4B3E-813B-9ACC37E5545F}'
I understand that this could lead to Inception-esq behaviour (each instance of XS being able to launch a new addin in debugging) but it would be very useful in the development of one of my current projects (https://github.com/matthewrdev/monodevelop-addin-packager)
When using the AddinMaker, the GTK# integration is disabled.
The project types {86F6BF2A-E449-4B3E-813B-9ACC37E5545F};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} prevents the project to add a New Dialog for example; the command New Dialog is still there but the AddFile dialog does not show them.
The workaround is to temporarily remove the ProjectTypes from the .proj file, do the integration and re-enable the project types again.
Is the correct install Addin location(?):
~/Library/Application Support/VisualStudio-7.0/LocalInstall/Addins
Also is there a way to bootstrap the install of the AddinMaker for VS4M since mdtool.exe
is not available in the install ?
mdtool.exe.mdb
and mdtool.xml
are in the bin dir.
pwd
/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin
foobar:bin sushi$ ls -l mdtool.*
-rw-r--r-- 1 sushi admin 1847 Nov 16 04:40 mdtool.exe.mdb
-rw-r--r-- 1 sushi admin 123 Nov 16 04:40 mdtool.xml
I wanted to have a look at the code and I noted that most of the types related to MonoDevelop DLLs are shown as unknown in the editor. This is because there are no references to the DLLs in the project and while it still builds fine (thanks to the custom msbuild tasks, I suppose) it is a bit annoying. What about referencing the DLLs also from the project?
With 0.3.17 the tasks switched to use Cecil directly but do not package it directly or indirectly (instead relying on the transitive dependency of Mono.Addins.CecilReflector at compile-time).
Manually adding Mono.Cecil.dll to the NuGet build\ directory fixes the issue.
While using the Addin Maker, I noticed that after adding an addin reference, removing it and refreshing the project manually, the reference would reappear.
Visually it is removed but not changes appear to be persisted to the csproj file.
Using:
Windows 8.1
Xamarin Studio 5.10
MonoDevelop.AddinMaker 1.2.1 from gallery.
Reproduce:
Add a new Addin reference.
Right click project -> Refresh
Addin reference added successfully
Right click on the addin reference just added -> Remove
Right click project -> Refresh
Removed reference returns.
The following still persists after the remove in the .csproj
file.
<ItemGroup>
<AddinReference Include="{NameOfAddinReference}" />
</ItemGroup>
I try to build VB.net project on Monodevelop on Linux Ubuntu. Get error:
Could not resolved ( >1 results ) "name dataset"
...
Point on error is in Strongly typed dataset with two datatable in relation ( in second datatable).
When I build project on VS on Windows work fine...
Please help me to resolve....
Thanks!
Martin
I am trying out Addin Maker for the first time and cannot seem to figure out how to set the addin icon.
normally I would do this:
<Addin ...>
<Header>
<Icon32>...</Icon32>
</Header>
</Addin>
How do I do this with Addin Maker?
On Windows when attempting to install AddinMaker 1.3.7 from http://addins.monodevelop.com/Stable/Win32/7.0/main.mrep
I get:
C:\monodevelop\main\build\Addins\MonoDeveloperExtensions\MonoDeveloperExtensions_nunit.dll referenced in the manifest could not be found
Xamarin Studio Version 5.10 (build 860)
Runtime: Mono 4.2.1 (explicit/8862921)
OS: OS-X 10.10.4
Installing the mpack that was generated via CreatePackage
is an IDE silent failure with no entries in the IDE log, installing via mdtool
reports:
Is it just me ;-) , an AddinMaker issue, Mono issue and/or Xamarin Studio/mdtool issue?
Thanks...
xbuild PlayScript.Addin.csproj /t:CreatePackage
mdtool setup install bin/Debug/PlayScript.Addin.PlayScript.Addin_1.0.mpack
Xamarin Studio Add-in Setup Utility
FATAL ERROR [2015-11-08 11:22:55Z]: ICSharpCode.SharpZipLib.Zip.ZipException: Version required to extract this entry not supported (45)
at ICSharpCode.SharpZipLib.Zip.ZipFile.TestLocalHeader (ICSharpCode.SharpZipLib.Zip.ZipEntry entry, Boolean fullTest, Boolean extractTest) in <filename unknown>:line 0
at ICSharpCode.SharpZipLib.Zip.ZipFile.CheckLocalHeader (ICSharpCode.SharpZipLib.Zip.ZipEntry entry) in <filename unknown>:line 0
at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream (Int32 entryIndex) in <filename unknown>:line 0
at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream (ICSharpCode.SharpZipLib.Zip.ZipEntry entry) in <filename unknown>:line 0
at Mono.Addins.Setup.AddinPackage.ReadAddinInfo (System.String file) in <filename unknown>:line 0
at Mono.Addins.Setup.AddinPackage.PackageFromFile (System.String file) in <filename unknown>:line 0
at Mono.Addins.Setup.Package.FromFile (System.String file) in <filename unknown>:line 0
at Mono.Addins.Setup.SetupTool.Install (System.String[] args) in <filename unknown>:line 0
at Mono.Addins.Setup.SetupTool.RunCommand (System.String cmd, System.String[] parms) in <filename unknown>:line 0
at Mono.Addins.Setup.SetupTool.Run (System.String[] args) in <filename unknown>:line 0
at MonoDevelopProcessHost.RunSetup (System.String[] args) in <filename unknown>:line 0
at MonoDevelopProcessHost.Main (System.String[] args) in <filename unknown>:line 0
Windows10:PlayScript.Addin administrator$ mdtool setup install bin/Debug/PlayScript.Addin.PlayScript.Addin_1.0.mpack
gacutil -l ICSharpCode.SharpZipLib
The following assemblies are installed into the GAC:
ICSharpCode.SharpZipLib, Version=4.84.0.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73
Number of items = 1
I'm creating empty new IDE Extension project, then doesn't matter if I update the MonoDevelop.Addins package or not the build fails with "error : Could not resolve addin reference 'MonoDevelop.Core'" and "error : Could not resolve addin reference 'MonoDevelop.Ide'".
I tried rebuilding and updating the add-in registry with vstool setup reg-update and reg-build but this doesn't help.
=== Visual Studio Community 2017 for Mac ===
Version 7.1.5 (build 2) Installation UUID: dbcd7d63-12ef-4166-affa-15f92e4e31a2 Runtime: Mono 5.2.0.224 (d15-3/14f2c81) (64-bit) GTK+ 2.24.23 (Raleigh theme) Package version: 502000224
=== NuGet ===
Version: 4.3.0.2418
=== .NET Core ===
Runtime: Not installed SDK: Not installed MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/Sdks
=== Xamarin.Profiler ===
Version: 1.5.5 Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Apple Developer Tools ===
Xcode 9.0 (13247) Build 9A235
=== Xamarin.Mac ===
Version: 3.6.3.3 (Visual Studio Community)
=== Xamarin.iOS ===
Version: 11.0.0.0 (Visual Studio Community) Hash: 152b654a Branch: xcode9 Build date: 2017-09-15 02:25:56-0400
=== Xamarin.Android ===
Version: 7.4.5.1 (Visual Studio Community) Android SDK: /Users/mstefanov/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 6.0 (API level 23) SDK Tools Version: 24.4.1 SDK Platform Tools Version: 23.0.1 SDK Build Tools Version: 23.0.1 Java SDK: /usr java version "1.8.0_101" Java(TM) SE Runtime Environment (build 1.8.0_101-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode) Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL
=== Xamarin Inspector ===
Version: 1.3.1 Hash: cbc48dd Branch: 1.3-release Build date: Thu, 21 Sep 2017 19:52:53 GMT Client compatibility: 1
=== Build Information ===
Release ID: 701050002 Git revision: 7afedcaef8e7542e70e3cf8f9bdb26938b8c0876 Build date: 2017-09-15 08:39:58-04 Xamarin addins: 3262aadf811a18c12eac6742532d052b0139a808 Build lane: monodevelop-lion-d15-3-xcode9
=== Operating System ===
Mac OS X 10.12.6 Darwin 16.7.0 Darwin Kernel Version 16.7.0 Thu Jun 15 17:36:27 PDT 2017 root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
=== Enabled user installed addins ===
AddinMaker 1.3.7 Manifest.addin 0.0.0.0
With the roslyn build of monodevelop, and the roslyn branch of the addin maker installed, when a reference is added to the project you get a duplicate reference added to the solution pad.
Single System.Xml node in References in the Solution pad.
Two System.Xml nodes in References.
Debugging this it looks like the addin maker refreshes all child nodes of the project when any reference is changed. Whilst MonoDevelop is not expecting this and will add a new tree node.
Not sure where best to fix this. I guess MonoDevelop could be made more defensive to handle an existing reference. Or maybe the addin maker could only refresh its AddinReferenceFolder, assuming that is all that needs to be refreshed.
Things like the AddinVersion, AddinAuthorAttribute etc. are written in the AddinInfo.cs
today and then translated into addin.info
(an xml file). In CI builds MSBuild properties typically control things like assembly authors, versions etc (duplicate information that already exists on the assembly), it'd be nice to not have an AddinInfo.cs
and instead have a single source of truth (some msbuild properties maybe).
When I attempt to build a project using the MonoDevelop.Addins
nuget package on my MacBook running macOS 10.13.3, it fails with some-odd 295 errors, which all trace back to a "Too many open files" error. Running ulimit -f unlimited
has no effect. It started doing this a few weeks ago (around the time of the VSMac 7.4 update, I think), before which addin projects compiled without issue. Until this is resolved, no addin project will build, which is a problem for me because I need to compile several addins from source for my projects. Please advise. Thanks!
It is an important requirement that Addin projects can easily be built after just git cloning a repo, and maybe running a custom script such as build.cmd (but ideally even avoid that).
Current issues:
Everything was fine, till I needed to access the GTK# Toolbox to fix some existing GUI panels (originally from the CSharpBinding
GUIs).
The GTK# Widget that is referenced in those panels are in MonoDevelop.Ide.dll
, so I added that to the GTK# ToolBox and the widgets show up. But the build generates invalid partial classes due to missing widget reference (MonoDevelop.Ide
) and that reference is not available via the AddinMaker's Addin References system so I added a manual assembly reference to MonoDevelop.Ide.dll
.
Now the debugging of the Addin fails with:
ERROR [2015-11-22 11:47:39Z]: Add-in error (MonoDevelop.Ide,5.10): Add-in could not be loaded: The required addin 'MonoDevelop.Core,5.10' is disabled.
Mono.Addins.MissingDependencyException: The required addin 'MonoDevelop.Core,5.10' is disabled.
at Mono.Addins.AddinEngine.ResolveLoadDependencies (System.Collections.ArrayList addins, System.Collections.Stack depCheck, System.String id, Boolean optional) in /Users/builder/data/lanes/2103/7c46a0b7/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/AddinEngine.cs:line 597
at Mono.Addins.AddinEngine.ResolveLoadDependencies (System.Collections.ArrayList addins, System.Collections.Stack depCheck, System.String id, Boolean optional) in /Users/builder/data/lanes/2103/7c46a0b7/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/AddinEngine.cs:line 612
ERROR [2015-11-22 11:47:39Z]: Add-in error (MonoDevelop.Core,5.10): Disabled add-ins can't be loaded.
Loaded assembly: /Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/bin/Mono.Addins.CecilReflector.dll [External]
Thread started: #3
Unloaded assembly: /Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/bin/Mono.Addins.CecilReflector.dll
Thread finished: #3
System.InvalidOperationException: Extension node not found in path: /MonoDevelop/Core/WebCredentialProviders
at Mono.Addins.ExtensionContext.GetExtensionObjects[T] (System.String path, Boolean reuseCachedInstance) in /Users/builder/data/lanes/2103/7c46a0b7/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/ExtensionContext.cs:line 636
at Mono.Addins.ExtensionContext.GetExtensionObjects[T] (System.String path) in /Users/builder/data/lanes/2103/7c46a0b7/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/ExtensionContext.cs:line 607
at Mono.Addins.AddinManager.GetExtensionObjects[T] (System.String path) in /Users/builder/data/lanes/2103/7c46a0b7/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/AddinManager.cs:line 630
at MonoDevelop.Core.WebRequestHelper.Initialize () in /Users/builder/data/lanes/2103/7c46a0b7/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/WebRequestHelper.cs:line 49
at MonoDevelop.Core.Runtime.Initialize (Boolean updateAddinRegistry) in /Users/builder/data/lanes/2103/7c46a0b7/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/Runtime.cs:line 118
Starting Xamarin Studio
FATAL ERROR [2015-11-22 11:47:42Z]: Xamarin Studio failed to start. Some of the assemblies required to run Xamarin Studio (for example gtk-sharp)may not be properly installed in the GAC.
System.InvalidOperationException: Extension node not found in path: /MonoDevelop/Core/PlatformService
at Mono.Addins.ExtensionContext.GetExtensionObjects (System.String path, System.Type arrayElementType, Boolean reuseCachedInstance) in /Users/builder/data/lanes/2103/7c46a0b7/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/ExtensionContext.cs:line 669
at Mono.Addins.ExtensionContext.GetExtensionObjects (System.String path) in /Users/builder/data/lanes/2103/7c46a0b7/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/ExtensionContext.cs:line 534
at Mono.Addins.AddinManager.GetExtensionObjects (System.String path) in /Users/builder/data/lanes/2103/7c46a0b7/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/AddinManager.cs:line 554
at MonoDevelop.Ide.DesktopService.Initialize () in /Users/builder/data/lanes/2103/7c46a0b7/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/DesktopService.cs:line 56
at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions options) in /Users/builder/data/lanes/2103/7c46a0b7/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:line 175
at MonoDevelop.Ide.IdeStartup.Main (System.String[] args, MonoDevelop.Ide.Extensions.IdeCustomizer customizer) in /Users/builder/data/lanes/2103/7c46a0b7/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:line 652
I removed the assembly reference, removed the GTK Toolbox MonoDevelop components/widget, etc.. but the problem persists.
I'm stumped...MonoDevelop and Xamarin Studio run fine by themselves, so how do I re-enable(?) the MonoDevelop.Core
addin in the AddinMaker Project?
The NewtonSoft.Json assembly is in the bin directory since it's referenced by core, but core doesn't actually use it, so the addinmaker scan doesn't find and reference it.
The ResolveMonoDevelopLocations
target selectively save the results of GetDefaultMonoDevelopLocations
if the property isn't defined already.
Although this works fine with straight MSBuild it doesn't appear to work properly inside VSfM where a manual override of MDBinDir
is not respected.
New UI should be done with Xwt, not gtk-sharp. Consider adding it to the main addin references.
Building an Addin project currently throws this error:
Error: Please remove TargetFrameworkVersion from your project file
Removing the <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
node from the project file makes it unloadable in XS.
Judging by the source code, this error is thrown when TargetFrameworkVersion != the addin maker version, but the addin version is set to 4.6.1 so this condition is always false.
I didn't know if this Add-In was an independent project or if I should report this in the Xamarin Bugtracker - but since the github bugtrackers for your projects are normally disabled and linked to the Xamarin tracker, I reported it here.
Hi, I tried to open this project with MonoDevelop-5.0.1 in Linux since I haven't been able to locate the Addin Maker addin in the Linux addin repository of MonoDevelop, but I can't get it to work.
I get the error:
Could not load project 'MonoDevelop.AddinMaker.csproj' with unknown item type '{7DBEB09D-BB9F-4D92-A141-A009135475EF}'
which seems be due to the fact that Addin Maker is missing in the Linux Addin-Repo.
Just for fun adding the windows repository used in Xamarin Studio and installing the Addin Maker gave me the possiblity to open the project in MonoDevelop, building however results in 2 Errors I haven't been able to resolve:
Build started 02.09.2014 11:30:57.
__________________________________________________
Project "/coding/MonoDevelop.AddinMaker/MonoDevelop.AddinMaker.csproj" (Build target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Created directory "bin/Debug/"
Created directory "obj/Debug/"
Target _MDResolveAddinReferences:
/coding/MonoDevelop.AddinMaker/MonoDevelop.Addins.Tasks/bin/Debug/MonoDevelop.Addins.Common.targets: error : Could not resolve addin reference MonoDevelop.Core
/coding/MonoDevelop.AddinMaker/MonoDevelop.Addins.Tasks/bin/Debug/MonoDevelop.Addins.Common.targets: error : Could not resolve addin reference MonoDevelop.Ide
Task "ResolveMonoDevelopAddins" execution -- FAILED
Done building target "_MDResolveAddinReferences" in project "/coding/MonoDevelop.AddinMaker/MonoDevelop.AddinMaker.csproj".-- FAILED
Done building project "/coding/MonoDevelop.AddinMaker/MonoDevelop.AddinMaker.csproj".-- FAILED
Build FAILED.
Errors:
/coding/MonoDevelop.AddinMaker/MonoDevelop.AddinMaker.csproj (Build) ->
/coding/MonoDevelop.AddinMaker/MonoDevelop.Addins.Tasks/bin/Debug/MonoDevelop.Addins.Common.targets (_MDResolveAddinReferences target) ->
/coding/MonoDevelop.AddinMaker/MonoDevelop.Addins.Tasks/bin/Debug/MonoDevelop.Addins.Common.targets: error : Could not resolve addin reference MonoDevelop.Core
/coding/MonoDevelop.AddinMaker/MonoDevelop.Addins.Tasks/bin/Debug/MonoDevelop.Addins.Common.targets: error : Could not resolve addin reference MonoDevelop.Ide
0 Warning(s)
2 Error(s)
Adding MonoDevelop.Core and MonoDevelop.Ide to the dependencies didn't resolve the problem.
To repro:
git clone [email protected]:mono/monodevelop.git
cd monodevelop
git checkout roslyn
git submodule update --init --recursive
make
cd ..
git clone https://github.com/mhutch/MonoDevelop.AddinMaker
cd MonoDevelop.AddinMaker
nuget restore MonoDevelop.AddinMaker.sln
make install /p:MDBinDir=../monodevelop/main/build/bin /p:MDProfileVersion=6.0
The build then fails since it seems to find addin dlls from the monodevelop/main/build/test directory.
MonoDevelop.AddinMaker/MonoDevelop.Addins.Tasks/bin/Debug/MonoDevelop.Addins.targets: error : Errors found in add-in 'monodevelop/main/build/tests/MonoDevelop.CSharpBinding.dll:
MonoDevelop.AddinMaker/MonoDevelop.Addins.Tasks/bin/Debug/MonoDevelop.Addins.targets: error : The file 'monodevelop/main/build/tests/MonoDevelop.CSharpBinding.Autotools.dll' referenced in the manifest could not be found.
MonoDevelop.AddinMaker/MonoDevelop.Addins.Tasks/bin/Debug/MonoDevelop.Addins.targets: error : The file 'monodevelop/main/build/tests/MonoDevelop.CSharpBinding.AspNet.dll' referenced in the manifest could not be found.
I ended up removing the tests directory to resolve this. Just wondering if the tests directory should be excluded.
In Visual Studio for Mac (version details attached), when a developer adds an Addin Reference to an addin/extension project, it fails with the message Save Failed. Upon closing and reopening the addin project, the added reference is not included.
This is an issue as addin developers cannot reference other addins. For me, this means that MFractor cannot support Visual Studio for Mac as I cannot reference core addins like MonoDevelop.MonoAndroid, MonoDevelop.Refactoring etc.
Based on the log information, I can see an exception is being thrown by the MSBuild addin:
ERROR [2017-05-11 10:48:20Z]: Save failed.
System.InvalidOperationException: Item doesn't have a name
at MonoDevelop.Projects.MSBuild.MSBuildProject.AddItem (MonoDevelop.Projects.MSBuild.MSBuildItem it, MonoDevelop.Projects.MSBuild.MSBuildItem beforeItem) [0x00042] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.MSBuild/MSBuildProject.cs:860
at MonoDevelop.Projects.MSBuild.MSBuildProject.AddItem (MonoDevelop.Projects.MSBuild.MSBuildItem it) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.MSBuild/MSBuildProject.cs:843
at MonoDevelop.Projects.MSBuild.MSBuildProject.AddNewItem (System.String name, System.String include, MonoDevelop.Projects.MSBuild.MSBuildItem beforeItem) [0x00025] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.MSBuild/MSBuildProject.cs:830
at MonoDevelop.Projects.MSBuild.MSBuildProject.AddNewItem (System.String name, System.String include) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.MSBuild/MSBuildProject.cs:819
at MonoDevelop.Projects.Project.SaveProjectItem (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject, MonoDevelop.Projects.ProjectItem item, System.Collections.Generic.Dictionary`2[TKey,TValue] expandedItems, System.Collections.Generic.HashSet`1[T] unusedItems, System.Collections.Generic.HashSet`1[T] loadedItems, System.String pathPrefix) [0x00423] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/Project.cs:3297
at MonoDevelop.Projects.Project.SaveProjectItems (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject, System.Collections.Generic.HashSet`1[T] loadedItems, System.String pathPrefix) [0x00046] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/Project.cs:3152
at MonoDevelop.Projects.Project.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00019] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/Project.cs:2870
at MonoDevelop.Projects.DotNetProject.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetProject.cs:1819
at MonoDevelop.Projects.Project+DefaultMSBuildProjectExtension.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/Project.cs:3900
at MonoDevelop.Projects.ProjectExtension.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectExtension.cs:143
at MonoDevelop.Projects.ProjectExtension.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectExtension.cs:143
at MonoDevelop.Projects.ProjectExtension.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectExtension.cs:143
at MonoDevelop.Projects.SharedAssetsProjects.SharedAssetsProjectMSBuildExtension.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject project) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.SharedAssetsProjects/SharedAssetsProjectMSBuildExtension.cs:65
at MonoDevelop.Projects.ProjectExtension.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectExtension.cs:143
at MonoDevelop.PackageManagement.PackageManagementMSBuildExtension.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00007] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/PackageManagementMSBuildExtension.cs:45
at MonoDevelop.Projects.ProjectExtension.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectExtension.cs:143
at MonoDevelop.Projects.ProjectExtension.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectExtension.cs:143
at MonoDevelop.Projects.ProjectExtension.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectExtension.cs:143
at MonoDevelop.Projects.ProjectExtension.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectExtension.cs:143
at MonoDevelop.Projects.ProjectExtension.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectExtension.cs:143
at MonoDevelop.Packaging.DotNetProjectPackagingExtension.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/addins/MonoDevelop.Packaging/MonoDevelop.Packaging/DotNetProjectPackagingExtension.cs:54
at MonoDevelop.Projects.ProjectExtension.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectExtension.cs:143
at MonoDevelop.Projects.ProjectExtension.OnWriteProject (MonoDevelop.Core.ProgressMonitor monitor, MonoDevelop.Projects.MSBuild.MSBuildProject msproject) [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectExtension.cs:143
at MonoDevelop.Projects.Project.WriteProject (MonoDevelop.Core.ProgressMonitor monitor) [0x0003f] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/Project.cs:2295
at MonoDevelop.Projects.Project+<>c__DisplayClass222_0.<WriteProjectAsync>b__0 () [0x00000] in /Users/builder/data/lanes/4693/7553fda2/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/Project.cs:2275
at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in /private/tmp/source-mono-2017-02/bockbuild-2017-02/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/threading/Tasks/Future.cs:680
at System.Threading.Tasks.Task.Execute () [0x00010] in /private/tmp/source-mono-2017-02/bockbuild-2017-02/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2502
Upon including an Addin Reference, the save completes successfully and the addin is included into the addin project without issue.
When including an Addin Reference, the save operation fails and the addin is not included into the addin project.
Where is it? I cannot find it anymore.
Per the results of this VS Community issue creating a GitHub issue.
To reproduce:
Add the AddinMaker 1.3.7 extension to VS for Mac
Add a new extension project to your solution
Build the new project
Expected results
The extension project builds with no warnings or errors
Actual results
/Library/Frameworks/Mono.framework/Versions/5.0.1/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets(5,5): Warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed. (MSB3277) (Foo)
When I build with verbosity set to details:
There was a conflict between "ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73" and "ICSharpCode.SharpZipLib, Version=4.84.0.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73". "ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73" was chosen because it was primary and "ICSharpCode.SharpZipLib, Version=4.84.0.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73" was not. References which depend on "ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73" [/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/ICSharpCode.SharpZipLib.dll]. /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/ICSharpCode.SharpZipLib.dll Project file item includes which caused reference "/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/ICSharpCode.SharpZipLib.dll". ICSharpCode.SharpZipLib References which depend on "ICSharpCode.SharpZipLib, Version=4.84.0.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73" [/Library/Frameworks/Mono.framework/Versions/5.0.1/lib/mono/4.6.1-api/ICSharpCode.SharpZipLib.dll]. /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/Mono.Addins.Setup.dll Project file item includes which caused reference "/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/Mono.Addins.Setup.dll". Mono.Addins.Setup MonoDevelop.Ide MonoDevelop.Core Mono.Addins.Gui /Library/Frameworks/Mono.framework/Versions/5.0.1/lib/mono/gac/monodoc/1.0.0.0_0738eb9f132ed756/monodoc.dll Project file item includes which caused reference "/Library/Frameworks/Mono.framework/Versions/5.0.1/lib/mono/gac/monodoc/1.0.0.0_0738eb9f132ed756/monodoc.dll". MonoDevelop.Ide MonoDevelop.Core /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MonoDevelop.Ide.dll Project file item includes which caused reference "/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MonoDevelop.Ide.dll". MonoDevelop.Ide
/Library/Frameworks/Mono.framework/Versions/5.0.1/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets(1980,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed. [/Users/ncook/Insightly/mobile/FooBar/FooBar.csproj]
Full version info:
=== Visual Studio Professional 2017 for Mac
=== Version 7.0.1 (build 24) Installation UUID: 3234d07d-f7a0-4180-b21d-d2c24ed872f6 Runtime: Mono 5.0.1.1 (2017-02/5077205) (64-bit) GTK+ 2.24.23 (Raleigh theme) Package version: 500010001
=== NuGet === Version: 4.0.0.2323
=== .NET Core === Runtime: /usr/local/share/dotnet/dotnet SDK: /usr/local/share/dotnet/sdk/1.0.0-preview2-003156/Sdks MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.0.1/lib/mono/msbuild/15.0/bin/Sdks === Xamarin.Profiler
=== Version: 1.5.4 Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler === Xamarin.Android
=== Version: 7.3.1.2 (Visual Studio Professional) Android SDK: /Users/ncook/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 4.4 (API level 19) 5.0 (API level 21) 5.1 (API level 22) 6.0 (API level 23) 7.0 (API level 24) 7.1 (API level 25) SDK Tools Version: 25.2.5 SDK Platform Tools Version: 25.0.6 SDK Build Tools Version: 25.0.3 Java SDK: /usr java version "1.8.0_102" Java(TM) SE Runtime Environment (build 1.8.0_102-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode) Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL
=== Apple Developer Tools
=== Xcode 8.3.2 (12175) Build 8E2002
=== Xamarin.iOS === Version: 10.10.0.36 (Visual Studio Professional) Hash: d2270eec Branch: d15-2 Build date: 2017-05-22 16:30:53-0400
=== Xamarin.Mac === Version: 3.4.0.36 (Visual Studio Professional)
=== Xamarin Inspector === Version: 1.2.2 Hash: b71b035 Branch: d15-1 Build date: Fri, 21 Apr 2017 17:57:12 GMT
=== Build Information
=== Release ID: 700010024 Git revision: 7ab1ca2ced6f584e56b7a0d4d321d00775cd95c9 Build date: 2017-05-19 05:44:51-04 Xamarin addins: 08d17158f3365beee5e60f67999e607cce4b3f93 Build lane: monodevelop-lion-d15-2
=== Operating System
=== Mac OS X 10.12.5 Darwin 16.6.0 Darwin Kernel Version 16.6.0 Fri Apr 14 16:21:16 PDT 2017 root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64
=== Enabled user installed addins === AddinMaker 1.3.7
When building my addin project from command line using:
msbuild /p:MDProfileVersion="7.0"
I get the following error:
ResolveMonoDevelopLocations:
MDConfigDir: /Users/ycmac/Library/Preferences/VisualStudio/7.0
MDAddinsDir: /Users/ycmac/Library/Application Support/VisualStudio/7.0/LocalInstall/Addins
MDBinDir: /Applications/Xamarin Studio.app/Contents/MacOS/lib/monodevelop/bin
/Users/ycmac/Repos/AT-DockerForMac/MonoDevelop.Docker/packages/MonoDevelop.Addins.0.3.10/build/net40/MonoDevelop.Addins.targets(84,5): error : Bin directory not found: /Applications/Xamarin Studio.app/Contents/MacOS/lib/monodevelop/bin [/Users/ycmac/Repos/AT-DockerForMac/MonoDevelop.Docker/MonoDevelop.Docker/MonoDevelop.Docker.csproj]
Done Building Project "/Users/ycmac/Repos/A
Because the MDBinDir was not set correctly for Visual Studio for Mac which should be:
/Applications/Visual Studio.app/Contents/MacOS/lib/monodevelop/bin
I'm working on valabindings and each time I launch the my addin in debug mode, I can't load vala project because my addin is not registred in the new MD instance.
Is there something I should do ?
My addin needs some specific addins (like automake, gettext to launch) so I run /path/to/MonoDevelop.exe
as my execute action.
If I don't, I don't get the dependency addins (automake, gettextt, installed)
After creating a project, Mono.Addins types in AddinInfo.cs are not not resolved.
XS 6.0 (build 4520)
Addin Maker 1.3.0 installed from gallery
Since upgrading to XS6 and Addin Maker 1.3.0, I can no longer set my addin project to be the startup project of my solution.
I can still debug via the Start Debugging Item
context menu option, it's just much less convenient than cmd+enter. :-)
Screenshot below with a fresh addin project:
VS refuses to open projects with the AddinMaker ProjectTypeGuid. We should find a different way (such as a capability) to recognize Addin projects such that they can be opened in both VS and VS for Mac.
I'm getting a build error saying:
/Users/jz/Desktop/development/repositories/Xamarin-ResxEditor/packages/MonoDevelop.Addins.0.4.1/build/MonoDevelop.Addins.targets(125,5): error : Could not write folder info file: System.IO.IOException: Too many open files [/Users/jz/Desktop/development/repositories/Xamarin-ResxEditor/src/ResxEditor/ResxEditor.csproj]
Im running on OSX and the project is this. You could also have some information in the CI server with the same problem.
Can you give me some hint on this?
Given a new MD addin, AddinInfo.cs contains this:
//
// AddinInfo.cs
//
// Author:
// Mikayla Hutchinson <[email protected]> // not ok
//
// Copyright (c) 2017 Microsoft Corp. // not ok
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using Mono.Addins;
using Mono.Addins.Description;
[assembly: Addin(
"MEFSatisfied", // ok
Namespace = "MEFSatisfied", // ok
Version = "1.0" // ok
)]
[assembly: AddinName("MEFSatisfied")] // ok
[assembly: AddinCategory("IDE extensions")] // ok
[assembly: AddinDescription("MEFSatisfied")] // ok
[assembly: AddinAuthor("Mikayla Hutchinson")] // not ok
XS 6.0 (build 4520)
Addin Maker 1.3.0 installed from gallery
OS: Mac OS X Yosemite
(this works fine on Windows)
When debugging an addin project in a default install of XS6, launch of the new XS instance fails because it is using the default configured .NET runtime, which is 32-bit. XS6 on Mac now requires 64-bit Mono.
You need to go to Preferences -> Projects -> .NET Runtimes
and select a 64-bit runtime.
Filing an issue because I'm not sure it makes sense to require this setting globally.
Todd ran into an issue with AddinMaker 1.4.2 on a Mac where having a custom StartProgram defined in his .csproj would result in AddinMaker crashing with Specified cast is not valid:
ERROR [2018-04-16 10:55:47Z]: Execution failed
System.InvalidCastException: Specified cast is not valid.
at MonoDevelop.AddinMaker.AddinProjectFlavor.OnCreateExecutionCommand (MonoDevelop.Projects.ConfigurationSelector configSel, MonoDevelop.Projects.DotNetProjectConfiguration configuration, MonoDevelop.Projects.ProjectRunConfiguration runConfiguration) [0x00009] in <4a319dda1249491a8dda9024f800d5fb>:0
at MonoDevelop.Projects.DotNetProjectExtension.OnCreateExecutionCommand (MonoDevelop.Projects.ConfigurationSelector configSel, MonoDevelop.Projects.DotNetProjectConfiguration configuration, MonoDevelop.Projects.ProjectRunConfiguration runConfiguration) [0x00001] in /Users/todd/src/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetProjectExtension.cs:104
at MonoDevelop.Projects.DotNetProject.CreateExecutionCommand (MonoDevelop.Projects.ConfigurationSelector configSel, MonoDevelop.Projects.DotNetProjectConfiguration configuration, MonoDevelop.Projects.ProjectRunConfiguration runConfiguration) [0x00001] in /Users/todd/src/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetProject.cs:1348
at MonoDevelop.Projects.DotNetProject+d__178.MoveNext () [0x00094] in /Users/todd/src/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetProject.cs:1847
I'm trying to install the addin I'm writing and the command tools/install
doesn't install the addin in monodevelop.
How am I supposed to do it?
I am trying to run Install.sh and have got an error
XBuild Engine Version 12.0
Mono, Version 3.10.0.0
Copyright (C) 2005-2013 Various Mono authors
Build started 1/7/2015 2:55:04 AM.
Project "/home/sergey/Projects/MonoDevelop/MonoDevelop.AddinMaker/MonoDevelop.AddinMaker.sln" (Build target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Debug|Any CPU".
Target Build:
Project "/home/sergey/Projects/MonoDevelop/MonoDevelop.AddinMaker/MonoDevelop.Addins.Tasks/MonoDevelop.Addins.Tasks.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
Target CoreCompile:
Skipping target "CoreCompile" because its outputs are up-to-date.
Target _CopyDeployFilesToOutputDirectoryPreserveNewest:
Skipping target "_CopyDeployFilesToOutputDirectoryPreserveNewest" because its outputs are up-to-date.
Done building project "/home/sergey/Projects/MonoDevelop/MonoDevelop.AddinMaker/MonoDevelop.Addins.Tasks/MonoDevelop.Addins.Tasks.csproj".
Project "/home/sergey/Projects/MonoDevelop/MonoDevelop.AddinMaker/MonoDevelop.AddinMaker.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Target ResolveMonoDevelopLocations:
MDConfigDir: /home/sergey/.config/MonoDevelop-5.0
MDAddinsDir: /home/sergey/.local/share/MonoDevelop-5.0/LocalInstall
MDBinDir: /usr/lib/monodevelop/bin
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
Target _MDGenerateDependencyAttributes:
Skipping target "_MDGenerateDependencyAttributes" because its outputs are up-to-date.
Target CoreCompile:
Skipping target "CoreCompile" because its outputs are up-to-date.
Target _CopyDeployFilesToOutputDirectoryPreserveNewest:
Skipping target "_CopyDeployFilesToOutputDirectoryPreserveNewest" because its outputs are up-to-date.
Done building project "/home/sergey/Projects/MonoDevelop/MonoDevelop.AddinMaker/MonoDevelop.AddinMaker.csproj".
Done building project "/home/sergey/Projects/MonoDevelop/MonoDevelop.AddinMaker/MonoDevelop.AddinMaker.sln".
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.8517760
XBuild Engine Version 12.0
Mono, Version 3.10.0.0
Copyright (C) 2005-2013 Various Mono authors
Build started 1/7/2015 2:55:05 AM.
Project "/home/sergey/Projects/MonoDevelop/MonoDevelop.AddinMaker/MonoDevelop.AddinMaker.csproj" (InstallAddin target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Target ResolveMonoDevelopLocations:
MDConfigDir: /home/sergey/.config/MonoDevelop-5.0
MDAddinsDir: /home/sergey/.local/share/MonoDevelop-5.0/LocalInstall
MDBinDir: /usr/lib/monodevelop/bin
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
Target _MDGenerateDependencyAttributes:
Skipping target "_MDGenerateDependencyAttributes" because its outputs are up-to-date.
Target CoreCompile:
Skipping target "CoreCompile" because its outputs are up-to-date.
Target _CopyDeployFilesToOutputDirectoryPreserveNewest:
Skipping target "_CopyDeployFilesToOutputDirectoryPreserveNewest" because its outputs are up-to-date.
Target CreatePackage:
Created package: bin/Debug/MonoDevelop.AddinMaker_1.1.0.mpack
Target InstallAddin:
/home/sergey/Projects/MonoDevelop/MonoDevelop.AddinMaker/MonoDevelop.Addins.Tasks/bin/Debug/MonoDevelop.Addins.targets: error : Error executing task Exec: Task does not have property "StandardOutputImportance" defined
: error : Error building target InstallAddin: Object reference not set to an instance of an object
MonoDevelop.AddinMaker.csproj: error : Object reference not set to an instance of an object
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.TaskFinishedHandler (Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger.TaskFinishedHandler (System.Object sender, Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.BuildEvent.ExecuteFinishedHandler (Microsoft.Build.Framework.BuildStatusEventArgs finished_args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.PopEvent[ProjectFinishedEventArgs](Microsoft.Build.Framework.ProjectFinishedEventArgs finished_args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger.PopEvent[ProjectFinishedEventArgs](System.Object sender, Microsoft.Build.Framework.ProjectFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.EventSource.FireProjectFinished (System.Object sender, Microsoft.Build.Framework.ProjectFinishedEventArgs pfea) [0x00000] in :0
at Microsoft.Build.BuildEngine.Engine.LogProjectFinished (Microsoft.Build.BuildEngine.Project project, Boolean succeeded) [0x00000] in :0
at Microsoft.Build.BuildEngine.Engine.EndProjectBuild (Microsoft.Build.BuildEngine.Project project, Boolean succeeded) [0x00000] in :0
at Microsoft.Build.BuildEngine.Project.Build (System.String[] targetNames, IDictionary targetOutputs, BuildSettings buildFlags) [0x00000] in :0
at Microsoft.Build.BuildEngine.Engine.BuildProjectFileInternal (System.String projectFile, System.String[] targetNames, Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties, IDictionary targetOutputs, BuildSettings buildFlags, System.String toolsVersion) [0x00000] in :0
at Microsoft.Build.BuildEngine.Engine.BuildProjectFile (System.String projectFile, System.String[] targetNames, Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties, IDictionary targetOutputs, BuildSettings buildFlags, System.String toolsVersion) [0x00000] in :0
Build FAILED.
Errors:
/home/sergey/Projects/MonoDevelop/MonoDevelop.AddinMaker/MonoDevelop.AddinMaker.csproj (InstallAddin) ->
/home/sergey/Projects/MonoDevelop/MonoDevelop.AddinMaker/MonoDevelop.Addins.Tasks/bin/Debug/MonoDevelop.Addins.targets (InstallAddin target) ->
/home/sergey/Projects/MonoDevelop/MonoDevelop.AddinMaker/MonoDevelop.Addins.Tasks/bin/Debug/MonoDevelop.Addins.targets: error : Error executing task Exec: Task does not have property "StandardOutputImportance" defined
: error : Error building target InstallAddin: Object reference not set to an instance of an object
MonoDevelop.AddinMaker.csproj: error : Object reference not set to an instance of an object
0 Warning(s)
3 Error(s)
Time Elapsed 00:00:01.3823090
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.TaskFinishedHandler (Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger.TaskFinishedHandler (System.Object sender, Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.BuildEvent.ExecuteFinishedHandler (Microsoft.Build.Framework.BuildStatusEventArgs finished_args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.PopEvent[BuildFinishedEventArgs](Microsoft.Build.Framework.BuildFinishedEventArgs finished_args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.BuildFinishedHandlerActual (Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.BuildFinishedHandler (Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger.BuildFinishedHandler (System.Object sender, Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.EventSource.FireBuildFinished (System.Object sender, Microsoft.Build.Framework.BuildFinishedEventArgs bfea) [0x00000] in :0
at Microsoft.Build.BuildEngine.Engine.LogBuildFinished (Boolean succeeded) [0x00000] in :0
at Microsoft.Build.BuildEngine.Engine.EndEngineBuild (Boolean succeeded) [0x00000] in :0
at Microsoft.Build.BuildEngine.Engine.BuildProjectFile (System.String projectFile, System.String[] targetNames, Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties, IDictionary targetOutputs, BuildSettings buildFlags, System.String toolsVersion) [0x00000] in :0
at Mono.XBuild.CommandLine.MainClass.Execute () [0x00000] in :0
at Mono.XBuild.CommandLine.MainClass.Main (System.String[] args) [0x00000] in :0
Build succeeded.
Errors:
/home/sergey/Projects/MonoDevelop/MonoDevelop.AddinMaker/MonoDevelop.AddinMaker.csproj (InstallAddin) ->
/home/sergey/Projects/MonoDevelop/MonoDevelop.AddinMaker/MonoDevelop.Addins.Tasks/bin/Debug/MonoDevelop.Addins.targets (InstallAddin target) ->
/home/sergey/Projects/MonoDevelop/MonoDevelop.AddinMaker/MonoDevelop.Addins.Tasks/bin/Debug/MonoDevelop.Addins.targets: error : Error executing task Exec: Task does not have property "StandardOutputImportance" defined
: error : Error building target InstallAddin: Object reference not set to an instance of an object
MonoDevelop.AddinMaker.csproj: error : Object reference not set to an instance of an object
0 Warning(s)
3 Error(s)
Time Elapsed 00:00:01.3868540
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.TaskFinishedHandler (Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger.TaskFinishedHandler (System.Object sender, Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.BuildEvent.ExecuteFinishedHandler (Microsoft.Build.Framework.BuildStatusEventArgs finished_args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.PopEvent[BuildFinishedEventArgs](Microsoft.Build.Framework.BuildFinishedEventArgs finished_args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.BuildFinishedHandlerActual (Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.BuildFinishedHandler (Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger.BuildFinishedHandler (System.Object sender, Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.EventSource.FireBuildFinished (System.Object sender, Microsoft.Build.Framework.BuildFinishedEventArgs bfea) [0x00000] in :0
at Microsoft.Build.BuildEngine.Engine.LogBuildFinished (Boolean succeeded) [0x00000] in :0
at Microsoft.Build.BuildEngine.Engine.UnregisterAllLoggers () [0x00000] in :0
at Mono.XBuild.CommandLine.MainClass.Execute () [0x00000] in :0
at Mono.XBuild.CommandLine.MainClass.Main (System.String[] args) [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.TaskFinishedHandler (Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger.TaskFinishedHandler (System.Object sender, Microsoft.Build.Framework.TaskFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.BuildEvent.ExecuteFinishedHandler (Microsoft.Build.Framework.BuildStatusEventArgs finished_args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.PopEvent[BuildFinishedEventArgs](Microsoft.Build.Framework.BuildFinishedEventArgs finished_args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.BuildFinishedHandlerActual (Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger+BuildRecord.BuildFinishedHandler (Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.ConsoleLogger.BuildFinishedHandler (System.Object sender, Microsoft.Build.Framework.BuildFinishedEventArgs args) [0x00000] in :0
at Microsoft.Build.BuildEngine.EventSource.FireBuildFinished (System.Object sender, Microsoft.Build.Framework.BuildFinishedEventArgs bfea) [0x00000] in :0
at Microsoft.Build.BuildEngine.Engine.LogBuildFinished (Boolean succeeded) [0x00000] in :0
at Microsoft.Build.BuildEngine.Engine.UnregisterAllLoggers () [0x00000] in :0
at Mono.XBuild.CommandLine.MainClass.Execute () [0x00000] in :0
at Mono.XBuild.CommandLine.MainClass.Main (System.String[] args) [0x00000] in :0
In sub-path completion for the extension point /MonoDevelop/Ide/Commands/
, there are duplicate entries.
Commit 65ee103 made it impossible to build an addin that references Mono.TextEditor.
AddinMaker 0.3.0 works fine.
Newly added addin references do not show up in code completion.
The required version for addin references doesn't seem to have an effect.
I've set it in the properties of the reference in Xamarin Studio, and it saves to the .csproj. However, the built addin dll has an AddinDependency attribute with the current version, not the explicitly specified version.
I believe this line is the culprit, where it uses the addin's current version rather than checking if something is specified by addinName.GetMetadata("Version")
first.
Also, there does not seem to be a way to specify the required version for MonoDevelop.Core and MonoDevelop.Ide.. unless I missed something? I tried adding the AddinDependencyAttribute to the assembly with an explicit required version, but it was just duplicated by the addin with the current version of Xamarin Studio.
Can't add dialog, there is no Gtk tab in New File dialog?
are there any way to add Gtk dialog?
The NuGet package reference in new projects is out of date.
If the mpack contains a duplicate file under the same path, report an msbuild warning.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.