This commit is contained in:
jkuehner 2019-03-21 19:13:11 +01:00
Родитель 13560c7f18
Коммит c389d0d7b8
32 изменённых файлов: 376 добавлений и 1803 удалений

Просмотреть файл

@ -22,5 +22,5 @@ using System.Reflection;
[assembly: AssemblyCompany("ic#code")]
[assembly: AssemblyProduct("SharpDevelop")]
[assembly: AssemblyCopyright("2000-2015 AlphaSierraPapa for the SharpDevelop Team")]
[assembly: AssemblyVersion("5.1.*")]
[assembly: AssemblyVersion("8.0.0")]

Просмотреть файл

@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net45</TargetFramework>
<UseWPF>true</UseWPF>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<ApplicationIcon />
<StartupObject />
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\MyTestAssembly\Demo.MyTestAssembly.csproj" />
<ProjectReference Include="..\WpfDesign.Designer\Project\WpfDesign.Designer.csproj" />
<ProjectReference Include="..\WpfDesign\Project\WpfDesign.csproj" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,129 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{E65E2846-F038-4F38-A958-8F5DE7DFFBCD}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>MyDesigner</RootNamespace>
<AssemblyName>MyDesigner</AssemblyName>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="MainWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="ExtensionMethods.cs" />
<Compile Include="MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Page Include="MyToolboxView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<Compile Include="MyToolbox.cs" />
<Compile Include="MyToolboxView.xaml.cs">
<DependentUpon>MyToolboxView.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<AppDesigner Include="Properties\" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MyTestAssembly\MyTestAssembly.csproj">
<Project>{dc6bd4a4-bf01-4a4b-bef6-9b17d6ab2e06}</Project>
<Name>MyTestAssembly</Name>
</ProjectReference>
<ProjectReference Include="..\WpfDesign.Designer\Project\WpfDesign.Designer.csproj">
<Project>{78cc29ac-cc79-4355-b1f2-97936df198ac}</Project>
<Name>WpfDesign.Designer</Name>
</ProjectReference>
<ProjectReference Include="..\WpfDesign\Project\WpfDesign.csproj">
<Project>{66a378a1-e9f4-4ad5-8946-d0ec06c2902f}</Project>
<Name>WpfDesign</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

Просмотреть файл

@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net45</TargetFramework>
<UseWPF>true</UseWPF>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\WpfDesign.Designer\Project\WpfDesign.Designer.csproj" />
<ProjectReference Include="..\WpfDesign\Project\WpfDesign.csproj" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{DC6BD4A4-BF01-4A4B-BEF6-9B17D6AB2E06}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>MyTestAssembly</RootNamespace>
<AssemblyName>MyTestAssembly</AssemblyName>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="MyComponentPropertyService.cs" />
<Compile Include="MyDesignerModel.cs" />
<Compile Include="MyFooEnum.cs" />
<Compile Include="MyWidgetHolderView.xaml.cs">
<DependentUpon>MyWidgetHolderView.xaml</DependentUpon>
</Compile>
<Compile Include="MyWidgetView.xaml.cs">
<DependentUpon>MyWidgetView.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Page Include="MyWidgetHolderView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="MyWidgetView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\WpfDesign.Designer\Project\WpfDesign.Designer.csproj">
<Project>{78cc29ac-cc79-4355-b1f2-97936df198ac}</Project>
<Name>WpfDesign.Designer</Name>
</ProjectReference>
<ProjectReference Include="..\WpfDesign\Project\WpfDesign.csproj">
<Project>{66a378a1-e9f4-4ad5-8946-d0ec06c2902f}</Project>
<Name>WpfDesign</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

Просмотреть файл

@ -12,9 +12,9 @@ Branch | Status
*master* (Development) | [![Build status](https://ci.appveyor.com/api/projects/status/iqxeo16r8ff9qv66/branch/master?svg=true)](https://ci.appveyor.com/project/icsharpcode/WpfDesigner/branch/master)
## System Requirements (running SharpDevelop)
## System Requirements
- [.NET 4.5](http://www.microsoft.com/en-au/download/details.aspx?id=30653)
.NET 4.5 or Net Core 3.0
## Libraries and Integrated Tools
@ -29,4 +29,4 @@ Only the sample app has dependencies:
## Sample App
![Sample App](/screenshot.png?raw=true "Sample App")
###### Copyright 2015-2016 AlphaSierraPapa for the SharpDevelop team. SharpDevelop is distributed under the MIT license.
###### Copyright 2015-2019 AlphaSierraPapa for the SharpDevelop team. SharpDevelop is distributed under the MIT license.

Просмотреть файл

@ -1,127 +1,133 @@
// 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;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Shapes;
using ICSharpCode.WpfDesign.Extensions;
using ICSharpCode.WpfDesign.Designer.Services;
using Petzold.Media2D;
namespace ICSharpCode.WpfDesign.Designer.Extensions
{
[ExtensionFor(typeof(Canvas))]
[ExtensionFor(typeof(Grid))]
public class DrawArrowLineExtension : BehaviorExtension, IDrawItemExtension
{
private ChangeGroup changeGroup;
DesignItem CreateItem(DesignContext context, Type componentType)
{
object newInstance = context.Services.ExtensionManager.CreateInstanceWithCustomInstanceFactory(componentType, null);
DesignItem item = context.Services.Component.RegisterComponentForDesigner(newInstance);
changeGroup = item.OpenGroup("Draw ArrowLine");
context.Services.ExtensionManager.ApplyDefaultInitializers(item);
return item;
}
#region IDrawItemBehavior implementation
public bool CanItemBeDrawn(Type createItemType)
{
return createItemType == typeof(ArrowLine);
}
public void StartDrawItem(DesignItem clickedOn, Type createItemType, IDesignPanel panel, System.Windows.Input.MouseEventArgs e)
{
var createdItem = CreateItem(panel.Context, createItemType);
var startPoint = e.GetPosition(clickedOn.View);
var operation = PlacementOperation.TryStartInsertNewComponents(clickedOn,
new DesignItem[] { createdItem },
new Rect[] { new Rect(startPoint.X, startPoint.Y, double.NaN, double.NaN) },
PlacementType.AddItem);
if (operation != null) {
createdItem.Services.Selection.SetSelectedComponents(new DesignItem[] { createdItem });
operation.Commit();
}
createdItem.Properties[Shape.StrokeProperty].SetValue(Brushes.Black);
createdItem.Properties[Shape.StrokeThicknessProperty].SetValue(2d);
createdItem.Properties[Shape.StretchProperty].SetValue(Stretch.None);
// 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;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Shapes;
using ICSharpCode.WpfDesign.Extensions;
using ICSharpCode.WpfDesign.Designer.Services;
using Petzold.Media2D;
namespace ICSharpCode.WpfDesign.Designer.Extensions
{
[ExtensionFor(typeof(Canvas))]
[ExtensionFor(typeof(Grid))]
public class DrawArrowLineExtension : BehaviorExtension, IDrawItemExtension
{
private ChangeGroup changeGroup;
DesignItem CreateItem(DesignContext context, Type componentType)
{
object newInstance = context.Services.ExtensionManager.CreateInstanceWithCustomInstanceFactory(componentType, null);
DesignItem item = context.Services.Component.RegisterComponentForDesigner(newInstance);
changeGroup = item.OpenGroup("Draw ArrowLine");
context.Services.ExtensionManager.ApplyDefaultInitializers(item);
return item;
}
#region IDrawItemBehavior implementation
public bool CanItemBeDrawn(Type createItemType)
{
return createItemType == typeof(ArrowLine);
}
public void StartDrawItem(DesignItem clickedOn, Type createItemType, IDesignPanel panel, MouseEventArgs e,
Action<DesignItem> drawItemCallback)
{
throw new NotImplementedException();
}
public void StartDrawItem(DesignItem clickedOn, Type createItemType, IDesignPanel panel, System.Windows.Input.MouseEventArgs e)
{
var createdItem = CreateItem(panel.Context, createItemType);
var startPoint = e.GetPosition(clickedOn.View);
var operation = PlacementOperation.TryStartInsertNewComponents(clickedOn,
new DesignItem[] { createdItem },
new Rect[] { new Rect(startPoint.X, startPoint.Y, double.NaN, double.NaN) },
PlacementType.AddItem);
if (operation != null) {
createdItem.Services.Selection.SetSelectedComponents(new DesignItem[] { createdItem });
operation.Commit();
}
createdItem.Properties[Shape.StrokeProperty].SetValue(Brushes.Black);
createdItem.Properties[Shape.StrokeThicknessProperty].SetValue(2d);
createdItem.Properties[Shape.StretchProperty].SetValue(Stretch.None);
createdItem.Properties[ArrowLineBase.IsArrowClosedProperty].SetValue(true);
createdItem.Properties[Shape.FillProperty].SetValue(Brushes.Black);
var lineHandler = createdItem.Extensions.OfType<ArrowLineExtension>().First();
lineHandler.DragListener.ExternalStart();
new DrawArrowLineMouseGesture(lineHandler, clickedOn.View, changeGroup).Start(panel, (MouseButtonEventArgs) e);
}
#endregion
sealed class DrawArrowLineMouseGesture : ClickOrDragMouseGesture
{
private ArrowLineExtension l;
private ChangeGroup changeGroup;
public DrawArrowLineMouseGesture(ArrowLineExtension l, IInputElement relativeTo, ChangeGroup changeGroup)
{
this.l = l;
this.positionRelativeTo = relativeTo;
this.changeGroup = changeGroup;
}
protected override void OnMouseMove(object sender, MouseEventArgs e)
{
base.OnMouseMove(sender, e);
l.DragListener.ExternalMouseMove(e);
}
protected override void OnMouseUp(object sender, MouseButtonEventArgs e)
{
l.DragListener.ExternalStop();
if (changeGroup != null)
{
changeGroup.Commit();
changeGroup = null;
}
base.OnMouseUp(sender, e);
}
protected override void OnStopped()
{
if (changeGroup != null)
{
changeGroup.Abort();
changeGroup = null;
}
if (services.Tool.CurrentTool is CreateComponentTool)
{
services.Tool.CurrentTool = services.Tool.PointerTool;
}
base.OnStopped();
}
}
}
}
var lineHandler = createdItem.Extensions.OfType<ArrowLineExtension>().First();
lineHandler.DragListener.ExternalStart();
new DrawArrowLineMouseGesture(lineHandler, clickedOn.View, changeGroup).Start(panel, (MouseButtonEventArgs) e);
}
#endregion
sealed class DrawArrowLineMouseGesture : ClickOrDragMouseGesture
{
private ArrowLineExtension l;
private ChangeGroup changeGroup;
public DrawArrowLineMouseGesture(ArrowLineExtension l, IInputElement relativeTo, ChangeGroup changeGroup)
{
this.l = l;
this.positionRelativeTo = relativeTo;
this.changeGroup = changeGroup;
}
protected override void OnMouseMove(object sender, MouseEventArgs e)
{
base.OnMouseMove(sender, e);
l.DragListener.ExternalMouseMove(e);
}
protected override void OnMouseUp(object sender, MouseButtonEventArgs e)
{
l.DragListener.ExternalStop();
if (changeGroup != null)
{
changeGroup.Commit();
changeGroup = null;
}
base.OnMouseUp(sender, e);
}
protected override void OnStopped()
{
if (changeGroup != null)
{
changeGroup.Abort();
changeGroup = null;
}
if (services.Tool.CurrentTool is CreateComponentTool)
{
services.Tool.CurrentTool = services.Tool.PointerTool;
}
base.OnStopped();
}
}
}
}

Просмотреть файл

@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.0;net45</TargetFrameworks>
<UseWPF>true</UseWPF>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\WpfDesign.Designer\Project\WpfDesign.Designer.csproj" />
<ProjectReference Include="..\WpfDesign.XamlDom\Project\WpfDesign.XamlDom.csproj" />
<ProjectReference Include="..\WpfDesign\Project\WpfDesign.csproj" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,129 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{D33AB2C0-2D8A-4539-B7AF-3E2AA8D1081D}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SimpleSample</RootNamespace>
<AssemblyName>SimpleSample</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="ICSharpCode.WpfDesign, Version=5.1.66.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\ICSharpCode.WpfDesigner.5.1.66\lib\net40\ICSharpCode.WpfDesign.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="ICSharpCode.WpfDesign.Designer, Version=5.1.66.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\ICSharpCode.WpfDesigner.5.1.66\lib\net40\ICSharpCode.WpfDesign.Designer.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="ICSharpCode.WpfDesign.XamlDom, Version=5.1.66.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\ICSharpCode.WpfDesigner.5.1.66\lib\net40\ICSharpCode.WpfDesign.XamlDom.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Compile Include="Arrow\ArrowEnds.cs" />
<Compile Include="Arrow\ArrowheadsDemo.cs" />
<Compile Include="Arrow\ArrowLine.cs" />
<Compile Include="Arrow\ArrowLineBase.cs" />
<Compile Include="Arrow\ArrowPolyline.cs" />
<Compile Include="Arrow\Extensions\ArrowLineExtension.cs" />
<Compile Include="Arrow\Extensions\DrawArrowLineExtension.cs" />
<Compile Include="Arrow\Extensions\ArrowLineExtensionBase.cs" />
<Compile Include="Arrow\Extensions\ArrowLinePointTrackerPlacementSupport.cs" />
<Compile Include="TestControl.cs" />
<Compile Include="ToolboxItem.cs" />
<Page Include="MainWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<AppDesigner Include="Properties\" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

Просмотреть файл

@ -1,103 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{01F281CF-7616-40E3-ABE7-AAC008698719}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ICSharpCode.WpfDesign.Designer.ExpressionBlendInteractionAddon</RootNamespace>
<AssemblyName>ICSharpCode.WpfDesign.Designer.ExpressionBlendInteractionAddon</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TargetFramework>net45</TargetFramework>
<UseWPF>true</UseWPF>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AssemblyName>ICSharpCode.WpfDesign.Designer.ExpressionBlendInteractionAddon</AssemblyName>
<RootNamespace>ICSharpCode.WpfDesign.Designer.ExpressionBlendInteractionAddon</RootNamespace>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Expression.Interactions, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Expression.Interaction.3.0.40218.0\lib\net45\Microsoft.Expression.Interactions.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Expression.Interaction.3.0.40218.0\lib\net45\System.Windows.Interactivity.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
<Compile Include="..\GlobalAssemblyInfo.cs" Link="Properties\GlobalAssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="BehaviorsEditor\BehaviorsEditor.cs" />
<Compile Include="InteractionHelper.cs" />
<Compile Include="Interfaces\IComponentBehaviorsAndTriggersService.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Services\ComponentBehaviorsAndTriggersService.cs" />
<Compile Include="themes\VersionedAssemblyResourceDictionary.cs" />
<Compile Include="TriggersEditor\TriggersEditor.cs" />
<PackageReference Include="MicrosoftExpressionInteractions" Version="3.0.40218" />
<PackageReference Include="System.Windows.Interactivity.WPF" Version="2.0.20525" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<ProjectReference Include="..\WpfDesign.Designer\Project\WpfDesign.Designer.csproj" />
<ProjectReference Include="..\WpfDesign\Project\WpfDesign.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\WpfDesign.Designer\Project\WpfDesign.Designer.csproj">
<Project>{78cc29ac-cc79-4355-b1f2-97936df198ac}</Project>
<Name>WpfDesign.Designer</Name>
</ProjectReference>
<ProjectReference Include="..\WpfDesign\Project\WpfDesign.csproj">
<Project>{66a378a1-e9f4-4ad5-8946-d0ec06c2902f}</Project>
<Name>WpfDesign</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Extensions\" />
</ItemGroup>
<ItemGroup>
<Page Include="BehaviorsEditor\BehaviorsEditor.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="themes\generic.xaml">
<SubType>Designer</SubType>
</Page>
<Page Include="TriggersEditor\TriggersEditor.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

Просмотреть файл

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Expression.Interaction" version="3.0.40218.0" targetFramework="net45" />
</packages>

Просмотреть файл

@ -1,4 +1,11 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/netfx/2007/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Converters="clr-namespace:ICSharpCode.WpfDesign.Designer.Converters" xmlns:PropertyGrid="clr-namespace:ICSharpCode.WpfDesign.Designer.PropertyGrid" xmlns:PropertyGridBase="clr-namespace:ICSharpCode.WpfDesign.PropertyGrid;assembly=ICSharpCode.WpfDesign" xmlns:Controls="clr-namespace:ICSharpCode.WpfDesign.Designer.Controls" xmlns:propertyGrid="clr-namespace:ICSharpCode.WpfDesign.Designer.PropertyGrid">
<ResourceDictionary
xmlns="http://schemas.microsoft.com/netfx/2007/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Converters="clr-namespace:ICSharpCode.WpfDesign.Designer.Converters"
xmlns:PropertyGrid="clr-namespace:ICSharpCode.WpfDesign.Designer.PropertyGrid"
xmlns:PropertyGridBase="http://sharpdevelop.net"
xmlns:Controls="clr-namespace:ICSharpCode.WpfDesign.Designer.Controls"
xmlns:propertyGrid="clr-namespace:ICSharpCode.WpfDesign.Designer.PropertyGrid">
<Style x:Key="ExpandButtonStyle" TargetType="{x:Type ToggleButton}">
<Setter Property="Focusable" Value="False" />
<Setter Property="Template">

Просмотреть файл

@ -1,581 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<ProjectGuid>{78CC29AC-CC79-4355-B1F2-97936DF198AC}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<OutputType>Library</OutputType>
<RootNamespace>ICSharpCode.WpfDesign.Designer</RootNamespace>
<AssemblyName>ICSharpCode.WpfDesign.Designer</AssemblyName>
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
<NoStdLib>False</NoStdLib>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<OutputPath>..\..\bin\</OutputPath>
<DocumentationFile>..\..\bin\ICSharpCode.WpfDesign.Designer.xml</DocumentationFile>
<NoWarn>1591</NoWarn>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<DelaySign>False</DelaySign>
<AssemblyOriginatorKeyMode>File</AssemblyOriginatorKeyMode>
<RunCodeAnalysis>False</RunCodeAnalysis>
<CodeAnalysisRules>-Microsoft.Performance#CA1800;-Microsoft.Performance#CA1810;-Microsoft.Performance#CA1822</CodeAnalysisRules>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
<TargetFrameworks>netcoreapp3.0;net45</TargetFrameworks>
<UseWPF>true</UseWPF>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AssemblyName>ICSharpCode.WpfDesign.Designer</AssemblyName>
<DocumentationFile>..\..\bin\netcoreapp3.0\ICSharpCode.WpfDesign.Designer.xml</DocumentationFile>
<OutputPath>..\..\bin\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>Full</DebugType>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<Optimize>False</Optimize>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>False</DebugSymbols>
<DebugType>None</DebugType>
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
<RegisterForComInterop>False</RegisterForComInterop>
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
<BaseAddress>4194304</BaseAddress>
<PlatformTarget>AnyCPU</PlatformTarget>
<FileAlignment>4096</FileAlignment>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
<ItemGroup>
<Reference Include="PresentationCore">
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="PresentationFramework">
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="PresentationFramework.Aero">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="ReachFramework">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml" />
<Reference Include="UIAutomationProvider">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase">
<Private>False</Private>
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<Reference Include="PresentationFramework.Aero" />
<Reference Include="ReachFramework" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\WpfDesign.XamlDom\Project\WpfDesign.XamlDom.csproj" />
<ProjectReference Include="..\..\WpfDesign\Project\WpfDesign.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\GlobalAssemblyInfo.cs">
<Link>GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="Extensions\BorderForMouseOver.cs" />
<Compile Include="Extensions\OnlyDeletePlacementBehavior.cs" />
<Compile Include="Extensions\UnwrapItemContextMenu.xaml.cs">
<DependentUpon>UnwrapItemContextMenu.xaml</DependentUpon>
</Compile>
<Compile Include="Extensions\UnwrapItemContextMenuExtension.cs" />
<Compile Include="OutlineView\PropertyOutlineNode.cs" />
<Page Include="Extensions\UnwrapItemContextMenu.xaml">
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\Editors\CollectionTemplateDictionary.xaml">
<SubType>Designer</SubType>
</Page>
<Compile Include="PropertyGrid\Editors\CollectionTemplateSelector.cs" />
<Compile Include="PropertyGrid\Editors\ColorEditor\ColorEditorPopup.xaml.cs">
<DependentUpon>ColorEditorPopup.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\Editors\FormatedTextEditor\RichTextBoxToolbar.xaml.cs">
<DependentUpon>RichTextBoxToolbar.xaml</DependentUpon>
</Compile>
<Compile Include="StretchDirection.cs" />
<Compile Include="ArrangeDirection.cs" />
<Compile Include="Commands.cs" />
<Compile Include="Controls\Picker.cs" />
<Compile Include="Controls\Thumbs\UserControlPointsObjectThumb.cs" />
<Compile Include="Controls\NullableComboBox.cs" />
<Compile Include="Controls\RenderTransformOriginThumb.cs" />
<Compile Include="Controls\Thumbs\PointThumb.cs" />
<Compile Include="Controls\Thumbs\ResizeThumb.cs" />
<Compile Include="Extensions\BorderForImageControl.cs" />
<Compile Include="Extensions\DrawLineExtension.cs" />
<Compile Include="Extensions\DrawPathExtension.cs" />
<Compile Include="Extensions\DrawPolyLineExtension.cs" />
<Compile Include="Extensions\DefaultCommandsContextMenu.xaml.cs">
<DependentUpon>DefaultCommandsContextMenu.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="Extensions\DefaultCommandsContextMenuExtension.cs" />
<Compile Include="Extensions\LineExtensionBase.cs" />
<Compile Include="Extensions\LineHandlerExtension.cs" />
<Compile Include="Controls\Thumbs\MultiPointThumb.cs" />
<Compile Include="Extensions\PartialPanelSelectionHandler.cs" />
<Compile Include="Extensions\EditStyleContextMenu.xaml.cs">
<DependentUpon>EditStyleContextMenu.xaml</DependentUpon>
</Compile>
<Compile Include="Extensions\PathContextMenu.xaml.cs">
<DependentUpon>PathContextMenu.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="Extensions\PathContextMenuExtension.cs" />
<Compile Include="Extensions\PathHandlerExtension.cs" />
<Compile Include="Extensions\PointTrackerPlacementSupport.cs" />
<Compile Include="Extensions\PolyLineHandlerExtension.cs" />
<Compile Include="Extensions\TextBlockRightClickContextMenu.xaml.cs">
<DependentUpon>TextBlockRightClickContextMenu.xaml</DependentUpon>
</Compile>
<Compile Include="Extensions\RightClickContextMenu.xaml.cs">
<DependentUpon>RightClickContextMenu.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="Extensions\RenderTransformOriginExtension.cs" />
<Compile Include="Extensions\RightClickContextMenuExtension.cs" />
<Compile Include="Extensions\EditStyleContextMenuExtension.cs" />
<Compile Include="Extensions\TextBlockRightClickContextMenuExtension.cs" />
<Compile Include="Extensions\ArrangeItemsContextMenuExtension.cs" />
<Compile Include="Extensions\ArrangeItemsContextMenu.xaml.cs">
<DependentUpon>ArrangeItemsContextMenu.xaml</DependentUpon>
</Compile>
<Compile Include="Extensions\UserControlPointsObjectExtension.cs" />
<Compile Include="Extensions\WrapItemContextMenu.xaml.cs">
<DependentUpon>WrapItemContextMenu.xaml</DependentUpon>
</Compile>
<Compile Include="Extensions\WrapItemsContextMenuExtension.cs" />
<Compile Include="MarkupExtensions\DesignItemBinding.cs" />
<Compile Include="OutlineView\IOutlineNode.cs" />
<Compile Include="OutlineView\OutlineNodeNameService.cs" />
<Compile Include="OutlineView\OutlineNodeBase.cs" />
<Compile Include="Extensions\WrapItemContextMenuExtension.cs" />
<Compile Include="Extensions\WrapItemsContextMenu.xaml.cs">
<DependentUpon>WrapItemsContextMenu.xaml</DependentUpon>
</Compile>
<Compile Include="Extensions\SkewThumbExtension.cs" />
<Compile Include="Extensions\TopLeftContainerDragHandleMultipleItems.cs" />
<Compile Include="PropertyGrid\Editors\ColorEditor\ColorTypeEditor.xaml.cs">
<DependentUpon>ColorTypeEditor.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\Editors\ComboBoxEditor.xaml.cs">
<DependentUpon>ComboBoxEditor.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\Editors\FlatCollectionEditor.xaml.cs">
<DependentUpon>FlatCollectionEditor.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="PropertyGrid\Editors\FormatedTextEditor\FormatedTextEditor.xaml.cs">
<DependentUpon>FormatedTextEditor.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\Editors\OpenCollectionEditor.xaml.cs">
<DependentUpon>OpenCollectionEditor.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\Editors\TextBoxEditor.xaml.cs">
<DependentUpon>TextBoxEditor.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\Editors\TimeSpanEditor.xaml.cs">
<DependentUpon>TimeSpanEditor.xaml</DependentUpon>
</Compile>
<Compile Include="Services\ComponentPropertyService.cs" />
<Compile Include="themes\VersionedAssemblyResourceDictionary.cs" />
<Compile Include="Translations.cs" />
<Compile Include="Configuration\AssemblyInfo.cs" />
<Compile Include="Controls\AdornerLayer.cs" />
<Compile Include="Controls\CanvasPositionHandle.cs" />
<Compile Include="Controls\ClearableTextBox.cs" />
<Compile Include="Controls\ContainerDragHandle.cs" />
<Compile Include="Controls\DropDownButton.cs" />
<Compile Include="Controls\EnterTextBox.cs" />
<Compile Include="Controls\EnumBar.xaml.cs">
<DependentUpon>EnumBar.xaml</DependentUpon>
</Compile>
<Compile Include="Controls\EnumButton.cs" />
<Compile Include="Controls\InfoTextEnterArea.cs" />
<Compile Include="Controls\GrayOutDesignerExceptActiveArea.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Controls\GridAdorner.cs" />
<Compile Include="Controls\GridUnitSelector.xaml.cs">
<DependentUpon>GridUnitSelector.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="Controls\InPlaceEditor.cs" />
<Compile Include="Controls\MarginHandle.cs" />
<Compile Include="Controls\PageClone.cs" />
<Compile Include="Controls\PanelMoveAdorner.cs" />
<Compile Include="Controls\QuickOperationMenu.cs" />
<Compile Include="Controls\Thumbs\RotateThumb.cs" />
<Compile Include="Controls\SelectionFrame.cs" />
<Compile Include="Controls\ErrorBalloon.cs" />
<Compile Include="Controls\Thumbs\DesignerThumb.cs" />
<Compile Include="CallExtension.cs" />
<Compile Include="Controls\DragListener.cs" />
<Compile Include="Controls\SizeDisplay.cs" />
<Compile Include="Controls\WindowClone.cs" />
<Compile Include="Controls\ZoomControl.cs" />
<Compile Include="Converters.cs" />
<Compile Include="DesignPanel.cs" />
<Compile Include="DesignSurface.cs" />
<Compile Include="DragDropExceptionHandler.cs" />
<Compile Include="ExtensionMethods.cs" />
<Compile Include="Extensions\CanvasPlacementSupport.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Extensions\BorderForInvisibleControl.cs" />
<Compile Include="Extensions\CanvasPositionExtension.cs" />
<Compile Include="Extensions\Initializers.cs" />
<Compile Include="Extensions\DefaultPlacementBehavior.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Extensions\GridAdornerProvider.cs" />
<Compile Include="Extensions\GridPlacementSupport.cs" />
<Compile Include="Extensions\InPlaceEditorExtension.cs" />
<Compile Include="Extensions\MarginHandleExtension.cs" />
<Compile Include="Extensions\QuickOperationMenuExtension.cs" />
<Compile Include="Extensions\RasterPlacementBehavior.cs" />
<Compile Include="Extensions\RotateThumbExtension.cs" />
<Compile Include="Extensions\SizeDisplayExtension.cs" />
<Compile Include="Extensions\SnaplinePlacementBehavior.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Extensions\PanelMove.cs" />
<Compile Include="Extensions\StackPanelPlacementSupport.cs" />
<Compile Include="FocusNavigator.cs" />
<Compile Include="ModelTools.cs" />
<Compile Include="Extensions\PanelInstanceFactory.cs" />
<Compile Include="Extensions\PanelSelectionHandler.cs" />
<Compile Include="Extensions\SelectedElementRectangleExtension.cs" />
<Compile Include="Extensions\TabItemClickableExtension.cs" />
<Compile Include="Extensions\TopLeftContainerDragHandle.cs" />
<Compile Include="Extensions\ResizeThumbExtension.cs" />
<Compile Include="BasicMetadata.cs" />
<Compile Include="OutlineView\DragListener.cs" />
<Compile Include="OutlineView\DragTreeView.cs" />
<Compile Include="OutlineView\DragTreeViewItem.cs" />
<Compile Include="OutlineView\IconItem.cs" />
<Compile Include="OutlineView\Outline.xaml.cs">
<DependentUpon>Outline.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="OutlineView\OutlineNode.cs">
</Compile>
<Compile Include="OutlineView\OutlineTreeView.cs" />
<Compile Include="PropertyGrid\Editors\BoolEditor.xaml.cs">
<DependentUpon>BoolEditor.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\Editors\BrushEditor\BrushEditor.cs" />
<Compile Include="PropertyGrid\Editors\BrushEditor\BrushEditorPopup.xaml.cs">
<DependentUpon>BrushEditorPopup.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\Editors\BrushEditor\BrushEditorView.xaml.cs">
<DependentUpon>BrushEditorView.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\Editors\BrushEditor\BrushTypeEditor.xaml.cs">
<DependentUpon>BrushTypeEditor.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\Editors\BrushEditor\GradientBrushEditor.xaml.cs">
<DependentUpon>GradientBrushEditor.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\Editors\BrushEditor\GradientSlider.xaml.cs">
<DependentUpon>GradientSlider.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\Editors\BrushEditor\NormalizedPanel.cs" />
<Compile Include="PropertyGrid\Editors\BrushEditor\SolidBrushEditor.xaml.cs">
<DependentUpon>SolidBrushEditor.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\Editors\CollectionEditor.xaml.cs">
<DependentUpon>CollectionEditor.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="PropertyGrid\Editors\EventEditor.xaml.cs">
<DependentUpon>EventEditor.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\Editors\NumberEditor.xaml.cs">
<DependentUpon>NumberEditor.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\PropertyContextMenu.xaml.cs">
<DependentUpon>PropertyContextMenu.xaml</DependentUpon>
</Compile>
<Compile Include="PropertyGrid\PropertyGrid.cs" />
<Compile Include="PropertyGrid\PropertyGridView.cs" />
<Compile Include="RootItemBehavior.cs" />
<Compile Include="Services\ChooseClass.cs" />
<Compile Include="Services\ChooseClassDialog.xaml.cs">
<DependentUpon>ChooseClassDialog.xaml</DependentUpon>
</Compile>
<Compile Include="Services\ChooseClassServiceBase.cs" />
<Compile Include="Services\ClickOrDragMouseGesture.cs" />
<Compile Include="Services\CreateComponentTool.cs" />
<Compile Include="Services\DesignerKeyBindings.cs" />
<Compile Include="Services\DragMoveMouseGesture.cs" />
<Compile Include="Services\ErrorService.cs" />
<Compile Include="Services\MouseGestureBase.cs" />
<Compile Include="Services\MoveLogic.cs" />
<Compile Include="Services\OptionService.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Services\PointerTool.cs" />
<Compile Include="Services\SelectionService.cs" />
<Compile Include="Services\ToolService.cs" />
<Compile Include="Services\UndoService.cs" />
<Compile Include="Services\ViewService.cs" />
<Compile Include="Services\WpfTopLevelWindowService.cs" />
<Compile Include="Services\XamlErrorService.cs" />
<Compile Include="SharedInstances.cs" />
<Compile Include="ThumbnailView\ThumbnailView.cs" />
<Compile Include="Controls\CollapsiblePanel.cs" />
<Compile Include="Controls\ColorHelper.cs" />
<Compile Include="Controls\ColorPicker.xaml.cs" />
<Compile Include="Controls\NumericUpDown.cs" />
<Compile Include="Controls\RelayCommand.cs" />
<Compile Include="Controls\ZoomButtons.cs" />
<Compile Include="Controls\ZoomScrollViewer.cs" />
<Compile Include="Xaml\XamlEditOperations.cs" />
<Compile Include="Xaml\XamlLoadSettings.cs" />
<Compile Include="Xaml\XamlModelCollectionElementsCollection.cs" />
<Compile Include="Xaml\XamlComponentService.cs" />
<Compile Include="Xaml\XamlDesignContext.cs" />
<Compile Include="Xaml\XamlDesignItem.cs" />
<Compile Include="Xaml\XamlModelProperty.cs" />
<Compile Include="Xaml\XamlModelPropertyCollection.cs" />
<Resource Include="Images\Tag.png" />
<None Remove="Images\*" />
<Resource Include="Images\*" />
</ItemGroup>
<ItemGroup>
<Page Include="Controls\CollapsiblePanel.xaml">
<SubType>Designer</SubType>
</Page>
<Page Include="Controls\NullableComboBox.xaml" />
<Page Include="Extensions\DefaultCommandsContextMenu.xaml" />
<Page Include="Extensions\EditStyleContextMenu.xaml">
<SubType>Designer</SubType>
</Page>
<Page Include="Extensions\PathContextMenu.xaml" />
<Page Include="Extensions\TextBlockRightClickContextMenu.xaml">
<SubType>Designer</SubType>
</Page>
<Page Include="Extensions\RightClickContextMenu.xaml" />
<Page Include="Extensions\ArrangeItemsContextMenu.xaml">
<SubType>Designer</SubType>
</Page>
<Page Include="Extensions\WrapItemContextMenu.xaml">
<SubType>Designer</SubType>
</Page>
<Page Include="Extensions\WrapItemsContextMenu.xaml">
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\Editors\ColorEditor\ColorEditorPopup.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\Editors\ColorEditor\ColorTypeEditor.xaml">
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\Editors\ComboBoxEditor.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\Editors\FlatCollectionEditor.xaml" />
<Page Include="PropertyGrid\Editors\FormatedTextEditor\FormatedTextEditor.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="PropertyGrid\Editors\FormatedTextEditor\RichTextBoxToolbar.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="PropertyGrid\Editors\OpenCollectionEditor.xaml" />
<Page Include="PropertyGrid\Editors\TextBoxEditor.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\Editors\TimeSpanEditor.xaml" />
<Page Include="ThumbnailView\ThumbnailView.xaml" />
<Page Include="Controls\ColorPicker.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Controls\NumericUpDown.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Controls\ZoomScrollViewer.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<ProjectReference Include="..\..\WpfDesign.XamlDom\Project\WpfDesign.XamlDom.csproj">
<Project>{88DA149F-21B2-48AB-82C4-28FB6BDFD783}</Project>
<Name>WpfDesign.XamlDom</Name>
<Private>True</Private>
</ProjectReference>
<ProjectReference Include="..\..\WpfDesign\Project\WpfDesign.csproj">
<Project>{66A378A1-E9F4-4AD5-8946-D0EC06C2902F}</Project>
<Name>WpfDesign</Name>
<SpecificVersion>False</SpecificVersion>
<Private>True</Private>
</ProjectReference>
<Page Include="Controls\EnumBar.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Controls\GridUnitSelector.xaml" />
<Page Include="Controls\ControlStyles.xaml" />
<Page Include="DesignSurface.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="OutlineView\Outline.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="OutlineView\OutlineView.xaml" />
<Page Include="PropertyGrid\Editors\BoolEditor.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\Editors\BrushEditor\BrushEditorPopup.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\Editors\BrushEditor\BrushEditorView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\Editors\BrushEditor\BrushTypeEditor.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\Editors\BrushEditor\GradientBrushEditor.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\Editors\BrushEditor\GradientSlider.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\Editors\BrushEditor\SolidBrushEditor.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\Editors\CollectionEditor.xaml" />
<Page Include="PropertyGrid\Editors\EventEditor.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\Editors\NumberEditor.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\PropertyContextMenu.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="PropertyGrid\PropertyGridView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Services\ChooseClassDialog.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Themes\Generic.xaml">
<SubType>Designer</SubType>
</Page>
<Compile Include="..\..\GlobalAssemblyInfo.cs" Link="Configuration\GlobalAssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\Class.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\PanToolCursor.cur" />
<Resource Include="Images\PanToolCursorMouseDown.cur" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\ZoomIn.png" />
<Resource Include="Images\ZoomOut.png" />
</ItemGroup>
<ItemGroup>
<CodeAnalysisDictionary Include="Configuration\CodeAnalysisDictionary.xml" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\rotate.cur" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\group2.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\edit-bold.png" />
<Resource Include="Images\edit-color.png" />
<Resource Include="Images\edit-italic.png" />
<Resource Include="Images\edit-strike.png" />
<Resource Include="Images\layers-alignment-bottom.png" />
<Resource Include="Images\layers-alignment-center.png" />
<Resource Include="Images\layers-alignment-left.png" />
<Resource Include="Images\layers-alignment-middle.png" />
<Resource Include="Images\layers-alignment-right.png" />
<Resource Include="Images\layers-alignment.png" />
<Resource Include="Images\layers-arrange-back.png" />
<Resource Include="Images\layers-arrange.png" />
<Resource Include="Images\layers-stack-arrange-back.png" />
<Resource Include="Images\layers-stack-arrange.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\Icons.16x16.Properties.Events.png" />
<Resource Include="Images\Icons.16x16.WpfOutline.Eye.png" />
<Resource Include="Images\Icons.16x16.WpfOutline.EyeClose.png" />
<Resource Include="Images\Icons.16x16.Properties.Categorized.png" />
<Resource Include="Images\Icons.16x16.Properties.Properties.png" />
<Resource Include="Images\Icons.16x16.Properties.SortAlphabet.png" />
<Resource Include="Images\Icons.16x16.GuideSnap.png" />
<Resource Include="Images\Icons.16x16.GridSnap.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\lock.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\edit.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\grid.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\edit-underline.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\paint-can-color.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\wrap-option.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\canvas.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\Icons.32x32.EmptyProjectIcon.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\Icons.16x16.CopyIcon.png" />
<Resource Include="Images\Icons.16x16.CutIcon.png" />
<Resource Include="Images\Icons.16x16.DeleteIcon.png" />
<Resource Include="Images\Icons.16x16.PasteIcon.png" />
<Resource Include="Images\Icons.16x16.RedoIcon.png" />
<Resource Include="Images\Icons.16x16.UndoIcon.png" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\ICSharpCode.SharpDevelop.snk">
<Link>ICSharpCode.SharpDevelop.snk</Link>
</None>
</ItemGroup>
<ItemGroup />
</Project>

Просмотреть файл

@ -18,6 +18,8 @@
using System;
using System.ComponentModel;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Windows;
namespace ICSharpCode.WpfDesign.Designer.themes
@ -30,10 +32,9 @@ namespace ICSharpCode.WpfDesign.Designer.themes
static VersionedAssemblyResourceDictionary()
{
var nm = typeof(VersionedAssemblyResourceDictionary).Assembly.GetName();
_uriStart = string.Format( @"/{0};v{1};component/", nm.Name, nm.Version);
_subLength = "ICSharpCode.WpfDesign.Designer.".Length;
var assemblyName = typeof(VersionedAssemblyResourceDictionary).Assembly.GetName();
_uriStart = string.Format(@"/{0};v{1};component/", assemblyName.Name, assemblyName.Version);
_subLength = assemblyName.Name.Length + 1;
}
public string RelativePath {get;set;}
@ -42,8 +43,8 @@ namespace ICSharpCode.WpfDesign.Designer.themes
{
this.Source = new Uri(_uriStart + this.RelativePath, UriKind.Relative);
base.EndInit();
}
}
public static string GetXamlNameForType(Type t)
{
return _uriStart + t.FullName.Substring(_subLength).Replace(".","/").ToLower() + ".xaml";

Просмотреть файл

@ -19,6 +19,7 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows.Markup;
using NUnit.Framework;
@ -36,7 +37,7 @@ using NUnit.Framework;
[assembly: AssemblyCulture("")]
// Run unit tests on STA thread.
[assembly: RequiresSTA]
[assembly: Apartment(ApartmentState.STA)]
[assembly: XmlnsPrefix("http://sharpdevelop.net/WpfDesign/Tests/Controls", "sdtcontrols")]

Просмотреть файл

@ -42,7 +42,7 @@ namespace ICSharpCode.WpfDesign.Tests.Designer
Mutex mutex;
[TestFixtureSetUp]
[OneTimeSetUp]
public void FixtureSetUp()
{
// Avoid test failure on build server when unit tests for several branches are run concurrently.
@ -55,7 +55,7 @@ namespace ICSharpCode.WpfDesign.Tests.Designer
}
}
[TestFixtureTearDown]
[OneTimeTearDown]
public void FixtureTearDown()
{
mutex.ReleaseMutex();
@ -204,7 +204,7 @@ namespace ICSharpCode.WpfDesign.Tests.Designer
xamlContext.XamlEditAction.Paste();
Assert.AreEqual(innerGrid.ContentProperty.CollectionElements[4], selection.PrimarySelection);
Assert.IsNullOrEmpty(innerGrid.ContentProperty.CollectionElements[0].Name);
Assert.That(innerGrid.ContentProperty.CollectionElements[0].Name, Is.Null.Or.Empty);
Assert.AreEqual(_name, innerGrid.ContentProperty.CollectionElements[1].Name);
Assert.AreEqual(_name + "_Copy", innerGrid.ContentProperty.CollectionElements[2].Name);
Assert.AreEqual(_name + "_Copy1", innerGrid.ContentProperty.CollectionElements[3].Name);
@ -212,7 +212,7 @@ namespace ICSharpCode.WpfDesign.Tests.Designer
xamlContext.XamlEditAction.Copy(new[] {innerGrid.ContentProperty.CollectionElements[3]});
var cutXaml = Clipboard.GetText(TextDataFormat.Xaml);
Assert.That(cutXaml, Is.StringContaining(":Name=\"" + _name + "_Copy1\""));
Assert.That(cutXaml, Contains.Substring(":Name=\"" + _name + "_Copy1\""));
selection.SetSelectedComponents(new[] {innerGrid});
xamlContext.XamlEditAction.Paste();

Просмотреть файл

@ -31,7 +31,7 @@ namespace ICSharpCode.WpfDesign.Tests.Designer
{
private DesignItem _button;
[TestFixtureSetUp]
[OneTimeSetUp]
public void Intialize()
{
_button = CreateGridContext("<Button Margin=\"21,21,21,21\" HorizontalAlignment=\"Left\" VerticalAlignment=\"Top\"/>");

Просмотреть файл

@ -28,7 +28,7 @@ namespace ICSharpCode.WpfDesign.Tests.Designer.OutlineView
private DesignItem _grid;
private IOutlineNode _outline;
[TestFixtureSetUp]
[OneTimeSetUp]
public void Intialize()
{
_grid = CreateGridContextWithDesignSurface("<Button/><StackPanel><Button/></StackPanel>");

Просмотреть файл

@ -72,7 +72,7 @@ namespace ICSharpCode.WpfDesign.Tests.Designer
private DesignItem _buttonInGridWithAutoSize;
private DesignItem _buttonIsGridWithFixedSize;
[TestFixtureSetUp]
[OneTimeSetUp]
public void Intialize()
{
_buttonInGridWithAutoSize=CreateGridContext("<Button/>");

Просмотреть файл

@ -1,119 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<ProjectGuid>{943DBBB3-E84E-4CF4-917C-C05AFA8743C1}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<OutputType>Library</OutputType>
<RootNamespace>ICSharpCode.WpfDesign.Tests</RootNamespace>
<AssemblyName>ICSharpCode.WpfDesign.Tests</AssemblyName>
<OutputPath>..\..\bin\UnitTests\</OutputPath>
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
<NoStdLib>False</NoStdLib>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<SignAssembly>false</SignAssembly>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkProfile />
<TargetFramework>net45</TargetFramework>
<UseWPF>true</UseWPF>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AssemblyName>ICSharpCode.WpfDesign.Tests</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>Full</DebugType>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<Optimize>False</Optimize>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>False</DebugSymbols>
<DebugType>None</DebugType>
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
<RegisterForComInterop>False</RegisterForComInterop>
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
<BaseAddress>4194304</BaseAddress>
<PlatformTarget>x86</PlatformTarget>
<FileAlignment>4096</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
<ItemGroup>
<Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
<HintPath>$(SolutionDir)\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="Rhino.Mocks, Version=3.6.0.0, Culture=neutral, PublicKeyToken=0b3305902db7183f, processorArchitecture=MSIL">
<HintPath>$(SolutionDir)\packages\RhinoMocks.3.6.1\lib\net\Rhino.Mocks.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
<PackageReference Include="NUnit" Version="3.11.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.13.0" />
<PackageReference Include="RhinoMocks" Version="3.6.1" />
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="Designer\EditOperationTests.cs" />
<Compile Include="Designer\FocusNavigatorTests.cs" />
<Compile Include="Designer\MarginHandleTests.cs" />
<Compile Include="Designer\MarkupExtensionModelTests.cs" />
<Compile Include="Designer\MockFocusNavigator.cs" />
<Compile Include="Designer\ModelTestHelper.cs" />
<Compile Include="Designer\ModelTests.cs" />
<Compile Include="Designer\NamespaceTests.cs" />
<Compile Include="Designer\OutlineView\HierarchyTests.cs" />
<Compile Include="Designer\OutlineView\InsertTests.cs" />
<Compile Include="Designer\OutlineView\SelectionTests.cs" />
<Compile Include="Designer\PlacementTests.cs" />
<Compile Include="Designer\SetPropertyTests.cs" />
<Compile Include="XamlDom\CollectionTests.cs" />
<Compile Include="XamlDom\ExampleClass.cs" />
<Compile Include="XamlDom\ExampleClassContainer.cs" />
<Compile Include="XamlDom\ExampleControl.cs" />
<Compile Include="XamlDom\ExampleService.cs" />
<Compile Include="XamlDom\MarkupExtensionTests.cs" />
<Compile Include="XamlDom\NamescopeTest.cs" />
<Compile Include="XamlDom\NamscopeTestUsercontrol.xaml.cs">
<DependentUpon>NamscopeTestUsercontrol.xaml</DependentUpon>
</Compile>
<Compile Include="XamlDom\SamplesTests.cs" />
<Compile Include="XamlDom\SimpleLoadTests.cs" />
<Compile Include="XamlDom\SystemTypesLoadTest.cs" />
<Compile Include="XamlDom\TestHelper.cs" />
<Compile Include="XamlDom\WhitespaceTests.cs" />
<Compile Include="XamlDom\XamlTypeFinderTests.cs" />
<ProjectReference Include="..\..\WpfDesign.XamlDom\Project\WpfDesign.XamlDom.csproj" />
<ProjectReference Include="..\..\WpfDesign\Project\WpfDesign.csproj" />
<ProjectReference Include="..\Project\WpfDesign.Designer.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\WpfDesign.XamlDom\Project\WpfDesign.XamlDom.csproj">
<Project>{88DA149F-21B2-48AB-82C4-28FB6BDFD783}</Project>
<Name>WpfDesign.XamlDom</Name>
</ProjectReference>
<ProjectReference Include="..\..\WpfDesign\Project\WpfDesign.csproj">
<Project>{66A378A1-E9F4-4AD5-8946-D0EC06C2902F}</Project>
<Name>WpfDesign</Name>
</ProjectReference>
<ProjectReference Include="..\Project\WpfDesign.Designer.csproj">
<Project>{78CC29AC-CC79-4355-B1F2-97936DF198AC}</Project>
<Name>WpfDesign.Designer</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Page Include="Test.xaml">
<SubType>Designer</SubType>
</Page>
<Page Include="XamlDom\NamscopeTestUsercontrol.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
</Project>
</Project>

Просмотреть файл

@ -1,109 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<ProjectGuid>{88DA149F-21B2-48AB-82C4-28FB6BDFD783}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<OutputType>Library</OutputType>
<RootNamespace>ICSharpCode.WpfDesign.XamlDom</RootNamespace>
<AssemblyName>ICSharpCode.WpfDesign.XamlDom</AssemblyName>
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
<NoStdLib>False</NoStdLib>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<DelaySign>False</DelaySign>
<AssemblyOriginatorKeyMode>File</AssemblyOriginatorKeyMode>
<RunCodeAnalysis>False</RunCodeAnalysis>
<CodeAnalysisRules>-Microsoft.Globalization#CA1303;-Microsoft.Performance#CA1800</CodeAnalysisRules>
<OutputPath>..\..\bin\</OutputPath>
<DocumentationFile>..\..\bin\ICSharpCode.WpfDesign.XamlDom.xml</DocumentationFile>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<SourceAnalysisOverrideSettingsFile>C:\Users\Daniel\AppData\Roaming\ICSharpCode/SharpDevelop3.0\Settings.SourceAnalysis</SourceAnalysisOverrideSettingsFile>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<TargetFrameworks>netcoreapp3.0;net45</TargetFrameworks>
<DocumentationFile>..\..\bin\netcoreapp3.0\ICSharpCode.WpfDesign.XamlDom.xml</DocumentationFile>
<OutputPath>..\..\bin\</OutputPath>
<UseWPF>true</UseWPF>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AssemblyName>ICSharpCode.WpfDesign.XamlDom</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>Full</DebugType>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<Optimize>False</Optimize>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>False</DebugSymbols>
<DebugType>None</DebugType>
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
<RegisterForComInterop>False</RegisterForComInterop>
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
<BaseAddress>4194304</BaseAddress>
<PlatformTarget>AnyCPU</PlatformTarget>
<FileAlignment>4096</FileAlignment>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
<ItemGroup>
<Reference Include="PresentationCore">
<Private>False</Private>
</Reference>
<Reference Include="PresentationFramework">
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="WindowsBase">
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\GlobalAssemblyInfo.cs">
<Link>GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="CollectionElementsCollection.cs" />
<Compile Include="CollectionSupport.cs" />
<Compile Include="DesignInstanceExtension.cs" />
<Compile Include="XamlElementLineInfo.cs" />
<Compile Include="XamlFormatter.cs" />
<Compile Include="XamlNamespaceProperties.cs" />
<Compile Include="DesignTimeProperties.cs" />
<Compile Include="IXamlErrorSink.cs" />
<Compile Include="MarkupCompatibilityProperties.cs" />
<Compile Include="MarkupExtensionParser.cs" />
<Compile Include="MarkupExtensionPrinter.cs" />
<Compile Include="MarkupExtensionWrapper.cs" />
<Compile Include="MarkupExtensionWrapperAttribute.cs" />
<Compile Include="NameScopeHelper.cs" />
<Compile Include="PositionXmlDocument.cs" />
<Compile Include="TemplateHelper.cs" />
<Compile Include="XamlConstants.cs" />
<Compile Include="XamlDocument.cs" />
<Compile Include="XamlLoadException.cs" />
<Compile Include="XamlObject.cs" />
<Compile Include="XamlObjectServiceProvider.cs" />
<Compile Include="XamlParser.cs" />
<Compile Include="XamlParserSettings.cs" />
<Compile Include="XamlProperty.cs" />
<Compile Include="XamlPropertyInfo.cs" />
<Compile Include="XamlPropertyValue.cs" />
<Compile Include="XamlStaticTools.cs" />
<Compile Include="XamlTextValue.cs" />
<Compile Include="XamlTypeFinder.cs" />
<Compile Include="XamlTypeResolverProvider.cs" />
<Compile Include="XamlXmlWriter.cs" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\ICSharpCode.SharpDevelop.snk">
<Link>ICSharpCode.SharpDevelop.snk</Link>
</None>
<Compile Include="..\..\GlobalAssemblyInfo.cs" Link="GlobalAssemblyInfo.cs" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,25 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
# Visual Studio Version 16
VisualStudioVersion = 16.0.28714.193
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfDesign.XamlDom", "WpfDesign.XamlDom\Project\WpfDesign.XamlDom.csproj", "{88DA149F-21B2-48AB-82C4-28FB6BDFD783}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WpfDesign", "WpfDesign\Project\WpfDesign.csproj", "{F5793845-C507-484B-BB2A-3F7E015E53B6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfDesign.Designer", "WpfDesign.Designer\Project\WpfDesign.Designer.csproj", "{78CC29AC-CC79-4355-B1F2-97936DF198AC}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WpfDesign.Designer", "WpfDesign.Designer\Project\WpfDesign.Designer.csproj", "{C5610CD4-1CB5-49F6-A481-ACFA30C2F81D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfDesign", "WpfDesign\Project\WpfDesign.csproj", "{66A378A1-E9F4-4AD5-8946-D0EC06C2902F}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WpfDesign.XamlDom", "WpfDesign.XamlDom\Project\WpfDesign.XamlDom.csproj", "{80F0463A-6132-441D-AC02-D7C37B537272}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfDesign.Tests", "WpfDesign.Designer\Tests\WpfDesign.Tests.csproj", "{943DBBB3-E84E-4CF4-917C-C05AFA8743C1}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Demo.SimpleSample", "SimpleSample\Demo.SimpleSample.csproj", "{399A75D2-6EEB-45D8-AE16-71636114B49F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XamlDesigner", "XamlDesigner\XamlDesigner.csproj", "{27DA2B5C-2AAA-4478-AB00-3E184273C241}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WpfDesign.Designer.ExpressionBlendInteractionAddon", "WpfDesign.Design.ExpressionBlendInteractionAddon\WpfDesign.Designer.ExpressionBlendInteractionAddon.csproj", "{18995A10-5184-47AC-8008-44C291111366}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleSample", "SimpleSample\SimpleSample.csproj", "{D33AB2C0-2D8A-4539-B7AF-3E2AA8D1081D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WpfDesign.Tests", "WpfDesign.Designer\Tests\WpfDesign.Tests.csproj", "{7242F38C-28DD-4E21-BB00-1BA3305DCA5D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyTestAssembly", "MyTestAssembly\MyTestAssembly.csproj", "{DC6BD4A4-BF01-4A4B-BEF6-9B17D6AB2E06}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Demo.MyDesigner", "MyDesigner\Demo.MyDesigner.csproj", "{C832525D-289D-4559-82F3-5EB6D21BD6E3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyDesigner", "MyDesigner\MyDesigner.csproj", "{E65E2846-F038-4F38-A958-8F5DE7DFFBCD}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Demo.MyTestAssembly", "MyTestAssembly\Demo.MyTestAssembly.csproj", "{C5B94F76-E1CF-4398-8A25-DBFDEA6DA315}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfDesign.Designer.ExpressionBlendInteractionAddon", "WpfDesign.Design.ExpressionBlendInteractionAddon\WpfDesign.Designer.ExpressionBlendInteractionAddon.csproj", "{01F281CF-7616-40E3-ABE7-AAC008698719}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Demo.XamlDesigner", "XamlDesigner\Demo.XamlDesigner.csproj", "{63EC4F23-E2D6-44D0-8561-2378F4DEF06B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -27,44 +27,47 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{88DA149F-21B2-48AB-82C4-28FB6BDFD783}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{88DA149F-21B2-48AB-82C4-28FB6BDFD783}.Debug|Any CPU.Build.0 = Debug|Any CPU
{88DA149F-21B2-48AB-82C4-28FB6BDFD783}.Release|Any CPU.ActiveCfg = Release|Any CPU
{88DA149F-21B2-48AB-82C4-28FB6BDFD783}.Release|Any CPU.Build.0 = Release|Any CPU
{78CC29AC-CC79-4355-B1F2-97936DF198AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{78CC29AC-CC79-4355-B1F2-97936DF198AC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{78CC29AC-CC79-4355-B1F2-97936DF198AC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{78CC29AC-CC79-4355-B1F2-97936DF198AC}.Release|Any CPU.Build.0 = Release|Any CPU
{66A378A1-E9F4-4AD5-8946-D0EC06C2902F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{66A378A1-E9F4-4AD5-8946-D0EC06C2902F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{66A378A1-E9F4-4AD5-8946-D0EC06C2902F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{66A378A1-E9F4-4AD5-8946-D0EC06C2902F}.Release|Any CPU.Build.0 = Release|Any CPU
{943DBBB3-E84E-4CF4-917C-C05AFA8743C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{943DBBB3-E84E-4CF4-917C-C05AFA8743C1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{943DBBB3-E84E-4CF4-917C-C05AFA8743C1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{943DBBB3-E84E-4CF4-917C-C05AFA8743C1}.Release|Any CPU.Build.0 = Release|Any CPU
{27DA2B5C-2AAA-4478-AB00-3E184273C241}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{27DA2B5C-2AAA-4478-AB00-3E184273C241}.Debug|Any CPU.Build.0 = Debug|Any CPU
{27DA2B5C-2AAA-4478-AB00-3E184273C241}.Release|Any CPU.ActiveCfg = Release|Any CPU
{27DA2B5C-2AAA-4478-AB00-3E184273C241}.Release|Any CPU.Build.0 = Release|Any CPU
{D33AB2C0-2D8A-4539-B7AF-3E2AA8D1081D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D33AB2C0-2D8A-4539-B7AF-3E2AA8D1081D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D33AB2C0-2D8A-4539-B7AF-3E2AA8D1081D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D33AB2C0-2D8A-4539-B7AF-3E2AA8D1081D}.Release|Any CPU.Build.0 = Release|Any CPU
{DC6BD4A4-BF01-4A4B-BEF6-9B17D6AB2E06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DC6BD4A4-BF01-4A4B-BEF6-9B17D6AB2E06}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DC6BD4A4-BF01-4A4B-BEF6-9B17D6AB2E06}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DC6BD4A4-BF01-4A4B-BEF6-9B17D6AB2E06}.Release|Any CPU.Build.0 = Release|Any CPU
{E65E2846-F038-4F38-A958-8F5DE7DFFBCD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E65E2846-F038-4F38-A958-8F5DE7DFFBCD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E65E2846-F038-4F38-A958-8F5DE7DFFBCD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E65E2846-F038-4F38-A958-8F5DE7DFFBCD}.Release|Any CPU.Build.0 = Release|Any CPU
{01F281CF-7616-40E3-ABE7-AAC008698719}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{01F281CF-7616-40E3-ABE7-AAC008698719}.Debug|Any CPU.Build.0 = Debug|Any CPU
{01F281CF-7616-40E3-ABE7-AAC008698719}.Release|Any CPU.ActiveCfg = Release|Any CPU
{01F281CF-7616-40E3-ABE7-AAC008698719}.Release|Any CPU.Build.0 = Release|Any CPU
{F5793845-C507-484B-BB2A-3F7E015E53B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F5793845-C507-484B-BB2A-3F7E015E53B6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F5793845-C507-484B-BB2A-3F7E015E53B6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F5793845-C507-484B-BB2A-3F7E015E53B6}.Release|Any CPU.Build.0 = Release|Any CPU
{C5610CD4-1CB5-49F6-A481-ACFA30C2F81D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C5610CD4-1CB5-49F6-A481-ACFA30C2F81D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C5610CD4-1CB5-49F6-A481-ACFA30C2F81D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C5610CD4-1CB5-49F6-A481-ACFA30C2F81D}.Release|Any CPU.Build.0 = Release|Any CPU
{80F0463A-6132-441D-AC02-D7C37B537272}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{80F0463A-6132-441D-AC02-D7C37B537272}.Debug|Any CPU.Build.0 = Debug|Any CPU
{80F0463A-6132-441D-AC02-D7C37B537272}.Release|Any CPU.ActiveCfg = Release|Any CPU
{80F0463A-6132-441D-AC02-D7C37B537272}.Release|Any CPU.Build.0 = Release|Any CPU
{399A75D2-6EEB-45D8-AE16-71636114B49F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{399A75D2-6EEB-45D8-AE16-71636114B49F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{399A75D2-6EEB-45D8-AE16-71636114B49F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{399A75D2-6EEB-45D8-AE16-71636114B49F}.Release|Any CPU.Build.0 = Release|Any CPU
{18995A10-5184-47AC-8008-44C291111366}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{18995A10-5184-47AC-8008-44C291111366}.Debug|Any CPU.Build.0 = Debug|Any CPU
{18995A10-5184-47AC-8008-44C291111366}.Release|Any CPU.ActiveCfg = Release|Any CPU
{18995A10-5184-47AC-8008-44C291111366}.Release|Any CPU.Build.0 = Release|Any CPU
{7242F38C-28DD-4E21-BB00-1BA3305DCA5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7242F38C-28DD-4E21-BB00-1BA3305DCA5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7242F38C-28DD-4E21-BB00-1BA3305DCA5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7242F38C-28DD-4E21-BB00-1BA3305DCA5D}.Release|Any CPU.Build.0 = Release|Any CPU
{C832525D-289D-4559-82F3-5EB6D21BD6E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C832525D-289D-4559-82F3-5EB6D21BD6E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C832525D-289D-4559-82F3-5EB6D21BD6E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C832525D-289D-4559-82F3-5EB6D21BD6E3}.Release|Any CPU.Build.0 = Release|Any CPU
{C5B94F76-E1CF-4398-8A25-DBFDEA6DA315}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C5B94F76-E1CF-4398-8A25-DBFDEA6DA315}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C5B94F76-E1CF-4398-8A25-DBFDEA6DA315}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C5B94F76-E1CF-4398-8A25-DBFDEA6DA315}.Release|Any CPU.Build.0 = Release|Any CPU
{63EC4F23-E2D6-44D0-8561-2378F4DEF06B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{63EC4F23-E2D6-44D0-8561-2378F4DEF06B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{63EC4F23-E2D6-44D0-8561-2378F4DEF06B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{63EC4F23-E2D6-44D0-8561-2378F4DEF06B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {09903FBE-1014-460C-817A-04950C420E78}
EndGlobalSection
EndGlobal

Просмотреть файл

@ -1,5 +0,0 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/OTHER_BRACES/@EntryValue">END_OF_LINE</s:String>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EAddAccessorOwnerDeclarationBracesMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateBlankLinesAroundFieldToBlankLinesAroundProperty/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateThisQualifierSettings/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>

Просмотреть файл

@ -20,6 +20,7 @@ using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows.Markup;
// Information about this assembly is defined by the following
// attributes.
@ -33,3 +34,5 @@ using System.Runtime.InteropServices;
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: CLSCompliant(true)]
[assembly: XmlnsDefinition("http://sharpdevelop.net", "ICSharpCode.WpfDesign.PropertyGrid")]

Просмотреть файл

@ -1,139 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<ProjectGuid>{66A378A1-E9F4-4AD5-8946-D0EC06C2902F}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<OutputType>Library</OutputType>
<RootNamespace>ICSharpCode.WpfDesign</RootNamespace>
<AssemblyName>ICSharpCode.WpfDesign</AssemblyName>
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
<NoStdLib>False</NoStdLib>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<DelaySign>False</DelaySign>
<AssemblyOriginatorKeyMode>File</AssemblyOriginatorKeyMode>
<OutputPath>..\..\bin\</OutputPath>
<DocumentationFile>..\..\bin\ICSharpCode.WpfDesign.xml</DocumentationFile>
<RunCodeAnalysis>False</RunCodeAnalysis>
<CodeAnalysisRules>-Microsoft.Globalization#CA1303</CodeAnalysisRules>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<TargetFrameworks>netcoreapp3.0;net45</TargetFrameworks>
<DocumentationFile>..\..\bin\netcoreapp3.0\ICSharpCode.WpfDesign.xml</DocumentationFile>
<OutputPath>..\..\bin\</OutputPath>
<UseWPF>true</UseWPF>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AssemblyName>ICSharpCode.WpfDesign</AssemblyName>
<RootNamespace>ICSharpCode.WpfDesign</RootNamespace>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>Full</DebugType>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<Optimize>False</Optimize>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>False</DebugSymbols>
<DebugType>None</DebugType>
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
<RegisterForComInterop>False</RegisterForComInterop>
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
<BaseAddress>4194304</BaseAddress>
<PlatformTarget>AnyCPU</PlatformTarget>
<FileAlignment>4096</FileAlignment>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
<ItemGroup>
<Reference Include="PresentationCore">
<Private>False</Private>
</Reference>
<Reference Include="PresentationFramework">
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml" />
<Reference Include="WindowsBase">
<Private>False</Private>
</Reference>
<Compile Include="..\..\GlobalAssemblyInfo.cs" Link="Configuration\GlobalAssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\GlobalAssemblyInfo.cs">
<Link>GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="Adorners\AdornerPanel.cs" />
<Compile Include="Adorners\AdornerPlacement.cs" />
<Compile Include="Adorners\AdornerPlacementSpace.cs" />
<Compile Include="Adorners\AdornerProvider.cs" />
<Compile Include="Adorners\AdornerProviderClasses.cs" />
<Compile Include="Adorners\IAdornerLayer.cs" />
<Compile Include="Adorners\RelativePlacement.cs" />
<Compile Include="DrawItemExtension.cs" />
<Compile Include="DummyValueInsteadOfNullTypeDescriptionProvider.cs" />
<Compile Include="ExtensionMethods.cs" />
<Compile Include="Extensions\MouseOverExtensionServer.cs" />
<Compile Include="Extensions\XamlInstanceFactory.cs" />
<Compile Include="Extensions\DesignItemInitializer.cs" />
<Compile Include="Extensions\ExtensionAttribute.cs" />
<Compile Include="Extensions\ExtensionInterfaces.cs" />
<Compile Include="Extensions\NeverApplyExtensionsExtensionServer.cs" />
<Compile Include="HitTestType.cs" />
<Compile Include="Interfaces\IObservableList.cs" />
<Compile Include="Metadata.cs" />
<Compile Include="PlacementInformation.cs" />
<Compile Include="PlacementBehavior.cs" />
<Compile Include="MouseInteraction.cs" />
<Compile Include="ChangeGroup.cs" />
<Compile Include="DesignContext.cs" />
<Compile Include="DesignItemProperty.cs" />
<Compile Include="DesignPanelHitTestResult.cs" />
<Compile Include="EventArgs.cs" />
<Compile Include="Configuration\AssemblyInfo.cs" />
<Compile Include="DesignerException.cs" />
<Compile Include="Extensions\BehaviorExtension.cs" />
<Compile Include="Extensions\CustomInstanceFactory.cs" />
<Compile Include="Extensions\DefaultExtension.cs" />
<Compile Include="Extensions\DefaultInitializer.cs" />
<Compile Include="Extensions\Extension.cs" />
<Compile Include="Extensions\ExtensionForAttribute.cs" />
<Compile Include="Extensions\ExtensionManager.cs" />
<Compile Include="Extensions\ExtensionServer.cs" />
<Compile Include="Extensions\ExtensionServerAttribute.cs" />
<Compile Include="Extensions\LogicalExtensionServers.cs" />
<Compile Include="Extensions\SelectionExtensionServers.cs" />
<Compile Include="PlacementOperation.cs" />
<Compile Include="PlacementType.cs" />
<Compile Include="PlacementAlignment.cs" />
<Compile Include="PropertyGrid\Category.cs" />
<Compile Include="PropertyGrid\EditorManager.cs" />
<Compile Include="PropertyGrid\PropertyEditorAttribute.cs" />
<Compile Include="PropertyGrid\PropertyNode.cs" />
<Compile Include="PropertyGrid\SortedObservableCollection.cs" />
<Compile Include="PropertyGrid\TypeEditorAttribute.cs" />
<Compile Include="PropertyGrid\TypeHelper.cs" />
<Compile Include="ServiceContainer.cs" />
<Compile Include="DesignItem.cs" />
<Compile Include="ServiceRequiredException.cs" />
<Compile Include="Services.cs" />
<Compile Include="Tools.cs" />
<Compile Include="UIExtensions\MouseHorizontalWheelEnabler.cs" />
<Compile Include="UIExtensions\MouseHorizontalWheelEventArgs.cs" />
<Compile Include="UIExtensions\UIHelpers.cs" />
</ItemGroup>
<ItemGroup>
<CodeAnalysisDictionary Include="Configuration\CodeAnalysisDictionary.xml" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\ICSharpCode.SharpDevelop.snk">
<Link>ICSharpCode.SharpDevelop.snk</Link>
</None>
</ItemGroup>
<ItemGroup />
</Project>

Просмотреть файл

@ -0,0 +1,40 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net45</TargetFramework>
<UseWPF>true</UseWPF>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<ApplicationIcon />
<StartupObject />
</PropertyGroup>
<ItemGroup>
<None Remove="Images\Error.png" />
<None Remove="Images\Reference.png" />
<None Remove="Images\Tag.png" />
</ItemGroup>
<ItemGroup>
<Page Remove="NewFileTemplate.xaml" />
</ItemGroup>
<ItemGroup>
<None Include="NewFileTemplate.xaml">
<Generator>MSBuild:Compile</Generator>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="AvalonEdit" Version="5.0.4" />
<PackageReference Include="DotNetProjects.AvalonDock" Version="3.2.49" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\WpfDesign.Design.ExpressionBlendInteractionAddon\WpfDesign.Designer.ExpressionBlendInteractionAddon.csproj" />
<ProjectReference Include="..\WpfDesign.Designer\Project\WpfDesign.Designer.csproj" />
<ProjectReference Include="..\WpfDesign.XamlDom\Project\WpfDesign.XamlDom.csproj" />
<ProjectReference Include="..\WpfDesign\Project\WpfDesign.csproj" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\Error.png" />
<Resource Include="Images\Reference.png" />
<Resource Include="Images\Tag.png" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,231 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{27DA2B5C-2AAA-4478-AB00-3E184273C241}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>ICSharpCode.XamlDesigner</RootNamespace>
<AssemblyName>XamlDesigner</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<ApplicationManifest>Configuration\app.manifest</ApplicationManifest>
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
<NoStdLib>False</NoStdLib>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>Full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
</PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
<RegisterForComInterop>False</RegisterForComInterop>
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
<BaseAddress>4194304</BaseAddress>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Reference Include="DotNetProjects.Wpf.AvalonDock, Version=3.2.49.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4, processorArchitecture=MSIL">
<HintPath>..\packages\DotNetProjects.AvalonDock.3.2.49\lib\net40\DotNetProjects.Wpf.AvalonDock.dll</HintPath>
</Reference>
<Reference Include="ICSharpCode.AvalonEdit, Version=5.0.3.0, Culture=neutral, PublicKeyToken=9cc39be672370310, processorArchitecture=MSIL">
<HintPath>..\packages\AvalonEdit.5.0.4\lib\Net40\ICSharpCode.AvalonEdit.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Expression.Interactions, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Expression.Interaction.3.0.40218.0\lib\net45\Microsoft.Expression.Interactions.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Expression.Interaction.3.0.40218.0\lib\net45\System.Windows.Interactivity.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="UIAutomationProvider">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="PresentationCore">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="PresentationFramework">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Compile Include="AvalonDock\ActiveDocumentConverter.cs" />
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<ProjectReference Include="..\WpfDesign.Design.ExpressionBlendInteractionAddon\WpfDesign.Designer.ExpressionBlendInteractionAddon.csproj">
<Project>{01f281cf-7616-40e3-abe7-aac008698719}</Project>
<Name>WpfDesign.Designer.ExpressionBlendInteractionAddon</Name>
</ProjectReference>
<ProjectReference Include="..\WpfDesign.Designer\Project\WpfDesign.Designer.csproj">
<Project>{78CC29AC-CC79-4355-B1F2-97936DF198AC}</Project>
<Name>WpfDesign.Designer</Name>
</ProjectReference>
<ProjectReference Include="..\WpfDesign.XamlDom\Project\WpfDesign.XamlDom.csproj">
<Project>{88DA149F-21B2-48AB-82C4-28FB6BDFD783}</Project>
<Name>WpfDesign.XamlDom</Name>
</ProjectReference>
<ProjectReference Include="..\WpfDesign\Project\WpfDesign.csproj">
<Project>{66A378A1-E9F4-4AD5-8946-D0EC06C2902F}</Project>
<Name>WpfDesign</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Include="AvalonDock\PanesStyleSelector.cs" />
<Compile Include="AvalonDock\PanesTemplateSelector.cs" />
<Compile Include="BitmapButton.xaml.cs">
<DependentUpon>BitmapButton.xaml</DependentUpon>
</Compile>
<Compile Include="Configuration\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Configuration\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
<Compile Include="Converters.cs" />
<Compile Include="Document.cs" />
<Compile Include="DocumentView.xaml.cs">
<DependentUpon>DocumentView.xaml</DependentUpon>
</Compile>
<Compile Include="ErrorListView.xaml.cs">
<DependentUpon>ErrorListView.xaml</DependentUpon>
</Compile>
<Compile Include="ExtensionMethods.cs" />
<Compile Include="MainWindow_Commands.cs" />
<Compile Include="MyTypeFinder.cs" />
<Compile Include="Shell.cs" />
<Compile Include="MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
</Compile>
<Compile Include="SimpleCommand.cs" />
<Compile Include="Toolbox.cs" />
<Compile Include="ToolboxView.xaml.cs">
<DependentUpon>ToolboxView.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="NewFileTemplate.xaml">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<Page Include="BitmapButton.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="DocumentView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="ErrorListView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="MainWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<None Include="packages.config" />
<None Include="TestFiles\1.xaml">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="TestFiles\2.xaml">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="TestFiles\3.xaml">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="TestFiles\4.xaml">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="TestFiles\5.xaml">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<Page Include="Themes\Generic.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="ToolboxView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<ItemGroup>
<None Include="Configuration\app.config" />
<None Include="Configuration\app.manifest" />
<None Include="Configuration\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<Resource Include="Images\Reference.png" />
<Resource Include="Images\Tag.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\Error.png" />
</ItemGroup>
<ItemGroup>
<Folder Include="ArrowControl\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

Просмотреть файл

@ -2,9 +2,9 @@
only:
- master
version: 7.0.{build}
os: Visual Studio 2015
version: 8.0.{build}
image: Visual Studio 2019 Preview
configuration: Debug
assembly_info:
@ -24,7 +24,7 @@
- ps: .\nuget\pack.ps1
test_script:
- cmd: nunit-console bin\UnitTests\ICSharpCode.WpfDesign.Tests.dll /framework:net-4.5
- cmd: nunit3-console WpfDesign.Designer\Tests\bin\Debug\net45\ICSharpCode.WpfDesign.Tests.dll --framework:net-4.5 --result=myresults.xml;format=AppVeyor
artifacts:
- path: 'ICSharpCode.WpfDesigner.*.nupkg'

Просмотреть файл

@ -16,7 +16,7 @@
<tags>WPF XAML Designer UI Editor SharpDevelop WpfDesigner</tags>
</metadata>
<files>
<file src="..\WpfDesign.Design.ExpressionBlendInteractionAddon\bin\Debug\ICSharpCode.WpfDesign.Designer.ExpressionBlendInteractionAddon.dll" target="lib\net40" />
<file src="..\WpfDesign.Design.ExpressionBlendInteractionAddon\bin\Debug\ICSharpCode.WpfDesign.Designer.ExpressionBlendInteractionAddon.pdb" target="lib\net40" />
<file src="..\WpfDesign.Design.ExpressionBlendInteractionAddon\bin\Debug\net45\ICSharpCode.WpfDesign.Designer.ExpressionBlendInteractionAddon.dll" target="lib\net45" />
<file src="..\WpfDesign.Design.ExpressionBlendInteractionAddon\bin\Debug\net45\ICSharpCode.WpfDesign.Designer.ExpressionBlendInteractionAddon.pdb" target="lib\net45" />
</files>
</package>

Просмотреть файл

@ -16,14 +16,23 @@
<tags>WPF XAML Designer UI Editor SharpDevelop WpfDesigner</tags>
</metadata>
<files>
<file src="..\bin\ICSharpCode.WpfDesign.Designer.dll" target="lib\net40" />
<file src="..\bin\ICSharpCode.WpfDesign.Designer.pdb" target="lib\net40" />
<file src="..\bin\ICSharpCode.WpfDesign.Designer.xml" target="lib\net40" />
<file src="..\bin\ICSharpCode.WpfDesign.dll" target="lib\net40" />
<file src="..\bin\ICSharpCode.WpfDesign.pdb" target="lib\net40" />
<file src="..\bin\ICSharpCode.WpfDesign.xml" target="lib\net40" />
<file src="..\bin\ICSharpCode.WpfDesign.XamlDom.dll" target="lib\net40" />
<file src="..\bin\ICSharpCode.WpfDesign.XamlDom.pdb" target="lib\net40" />
<file src="..\bin\ICSharpCode.WpfDesign.XamlDom.xml" target="lib\net40" />
<file src="..\bin\net45\ICSharpCode.WpfDesign.Designer.dll" target="lib\net45" />
<file src="..\bin\net45\ICSharpCode.WpfDesign.Designer.pdb" target="lib\net45" />
<file src="..\bin\net45\ICSharpCode.WpfDesign.Designer.xml" target="lib\net45" />
<file src="..\bin\net45\ICSharpCode.WpfDesign.dll" target="lib\net45" />
<file src="..\bin\net45\ICSharpCode.WpfDesign.pdb" target="lib\net45" />
<file src="..\bin\net45\ICSharpCode.WpfDesign.xml" target="lib\net45" />
<file src="..\bin\net45\ICSharpCode.WpfDesign.XamlDom.dll" target="lib\net45" />
<file src="..\bin\net45\ICSharpCode.WpfDesign.XamlDom.pdb" target="lib\net45" />
<file src="..\bin\net45\ICSharpCode.WpfDesign.XamlDom.xml" target="lib\net45" />
<file src="..\bin\netcoreapp3.0\ICSharpCode.WpfDesign.Designer.dll" target="lib\netcoreapp3.0" />
<file src="..\bin\netcoreapp3.0\ICSharpCode.WpfDesign.Designer.pdb" target="lib\netcoreapp3.0" />
<file src="..\bin\netcoreapp3.0\ICSharpCode.WpfDesign.Designer.xml" target="lib\netcoreapp3.0" />
<file src="..\bin\netcoreapp3.0\ICSharpCode.WpfDesign.dll" target="lib\netcoreapp3.0" />
<file src="..\bin\netcoreapp3.0\ICSharpCode.WpfDesign.pdb" target="lib\netcoreapp3.0" />
<file src="..\bin\netcoreapp3.0\ICSharpCode.WpfDesign.xml" target="lib\netcoreapp3.0" />
<file src="..\bin\netcoreapp3.0\ICSharpCode.WpfDesign.XamlDom.dll" target="lib\netcoreapp3.0" />
<file src="..\bin\netcoreapp3.0\ICSharpCode.WpfDesign.XamlDom.pdb" target="lib\netcoreapp3.0" />
<file src="..\bin\netcoreapp3.0\ICSharpCode.WpfDesign.XamlDom.xml" target="lib\netcoreapp3.0" />
</files>
</package>

Двоичные данные
nuget/nuget.exe

Двоичный файл не отображается.

Просмотреть файл

@ -2,7 +2,7 @@ $root = (split-path -parent $MyInvocation.MyCommand.Definition) + '\..'
Write-Host "root: $root"
$version = [System.Reflection.Assembly]::LoadFile("$root\bin\ICSharpCode.WpfDesign.dll").GetName().Version
$version = [System.Reflection.Assembly]::LoadFile("$root\bin\net45\ICSharpCode.WpfDesign.dll").GetName().Version
$versionStr = "{0}.{1}.{2}" -f ($version.Major, $version.Minor, $version.Build)
Write-Host "Setting .nuspec version tag to $versionStr"