diff --git a/data/resources/StringResources.resx b/data/resources/StringResources.resx index 49d65c8075..9c4b48eb3a 100644 --- a/data/resources/StringResources.resx +++ b/data/resources/StringResources.resx @@ -8377,4 +8377,67 @@ Press Esc to cancel this operation. Press "Alt" to enter Container + + Assembly Info + + + Assembly version: + + + Company: + + + Copyright: + + + Description: + + + File version: + + + GUID: + + + Make assembly COM-visible + + + Neutral language: + + + Product: + + + Title: + + + Trademark: + + + Assembly info file was not found. Please ensure that the project contains assembly info file. + + + CLS compliant + + + Default alias: + + + Informational version: + + + JIT optimization + + + JIT tracking + + + New GUID + + + One of the assembly info values is incorrect. + + + None + \ No newline at end of file diff --git a/src/AddIns/BackendBindings/CSharpBinding/Project/CSharpBinding.addin b/src/AddIns/BackendBindings/CSharpBinding/Project/CSharpBinding.addin index 785b7fcd74..11db4687c6 100644 --- a/src/AddIns/BackendBindings/CSharpBinding/Project/CSharpBinding.addin +++ b/src/AddIns/BackendBindings/CSharpBinding/Project/CSharpBinding.addin @@ -115,6 +115,9 @@ + diff --git a/src/Main/Base/Project/ICSharpCode.SharpDevelop.csproj b/src/Main/Base/Project/ICSharpCode.SharpDevelop.csproj index f566fed43b..c6b907cca1 100644 --- a/src/Main/Base/Project/ICSharpCode.SharpDevelop.csproj +++ b/src/Main/Base/Project/ICSharpCode.SharpDevelop.csproj @@ -297,6 +297,13 @@ OutputWindowOptionsPanel.xaml Code + + + AssemblyInfoPanel.xaml + + + + TaskViewResources.xaml @@ -904,6 +911,10 @@ + + MSBuild:Compile + Designer + @@ -933,6 +944,10 @@ ICSharpCode.NRefactory.Cecil False + + {53dca265-3c3c-42f9-b647-f72ba678122b} + ICSharpCode.NRefactory.CSharp + {DC393B66-92ED-4CAD-AB25-CFEF23F3D7C6} ICSharpCode.NRefactory.Xml diff --git a/src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/AssemblyInfo/AssemblyInfo.cs b/src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/AssemblyInfo/AssemblyInfo.cs new file mode 100644 index 0000000000..a1cd915acf --- /dev/null +++ b/src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/AssemblyInfo/AssemblyInfo.cs @@ -0,0 +1,60 @@ +// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team +// +// 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; + +namespace ICSharpCode.SharpDevelop.Gui.OptionPanels +{ + /// + /// Assembly info parameters model + /// + public class AssemblyInfo + { + public string Title { get; set; } + + public string Description { get; set; } + + public string Company { get; set; } + + public string Product { get; set; } + + public string Copyright { get; set; } + + public string Trademark { get; set; } + + public string DefaultAlias { get; set; } + + public Version AssemblyVersion { get; set; } + + public Version AssemblyFileVersion { get; set; } + + public Version InformationalVersion { get; set; } + + public Guid? Guid { get; set; } + + public string NeutralLanguage { get; set; } + + public bool ComVisible { get; set; } + + public bool ClsCompliant { get; set; } + + public bool JitOptimization { get; set; } + + public bool JitTracking { get; set; } + } +} \ No newline at end of file diff --git a/src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/AssemblyInfo/AssemblyInfoPanel.xaml b/src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/AssemblyInfo/AssemblyInfoPanel.xaml new file mode 100644 index 0000000000..209fc08f7a --- /dev/null +++ b/src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/AssemblyInfo/AssemblyInfoPanel.xaml @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +