Skip to content

Commit 63395f4

Browse files
committed
Merge pull request #1 from khellang/dev
Added NuGet files
2 parents b209cf0 + f53db22 commit 63395f4

File tree

6 files changed

+46
-29
lines changed

6 files changed

+46
-29
lines changed

LICENSE.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2013 Glenn Block, Justin Rusbatch, Filip Wojcieszyn
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,19 @@
11
using System.Reflection;
2-
using System.Runtime.CompilerServices;
32
using System.Runtime.InteropServices;
43

5-
// General Information about an assembly is controlled through the following
6-
// set of attributes. Change these attribute values to modify the information
7-
// associated with an assembly.
84
[assembly: AssemblyTitle("ScriptCs.WebApi")]
9-
[assembly: AssemblyDescription("")]
5+
[assembly: AssemblyDescription("scriptcs Script Pack for WebApi")]
106
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
7+
[assembly: AssemblyCompany("Glenn Block, Justin Rusbatch, Filip Wojcieszyn")]
128
[assembly: AssemblyProduct("ScriptCs.WebApi")]
13-
[assembly: AssemblyCopyright("Copyright © 2013")]
9+
[assembly: AssemblyCopyright("Copyright © Glenn Block, Justin Rusbatch, Filip Wojcieszyn 2013")]
1410
[assembly: AssemblyTrademark("")]
1511
[assembly: AssemblyCulture("")]
1612

17-
// Setting ComVisible to false makes the types in this assembly not visible
18-
// to COM components. If you need to access a type in this assembly from
19-
// COM, set the ComVisible attribute to true on that type.
2013
[assembly: ComVisible(false)]
2114

22-
// The following GUID is for the ID of the typelib if this project is exposed to COM
2315
[assembly: Guid("be92b3c5-a23a-4234-8856-162fb14ec2b1")]
2416

25-
// Version information for an assembly consists of the following four values:
26-
//
27-
// Major Version
28-
// Minor Version
29-
// Build Number
30-
// Revision
31-
//
32-
// You can specify all the values or you can default the Build and Revision Numbers
33-
// by using the '*' as shown below:
34-
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("1.0.0.0")]
17+
[assembly: AssemblyVersion("0.1.0")]
18+
[assembly: AssemblyFileVersion("0.1.0")]
19+
[assembly: AssemblyInformationalVersion("0.1.0")]
6.29 KB
Binary file not shown.

src/ScriptCs.WebApi/ScriptCs.WebApi.csproj

+9-5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<AssemblyName>ScriptCs.WebApi.Pack</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
14+
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
15+
<RestorePackages>true</RestorePackages>
1416
</PropertyGroup>
1517
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1618
<DebugSymbols>true</DebugSymbols>
@@ -31,10 +33,11 @@
3133
</PropertyGroup>
3234
<ItemGroup>
3335
<Reference Include="Newtonsoft.Json">
34-
<HintPath>packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll</HintPath>
36+
<HintPath>..\..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll</HintPath>
3537
</Reference>
36-
<Reference Include="ScriptCs.Contracts">
37-
<HintPath>packages\ScriptCs.Contracts.0.3.0-alpha-130406\lib\net45\ScriptCs.Contracts.dll</HintPath>
38+
<Reference Include="ScriptCs.Contracts, Version=0.3.0.0, Culture=neutral, processorArchitecture=MSIL">
39+
<SpecificVersion>False</SpecificVersion>
40+
<HintPath>..\..\packages\ScriptCs.Contracts.0.3.0\lib\net45\ScriptCs.Contracts.dll</HintPath>
3841
</Reference>
3942
<Reference Include="System" />
4043
<Reference Include="System.ComponentModel.Composition" />
@@ -45,10 +48,10 @@
4548
</Reference>
4649
<Reference Include="System.Net.Http.WebRequest" />
4750
<Reference Include="System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
48-
<HintPath>packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40\System.Web.Http.dll</HintPath>
51+
<HintPath>..\..\packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40\System.Web.Http.dll</HintPath>
4952
</Reference>
5053
<Reference Include="System.Web.Http.SelfHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
51-
<HintPath>packages\Microsoft.AspNet.WebApi.SelfHost.4.0.20918.0\lib\net40\System.Web.Http.SelfHost.dll</HintPath>
54+
<HintPath>..\..\packages\Microsoft.AspNet.WebApi.SelfHost.4.0.20918.0\lib\net40\System.Web.Http.SelfHost.dll</HintPath>
5255
</Reference>
5356
<Reference Include="System.Xml.Linq" />
5457
<Reference Include="System.Data.DataSetExtensions" />
@@ -66,6 +69,7 @@
6669
<None Include="packages.config" />
6770
</ItemGroup>
6871
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
72+
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
6973
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
7074
Other similar extension points exist, see Microsoft.Common.targets.
7175
<Target Name="BeforeBuild">
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0"?>
2+
<package >
3+
<metadata>
4+
<id>ScriptCs.WebApi</id>
5+
<version>$version$</version>
6+
<title>$title$</title>
7+
<authors>$author$</authors>
8+
<owners>$author$</owners>
9+
<licenseUrl>https://raw.github.com/scriptcs/scriptcs-webapi/dev/LICENSE.md</licenseUrl>
10+
<projectUrl>https://github.com/scriptcs/scriptcs-webapi</projectUrl>
11+
<iconUrl>http://www.gravatar.com/avatar/5c754f646971d8bc800b9d4057931938.png?s=120</iconUrl>
12+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13+
<description>$description$</description>
14+
<copyright>Copyright Glenn Block, Justin Rusbatch, Filip Wojcieszyn 2013</copyright>
15+
<tags>scriptcs webapi</tags>
16+
</metadata>
17+
</package>

src/ScriptCs.WebApi/packages.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
<package id="Microsoft.AspNet.WebApi.SelfHost" version="4.0.20918.0" targetFramework="net45" />
66
<package id="Microsoft.Net.Http" version="2.0.20710.0" targetFramework="net45" />
77
<package id="Newtonsoft.Json" version="4.5.11" targetFramework="net45" />
8-
<package id="ScriptCs.Contracts" version="0.3.0-alpha-130406" targetFramework="net45" />
8+
<package id="ScriptCs.Contracts" version="0.3.0" targetFramework="net45" />
99
</packages>

0 commit comments

Comments
 (0)