From 3faeef292ce10890f4a13dfba3700f703494fef3 Mon Sep 17 00:00:00 2001 From: Matt Ward Date: Sat, 1 Jun 2013 10:30:04 +0100 Subject: [PATCH] Update PInvoke addin sample. Update project to target .NET 4.5 Change output folder to AddIns\Samples\PInvoke Add nuspec file for generating NuGet package for AddIn Manager version 2 --- samples/PInvokeAddIn/PInvokeAddIn.sln | 6 ++++-- samples/PInvokeAddIn/Project/PInvoke.addin | 3 +-- samples/PInvokeAddIn/Project/PInvoke.nuspec | 20 +++++++++++++++++++ .../PInvokeAddIn/Project/PInvokeAddIn.csproj | 19 ++++++++++++++---- 4 files changed, 40 insertions(+), 8 deletions(-) create mode 100644 samples/PInvokeAddIn/Project/PInvoke.nuspec diff --git a/samples/PInvokeAddIn/PInvokeAddIn.sln b/samples/PInvokeAddIn/PInvokeAddIn.sln index a176696c3b..d28df1f0f3 100644 --- a/samples/PInvokeAddIn/PInvokeAddIn.sln +++ b/samples/PInvokeAddIn/PInvokeAddIn.sln @@ -1,5 +1,7 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# SharpDevelop 2.0.0.909 + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +# SharpDevelop 4.3 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PInvokeAddIn", "Project\PInvokeAddIn.csproj", "{5EEB99CF-EA2B-4733-80A6-CE9192D68170}" EndProject Global diff --git a/samples/PInvokeAddIn/Project/PInvoke.addin b/samples/PInvokeAddIn/Project/PInvoke.addin index b4cdc1f07e..4c660d85b2 100644 --- a/samples/PInvokeAddIn/Project/PInvoke.addin +++ b/samples/PInvokeAddIn/Project/PInvoke.addin @@ -1,8 +1,7 @@ + description = "PInvoke.Net integration for SharpDevelop."> diff --git a/samples/PInvokeAddIn/Project/PInvoke.nuspec b/samples/PInvokeAddIn/Project/PInvoke.nuspec new file mode 100644 index 0000000000..1331188962 --- /dev/null +++ b/samples/PInvokeAddIn/Project/PInvoke.nuspec @@ -0,0 +1,20 @@ + + + + PInvoke + 0.1 + Matt Ward + SharpDevelop + false + PInvoke.Net integration for SharpDevelop. + PInvoke.Net integration for SharpDevelop. + + en-US + SharpDevelopAddIn + + + + + + + \ No newline at end of file diff --git a/samples/PInvokeAddIn/Project/PInvokeAddIn.csproj b/samples/PInvokeAddIn/Project/PInvokeAddIn.csproj index 65ef014444..5943ff503e 100644 --- a/samples/PInvokeAddIn/Project/PInvokeAddIn.csproj +++ b/samples/PInvokeAddIn/Project/PInvokeAddIn.csproj @@ -16,17 +16,18 @@ 122159104 AnyCPU 4096 - v4.0 + v4.5 + False + obj\$(Configuration)\ true False False True - ..\..\..\..\..\AddIns\Misc\PInvokeAddIn\ - false + False Full @@ -34,19 +35,28 @@ True False False - ..\..\..\..\..\AddIns\Misc\PInvokeAddIn\ false None + + False + ..\..\..\AddIns\Samples\PInvoke + + + obj\ + ..\..\..\bin\ICSharpCode.Core.dll + False ..\..\..\bin\ICSharpCode.NRefactory.dll + False ..\..\..\bin\ICSharpCode.SharpDevelop.dll + False @@ -62,6 +72,7 @@ + Always