Permalink
Browse files

Update AvalonEdit NuGet package.

  • Loading branch information...
mrward committed Sep 24, 2011
1 parent 7e140ac commit 79543728b872688b88fe1852273fc2822bdfbb19
Showing with 57 additions and 22 deletions.
  1. +2 −0 .gitignore
  2. BIN ...kages/AvalonEdit.Sample/{AvalonEdit.Sample.4.0.0.7070.nupkg → AvalonEdit.Sample.4.1.0.8000.nupkg}
  3. +11 −3 src/AddIns/Misc/PackageManagement/Packages/AvalonEdit.Sample/AvalonEdit.Sample.nuspec
  4. 0 ...ges/AvalonEdit.Sample/Content/{AvalonEdit.Sample → Samples/AvalonEdit}/BraceFoldingStrategy.cs.pp
  5. 0 ...kages/AvalonEdit.Sample/Content/{AvalonEdit.Sample → Samples/AvalonEdit}/ColorizeAvalonEdit.cs.pp
  6. 0 ...ckages/AvalonEdit.Sample/Content/{AvalonEdit.Sample → Samples/AvalonEdit}/CustomHighlighting.xshd
  7. 0 ...es/AvalonEdit.Sample/Content/{AvalonEdit.Sample → Samples/AvalonEdit}/ImageElementGenerator.cs.pp
  8. 0 ...ackages/AvalonEdit.Sample/Content/{AvalonEdit.Sample → Samples/AvalonEdit}/MyCompletionData.cs.pp
  9. 0 ...nt/Packages/AvalonEdit.Sample/Content/{AvalonEdit.Sample → Samples/AvalonEdit}/Window1.xaml.cs.pp
  10. +2 −1 ...ement/Packages/AvalonEdit.Sample/Content/{AvalonEdit.Sample → Samples/AvalonEdit}/Window1.xaml.pp
  11. 0 ...nagement/Packages/AvalonEdit.Sample/Content/{AvalonEdit.Sample → Samples/AvalonEdit}/article.html
  12. 0 ...agement/Packages/AvalonEdit.Sample/Content/{AvalonEdit.Sample → Samples/AvalonEdit}/document.html
  13. 0 ...gement/Packages/AvalonEdit.Sample/Content/{AvalonEdit.Sample → Samples/AvalonEdit}/rendering.html
  14. BIN src/AddIns/Misc/PackageManagement/Packages/AvalonEdit/AvalonEdit.4.0.0.7070.nupkg
  15. BIN src/AddIns/Misc/PackageManagement/Packages/AvalonEdit/AvalonEdit.4.1.0.8000.nupkg
  16. BIN src/AddIns/Misc/PackageManagement/Packages/AvalonEdit/AvalonEdit.4.1.0.8000.symbols.nupkg
  17. +21 −14 src/AddIns/Misc/PackageManagement/Packages/AvalonEdit/AvalonEdit.nuspec
  18. BIN src/AddIns/Misc/PackageManagement/Packages/AvalonEdit/lib/Net35/ICSharpCode.AvalonEdit.dll
  19. BIN src/AddIns/Misc/PackageManagement/Packages/AvalonEdit/lib/Net40/ICSharpCode.AvalonEdit.dll
  20. BIN src/AddIns/Misc/PackageManagement/Packages/NuGet.exe
  21. +21 −4 src/AddIns/Misc/PackageManagement/Packages/buildpackages.cmd
