Skip to content

Commit

Permalink
Create initial addin project
Browse files Browse the repository at this point in the history
  • Loading branch information
mrward committed Oct 13, 2019
0 parents commit a577456
Show file tree
Hide file tree
Showing 12 changed files with 216 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
bin
obj
*.userprefs
*.DS_Store
packages
.vs/
*.csproj.user
1 change: 1 addition & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Matt Ward <[email protected]>
7 changes: 7 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright (c) Microsoft

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.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Project System Tools for MonoDevelop and Visual Studio for Mac

Inspired by [Project System Tools for Visual Studio on Windows](https://github.com/dotnet/project-system-tools).

7 changes: 7 additions & 0 deletions contributing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Contributing

Thank you for taking the time to contribute to this project.

# License

The MonoDevelop Project Systems Tools addin is MIT licensed. By contributing to the project you agree to license your contributions by the same license.
1 change: 1 addition & 0 deletions gen-mpack.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mono /Applications/Visual\ Studio.app/Contents/Resources/lib/monodevelop/bin/vstool.exe setup pack bin/MonoDevelop.FeatureSwitch.dll
17 changes: 17 additions & 0 deletions src/MonoDevelop.ProjectSystem.Tools.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.ProjectSystem.Tools", "MonoDevelop.ProjectSystem.Tools\MonoDevelop.ProjectSystem.Tools.csproj", "{992972DC-DE0E-42BF-BB00-86B4512723BD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{992972DC-DE0E-42BF-BB00-86B4512723BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{992972DC-DE0E-42BF-BB00-86B4512723BD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{992972DC-DE0E-42BF-BB00-86B4512723BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{992972DC-DE0E-42BF-BB00-86B4512723BD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="MonoDevelop.References.props" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{992972DC-DE0E-42BF-BB00-86B4512723BD}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>MonoDevelop.ProjectSystem.Tools</RootNamespace>
<AssemblyName>MonoDevelop.ProjectSystem.Tools</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>..\..\bin</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs">
<IncludeInPackage>false</IncludeInPackage>
</Compile>
<Compile Include="Properties\AddinInfo.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Properties\MonoDevelop.ProjectSystem.Tools.addin.xml">
<LogicalName>MonoDevelop.ProjectSystem.Tools.addin.xml</LogicalName>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>
33 changes: 33 additions & 0 deletions src/MonoDevelop.ProjectSystem.Tools/MonoDevelop.References.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MDBinDir>..\..\..\monodevelop-8.1-preview1\main\build\bin</MDBinDir>
<MDBinDir Condition=" '$(MDBinDir)' == '' ">..\..\..\..\monodevelop\main\build\bin</MDBinDir>
</PropertyGroup>
<ItemGroup>
<Reference Include="Mono.Addins">
<Private>False</Private>
<HintPath>$(MDBinDir)\Mono.Addins.dll</HintPath>
</Reference>
<Reference Include="MonoDevelop.Core">
<Private>False</Private>
<HintPath>$(MDBinDir)\MonoDevelop.Core.dll</HintPath>
</Reference>
<Reference Include="MonoDevelop.Ide">
<Private>False</Private>
<HintPath>$(MDBinDir)\MonoDevelop.Ide.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
<Private>False</Private>
<HintPath>$(MDBinDir)\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System.Collections.Immutable">
<Private>False</Private>
<HintPath>$(MDBinDir)\System.Collections.Immutable.dll</HintPath>
</Reference>
<Reference Include="Xwt">
<Private>False</Private>
<HintPath>$(MDBinDir)\Xwt.dll</HintPath>
</Reference>
</ItemGroup>
</Project>
38 changes: 38 additions & 0 deletions src/MonoDevelop.ProjectSystem.Tools/Properties/AddinInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
//
// AddinInfo.cs
//
// Author:
// Matt Ward <[email protected]>
//
// Copyright (c) 2019 Microsoft Corporation
//
// 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 Mono.Addins;

[assembly: Addin (
"ProjectSystemTools",
Namespace = "MonoDevelop",
Version = "0.1",
Category = "IDE extensions")]

[assembly: AddinName ("Project System Tools")]
[assembly: AddinDescription ("Tools for working the project system")]

[assembly: AddinDependency ("Core", "8.1")]
[assembly: AddinDependency ("Ide", "8.1")]
51 changes: 51 additions & 0 deletions src/MonoDevelop.ProjectSystem.Tools/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
//
// AssemblyInfo.cs
//
// Author:
// Matt Ward <[email protected]>
//
// Copyright (c) 2019 Microsoft Corporation
//
// 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.Reflection;
using System.Runtime.CompilerServices;

// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.

[assembly: AssemblyTitle ("MonoDevelop.ProjectSystem.Tools")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[assembly: AssemblyCompany ("Microsoft")]
[assembly: AssemblyProduct ("")]
[assembly: AssemblyCopyright ("Microsoft Corporation")]
[assembly: AssemblyTrademark ("")]
[assembly: AssemblyCulture ("")]

// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion ("0.1")]

// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.

//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<ExtensionModel>
<Runtime>
<Import assembly="MonoDevelop.ProjectSystem.Tools.dll" />
</Runtime>
</ExtensionModel>

0 comments on commit a577456

Please sign in to comment.