diff --git a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/CanvasPlacementSupport.cs b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/CanvasPlacementSupport.cs
index 975003b2b6..206796fda3 100644
--- a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/CanvasPlacementSupport.cs
+++ b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/CanvasPlacementSupport.cs
@@ -30,9 +30,11 @@ namespace ICSharpCode.WpfDesign.Designer.Extensions
/// Provides behavior for .
///
[ExtensionFor(typeof(Canvas), OverrideExtension=typeof(DefaultPlacementBehavior))]
- public sealed class CanvasPlacementSupport : SnaplinePlacementBehavior
+ public class CanvasPlacementSupport : SnaplinePlacementBehavior
{
GrayOutDesignerExceptActiveArea grayOut;
+ FrameworkElement extendedComponent;
+ FrameworkElement extendedView;
static double GetCanvasProperty(UIElement element, DependencyProperty d)
{
@@ -48,6 +50,14 @@ namespace ICSharpCode.WpfDesign.Designer.Extensions
return element.ReadLocalValue(d) != DependencyProperty.UnsetValue;
}
+ protected override void OnInitialized()
+ {
+ base.OnInitialized();
+
+ extendedComponent = (FrameworkElement)ExtendedItem.Component;
+ extendedView = (FrameworkElement)this.ExtendedItem.View;
+ }
+
public override void SetPosition(PlacementInformation info)
{
base.SetPosition(info);
@@ -58,7 +68,7 @@ namespace ICSharpCode.WpfDesign.Designer.Extensions
if (IsPropertySet(child, Canvas.RightProperty))
{
- var newR = ((Canvas) ExtendedItem.Component).ActualWidth - newPosition.Right;
+ var newR = extendedComponent.ActualWidth - newPosition.Right;
if (newR != GetCanvasProperty(child, Canvas.RightProperty))
info.Item.Properties.GetAttachedProperty(Canvas.RightProperty).SetValue(newR);
}
@@ -70,7 +80,7 @@ namespace ICSharpCode.WpfDesign.Designer.Extensions
if (IsPropertySet(child, Canvas.BottomProperty))
{
- var newB = ((Canvas)ExtendedItem.Component).ActualHeight - newPosition.Bottom;
+ var newB = extendedComponent.ActualHeight - newPosition.Bottom;
if (newB != GetCanvasProperty(child, Canvas.BottomProperty))
info.Item.Properties.GetAttachedProperty(Canvas.BottomProperty).SetValue(newB);
}
@@ -81,8 +91,7 @@ namespace ICSharpCode.WpfDesign.Designer.Extensions
if (info.Item == Services.Selection.PrimarySelection)
{
- var cv = this.ExtendedItem.View as Canvas;
- var b = new Rect(0, 0, cv.ActualWidth, cv.ActualHeight);
+ var b = new Rect(0, 0, extendedView.ActualWidth, extendedView.ActualHeight);
// only for primary selection:
if (grayOut != null)
{
diff --git a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/OutlineView/DragTreeViewItem.cs b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/OutlineView/DragTreeViewItem.cs
index 191431c14d..c5bd677aa0 100644
--- a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/OutlineView/DragTreeViewItem.cs
+++ b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/OutlineView/DragTreeViewItem.cs
@@ -159,7 +159,10 @@ namespace ICSharpCode.WpfDesign.Designer.OutlineView
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
{
base.OnMouseLeftButtonUp(e);
- ParentTree.ItemMouseUp(this);
+
+ if (ParentTree != null) {
+ ParentTree.ItemMouseUp(this);
+ }
}
}
}
diff --git a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/ExampleService.cs b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/ExampleService.cs
index dd64abfb26..eac4e91e19 100644
--- a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/ExampleService.cs
+++ b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/ExampleService.cs
@@ -67,5 +67,25 @@ namespace ICSharpCode.WpfDesign.Tests.XamlDom
// TODO: add this test, check for correct setting of NameScope
//TestHelperLog.Log("ExampleDependencyObject.OnPropertyChanged " + e.Property.Name);
}
+
+ public static readonly DependencyProperty ExampleProperty = DependencyProperty.RegisterAttached(
+ "Example", typeof(string), typeof(ExampleDependencyObject)
+ );
+
+ public static string GetExample(DependencyObject element)
+ {
+ TestHelperLog.Log("ExampleDependencyObject.GetExample");
+ return (string)element.GetValue(ExampleProperty);
+ }
+
+ public static void SetExample(DependencyObject element, string value)
+ {
+ TestHelperLog.Log("ExampleDependencyObject.SetExample");
+ element.SetValue(ExampleProperty, value);
+ }
+ }
+
+ public class DerivedExampleDependencyObject : ExampleDependencyObject
+ {
}
}
diff --git a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/SimpleLoadTests.cs b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/SimpleLoadTests.cs
index 5e52a42617..966bf37b5d 100644
--- a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/SimpleLoadTests.cs
+++ b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/SimpleLoadTests.cs
@@ -418,5 +418,18 @@ namespace ICSharpCode.WpfDesign.Tests.XamlDom
");
}
+
+ [Test]
+ public void UsingAttachedPropertyOnDerivedClass()
+ {
+ TestLoading(@"
+
+
+ ");
+ }
}
}
diff --git a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.XamlDom/Project/XamlParser.cs b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.XamlDom/Project/XamlParser.cs
index 04f3a330d8..7006c57cf7 100644
--- a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.XamlDom/Project/XamlParser.cs
+++ b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.XamlDom/Project/XamlParser.cs
@@ -478,6 +478,11 @@ namespace ICSharpCode.WpfDesign.XamlDom
return new XamlDependencyPropertyInfo((DependencyProperty)field.GetValue(null), true);
}
}
+
+ if (elementType.BaseType != null) {
+ return TryFindAttachedProperty(elementType.BaseType, propertyName);
+ }
+
return null;
}
diff --git a/src/AddIns/Misc/Reporting/Libraries/Irony.Interpreter.dll b/src/AddIns/Misc/Reporting/Libraries/Irony.Interpreter.dll
index 63c5a3e20d..f9971a2dd6 100644
Binary files a/src/AddIns/Misc/Reporting/Libraries/Irony.Interpreter.dll and b/src/AddIns/Misc/Reporting/Libraries/Irony.Interpreter.dll differ
diff --git a/src/AddIns/Misc/Reporting/Libraries/Irony.dll b/src/AddIns/Misc/Reporting/Libraries/Irony.dll
index 64ef17359a..743f2b190e 100644
Binary files a/src/AddIns/Misc/Reporting/Libraries/Irony.dll and b/src/AddIns/Misc/Reporting/Libraries/Irony.dll differ
diff --git a/src/AddIns/Misc/Reporting/Libraries/PdfSharp.dll b/src/AddIns/Misc/Reporting/Libraries/PdfSharp.dll
index 2b54688a52..4ff128409a 100644
Binary files a/src/AddIns/Misc/Reporting/Libraries/PdfSharp.dll and b/src/AddIns/Misc/Reporting/Libraries/PdfSharp.dll differ
diff --git a/src/AddIns/Misc/Reporting/Packages/Irony/Irony_2013_09_24.zip b/src/AddIns/Misc/Reporting/Packages/Irony/Irony_2013_09_24.zip
deleted file mode 100644
index 29d33dae7e..0000000000
Binary files a/src/AddIns/Misc/Reporting/Packages/Irony/Irony_2013_09_24.zip and /dev/null differ
diff --git a/src/AddIns/Misc/Reporting/Packages/PackagePrepApp.sln b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp.sln
new file mode 100644
index 0000000000..1f34475371
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.30324.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PackagePrepApp", "PackagePrepApp\PackagePrepApp.csproj", "{6788F8CB-B7C4-4787-9D46-CAAB16F1E9DA}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {6788F8CB-B7C4-4787-9D46-CAAB16F1E9DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6788F8CB-B7C4-4787-9D46-CAAB16F1E9DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6788F8CB-B7C4-4787-9D46-CAAB16F1E9DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6788F8CB-B7C4-4787-9D46-CAAB16F1E9DA}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/App.config b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/App.config
new file mode 100644
index 0000000000..8e15646352
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/App.xaml b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/App.xaml
new file mode 100644
index 0000000000..f5f84efc31
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/App.xaml
@@ -0,0 +1,8 @@
+
+
+
+
+
diff --git a/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/App.xaml.cs b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/App.xaml.cs
new file mode 100644
index 0000000000..ab0dddd141
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/App.xaml.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace PackagePrepApp
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App : Application
+ {
+ }
+}
diff --git a/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/MainWindow.xaml b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/MainWindow.xaml
new file mode 100644
index 0000000000..44e383b485
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/MainWindow.xaml
@@ -0,0 +1,8 @@
+
+
+
+
+
diff --git a/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/MainWindow.xaml.cs b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/MainWindow.xaml.cs
new file mode 100644
index 0000000000..83f21c058c
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/MainWindow.xaml.cs
@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace PackagePrepApp
+{
+ ///
+ /// Interaction logic for MainWindow.xaml
+ ///
+ public partial class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/PackagePrepApp.csproj b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/PackagePrepApp.csproj
new file mode 100644
index 0000000000..037f91757b
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/PackagePrepApp.csproj
@@ -0,0 +1,118 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {6788F8CB-B7C4-4787-9D46-CAAB16F1E9DA}
+ WinExe
+ Properties
+ PackagePrepApp
+ PackagePrepApp
+ v4.5
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+ ..\packages\Irony.0.9.0\lib\net45\Irony.dll
+
+
+ ..\packages\Irony.Interpreter.0.9.0\lib\net45\Irony.Interpreter.dll
+
+
+ ..\packages\PDFsharp.1.32.3057.0\lib\net20\PdfSharp.dll
+
+
+ ..\packages\PDFsharp.1.32.3057.0\lib\net20\PdfSharp.Charting.dll
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+ MainWindow.xaml
+ Code
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/Properties/AssemblyInfo.cs b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000000..dc3a17d3a4
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/Properties/AssemblyInfo.cs
@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("PackagePrepApp")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("PackagePrepApp")]
+[assembly: AssemblyCopyright("Copyright © 2014")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+//In order to begin building localizable applications, set
+//CultureYouAreCodingWith in your .csproj file
+//inside a . For example, if you are using US english
+//in your source files, set the to en-US. Then uncomment
+//the NeutralResourceLanguage attribute below. Update the "en-US" in
+//the line below to match the UICulture setting in the project file.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+ //(used if a resource is not found in the page,
+ // or application resource dictionaries)
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+ //(used if a resource is not found in the page,
+ // app, or any theme specific resource dictionaries)
+)]
+
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/Properties/Resources.Designer.cs b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/Properties/Resources.Designer.cs
new file mode 100644
index 0000000000..4e030d18ad
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/Properties/Resources.Designer.cs
@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34014
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace PackagePrepApp.Properties
+{
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("PackagePrepApp.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/Properties/Resources.resx b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/Properties/Resources.resx
new file mode 100644
index 0000000000..af7dbebbac
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/Properties/Settings.Designer.cs b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/Properties/Settings.Designer.cs
new file mode 100644
index 0000000000..749957f2d2
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/Properties/Settings.Designer.cs
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34014
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace PackagePrepApp.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/Properties/Settings.settings b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/Properties/Settings.settings
new file mode 100644
index 0000000000..033d7a5e9e
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/packages.config b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/packages.config
new file mode 100644
index 0000000000..c09dc5a3d5
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/Packages/PackagePrepApp/packages.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/AddIns/Misc/Reporting/Packages/PdfSharp/PDFSharp-MigraDocFoundation-1_32.zip b/src/AddIns/Misc/Reporting/Packages/PdfSharp/PDFSharp-MigraDocFoundation-1_32.zip
deleted file mode 100644
index 10dd0ec1b7..0000000000
Binary files a/src/AddIns/Misc/Reporting/Packages/PdfSharp/PDFSharp-MigraDocFoundation-1_32.zip and /dev/null differ
diff --git a/src/AddIns/Misc/Reporting/Packages/note.txt b/src/AddIns/Misc/Reporting/Packages/note.txt
new file mode 100644
index 0000000000..e848b7efdb
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/Packages/note.txt
@@ -0,0 +1,8 @@
+This project helps to get the latest stable Nuget packages for SDR:
+
+http://www.nuget.org/packages/Irony/
+http://www.nuget.org/packages/Irony.Interpreter/
+http://www.nuget.org/packages/PdfSharp/
+
+(Reason: there's no package restore on the build server, that's why the binaries are copied to \Libraries from here)
+
diff --git a/src/AddIns/Misc/Reporting/Packages/packages/repositories.config b/src/AddIns/Misc/Reporting/Packages/packages/repositories.config
new file mode 100644
index 0000000000..d84f273aac
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/Packages/packages/repositories.config
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file