View
@@ -18,3 +18,5 @@ bin/
/src/Main/StartUp/Project/SharpDevelop.exe.config
/src/Main/GlobalAssemblyInfo.cs
/src/AddIns/Misc/UsageDataCollector/UsageDataCollector.AddIn/AnalyticsMonitor.AppProperties.cs
+
+/src/AddIns/Misc/PackageManagement/Packages/AvalonEdit/lib
@@ -2,18 +2,26 @@
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>AvalonEdit.Sample</id>
- <version>4.0.0.7070</version>
+ <version>4.1.0.8000</version>
<authors>Daniel Grunwald</authors>
<owners>SharpDevelop</owners>
<licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl>
<projectUrl>http://www.avalonedit.net</projectUrl>
<iconUrl>http://community.sharpdevelop.net/blogs/mattward/SharpDevelop.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
- <description>Sample code for AvalonEdit the WPF-based text editor used in SharpDevelop 4.0.</description>
+ <description>Sample code for AvalonEdit the WPF-based text editor used in SharpDevelop 4.0.
+Modify your App.xaml file so the StartupUri points to the AvalonEdit Sample window:
+
+StartupUri="/Samples/AvalonEdit/Window1.xaml"</description>
<summary>Sample code for AvalonEdit the WPF-based text editor used in SharpDevelop 4.0.</summary>
<language>en-US</language>
<dependencies>
- <dependency id="AvalonEdit" version="4.0.0.7070" />
+ <dependency id="AvalonEdit" version="4.1.0.8000" />
</dependencies>
+ <frameworkAssemblies>
+ <frameworkAssembly assemblyName="System.Windows.Forms" />
+ <frameworkAssembly assemblyName="WindowsFormsIntegration" />
+ </frameworkAssemblies>
+ <tags>WPF Text Editor SharpDevelop AvalonEdit</tags>
</metadata>
</package>
@@ -21,7 +21,8 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:avalonEdit="http://icsharpcode.net/sharpdevelop/avalonedit"
- xmlns:forms="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
+ xmlns:forms="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
+ TextOptions.TextFormattingMode="Display"
Title="AvalonEdit.Sample" Height="500" Width="700"
>
<DockPanel>
@@ -1,18 +1,25 @@
<?xml version="1.0"?>
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
- <id>AvalonEdit</id>
- <version>4.0.0.7070</version>
- <authors>Daniel Grunwald</authors>
- <owners>SharpDevelop</owners>
- <licenseUrl>http://www.opensource.org/licenses/lgpl-2.1.php</licenseUrl>
- <projectUrl>http://www.avalonedit.net</projectUrl>
- <iconUrl>http://community.sharpdevelop.net/blogs/mattward/SharpDevelop.png</iconUrl>
- <requireLicenseAcceptance>true</requireLicenseAcceptance>
- <description>AvalonEdit is the WPF-based text editor used in SharpDevelop 4.0.
- There are two builds of AvalonEdit included in this package. One that targets .NET 4.0 and
- one that targets .NET 3.5.</description>
- <summary>AvalonEdit is the WPF-based text editor used in SharpDevelop 4.0.</summary>
- <language>en-US</language>
+ <metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
+ <id>AvalonEdit</id>
+ <version>4.1.0.8000</version>
+ <authors>Daniel Grunwald</authors>
+ <owners>SharpDevelop</owners>
+ <licenseUrl>http://www.opensource.org/licenses/lgpl-2.1.php</licenseUrl>
+ <projectUrl>http://www.avalonedit.net</projectUrl>
+ <iconUrl>http://community.sharpdevelop.net/blogs/mattward/SharpDevelop.png</iconUrl>
+ <requireLicenseAcceptance>true</requireLicenseAcceptance>
+ <description>AvalonEdit is the WPF-based text editor used in SharpDevelop. There are two builds of AvalonEdit included in this package. One that targets .NET 4.0 and one that targets .NET 3.5.</description>
+ <summary>AvalonEdit is the WPF-based text editor used in SharpDevelop</summary>
+ <releaseNotes>Improved WPF text rendering performance.
+Region tooltips added.
+C# syntax highlighting: Do not colorize punctuation.</releaseNotes>
+ <language>en-US</language>
+ <tags>WPF Text Editor SharpDevelop AvalonEdit</tags>
</metadata>
+ <files>
+ <file src="lib\Net35\*.*" target="lib\Net35" />
+ <file src="lib\Net40\*.*" target="lib\Net40" />
+ <file src="..\..\..\..\..\Libraries\AvalonEdit\ICSharpCode.AvalonEdit\**\*.cs" target="src" />
+ </files>
</package>
Binary file not shown.
@@ -1,4 +1,21 @@
-nuget.exe pack AvalonEdit\AvalonEdit.nuspec -b AvalonEdit -o AvalonEdit
-nuget.exe pack AvalonEdit.Sample\AvalonEdit.Sample.nuspec -b AvalonEdit.Sample -o AvalonEdit.Sample
-nuget.exe pack ICSharpCode.TextEditor\ICSharpCode.TextEditor.nuspec -b ICSharpCode.TextEditor -o ICSharpCode.TextEditor
-nuget.exe pack ICSharpCode.TextEditor.Sample\ICSharpCode.TextEditor.Sample.nuspec -b ICSharpCode.TextEditor.Sample -o ICSharpCode.TextEditor.Sample
+@ECHO OFF
+SETLOCAL
+SET msbuild=%windir%\microsoft.net\framework\v4.0.30319\msbuild
+SET project=..\..\..\..\Libraries\AvalonEdit\ICSharpCode.AvalonEdit\ICSharpCode.AvalonEdit.csproj
+SET buildoptions=/t:Rebuild /p:Configuration=Release /p:DebugType=PdbOnly
+
+@ECHO ON
+:Clean debug build
+%msbuild% /m %project% /t:Clean /p:Configuration=Debug /p:OutputPath=%~dp0\AvalonEdit\lib\Net40
+
+:BUILD .NET 4.0 version
+%msbuild% /m %project% %buildoptions% /p:OutputPath=%~dp0\AvalonEdit\lib\Net40
+
+:BUILD .NET 3.5 version
+%msbuild% /m %project% %buildoptions% "/p:DefineConstants=TRACE" "/p:TargetFrameworkVersion=v3.5" /p:OutputPath=%~dp0\AvalonEdit\lib\Net35
+
+nuget.exe pack AvalonEdit\AvalonEdit.nuspec -Symbols -BasePath AvalonEdit -OutputDirectory AvalonEdit
+nuget.exe pack AvalonEdit.Sample\AvalonEdit.Sample.nuspec -BasePath AvalonEdit.Sample -OutputDirectory AvalonEdit.Sample
+
+@ECHO OFF
+ENDLOCAL

0 comments on commit 7954372

Please sign in to comment.