Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 92b449e

Browse files
committed
Add MySqlV45 to Signed packages
1 parent d32b716 commit 92b449e

File tree

2 files changed

+126
-1
lines changed

2 files changed

+126
-1
lines changed

build/build-sn.proj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
<OracleFiles Include="$(SrcDir)/ServiceStack.OrmLite.Oracle/bin/$(Configuration)/ServiceStack.OrmLite.Oracle.*"></OracleFiles>
101101
<SqliteWindowsFiles Include="$(SrcDir)/ServiceStack.OrmLite.Sqlite.Windows/bin/$(Configuration)/ServiceStack.OrmLite.Sqlite.Windows.*"></SqliteWindowsFiles>
102102
<MySqlFiles Include="$(SrcDir)/ServiceStack.OrmLite.MySql/bin/$(Configuration)/ServiceStack.OrmLite.MySql.*"></MySqlFiles>
103+
<MySqlFilesV45 Include="$(SrcDir)/ServiceStack.OrmLite.MySqlV45/bin/$(Configuration)/ServiceStack.OrmLite.MySql.*"></MySqlFilesV45>
103104
</ItemGroup>
104105

105106
<!-- OrmLite -->
@@ -175,7 +176,15 @@
175176
<MakeDir Directories="$(NuGetPackageDir)/ServiceStack.OrmLite.MySql.Signed/lib/net40" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.OrmLite.MySql.Signed/lib/net40')" />
176177
<Copy SourceFiles="%(MySqlFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.OrmLite.MySql.Signed/lib/net40" />
177178

178-
<Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.OrmLite.MySql.Signed/servicestack.ormlite.mysql.signed.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion) -Symbols"
179+
<!-- MySql .NET 4.5 -->
180+
<MSBuild Projects="$(SrcDir)/ServiceStack.OrmLite.MySqlV45/ServiceStack.OrmLite.MySqlV45.Signed.csproj"
181+
Targets="Build"
182+
Properties="Version=$(PackageVersion);Configuration=$(Configuration)" />
183+
184+
<MakeDir Directories="$(NuGetPackageDir)/ServiceStack.OrmLite.MySql.Signed/lib/net45" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.OrmLite.MySql.Signed/lib/net45')" />
185+
<Copy SourceFiles="%(MySqlV45.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.OrmLite.MySql.Signed/lib/net45" />
186+
187+
<Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.OrmLite.MySql.Signed/servicestack.ormlite.mysql.signed.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion) -Symbols"
179188
LogStandardErrorAsError="true" />
180189

181190
</Target>
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{D1858737-FC4F-4432-8725-E5B79A13D5F6}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>ServiceStack.OrmLite.MySql</RootNamespace>
11+
<AssemblyName>ServiceStack.OrmLite.MySql</AssemblyName>
12+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
15+
<RestorePackages>true</RestorePackages>
16+
</PropertyGroup>
17+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18+
<DebugSymbols>true</DebugSymbols>
19+
<DebugType>full</DebugType>
20+
<Optimize>false</Optimize>
21+
<OutputPath>bin\Debug\</OutputPath>
22+
<DefineConstants>TRACE;DEBUG;NET45</DefineConstants>
23+
<ErrorReport>prompt</ErrorReport>
24+
<WarningLevel>4</WarningLevel>
25+
</PropertyGroup>
26+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27+
<DebugType>pdbonly</DebugType>
28+
<Optimize>true</Optimize>
29+
<OutputPath>bin\Release\</OutputPath>
30+
<DefineConstants>TRACE;NET45</DefineConstants>
31+
<ErrorReport>prompt</ErrorReport>
32+
<WarningLevel>4</WarningLevel>
33+
</PropertyGroup>
34+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Signed|AnyCPU'">
35+
<OutputPath>bin\Signed\</OutputPath>
36+
<DefineConstants>TRACE;NET45</DefineConstants>
37+
<Optimize>true</Optimize>
38+
<DebugType>pdbonly</DebugType>
39+
<PlatformTarget>AnyCPU</PlatformTarget>
40+
<ErrorReport>prompt</ErrorReport>
41+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
42+
</PropertyGroup>
43+
<ItemGroup>
44+
<Reference Include="MySql.Data, Version=6.9.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
45+
<SpecificVersion>False</SpecificVersion>
46+
<HintPath>..\packages\MySql.Data.6.9.5\lib\net45\MySql.Data.dll</HintPath>
47+
</Reference>
48+
<Reference Include="ServiceStack.Common">
49+
<HintPath>..\..\lib\signed\ServiceStack.Common.dll</HintPath>
50+
</Reference>
51+
<Reference Include="ServiceStack.Interfaces">
52+
<HintPath>..\..\lib\ServiceStack.Interfaces.dll</HintPath>
53+
</Reference>
54+
<Reference Include="ServiceStack.Text">
55+
<HintPath>..\..\lib\signed\ServiceStack.Text.dll</HintPath>
56+
</Reference>
57+
<Reference Include="System" />
58+
<Reference Include="System.Core" />
59+
<Reference Include="System.Xml.Linq" />
60+
<Reference Include="System.Data.DataSetExtensions" />
61+
<Reference Include="Microsoft.CSharp" />
62+
<Reference Include="System.Data" />
63+
<Reference Include="System.Xml" />
64+
</ItemGroup>
65+
<ItemGroup>
66+
<Compile Include="..\ServiceStack.OrmLite.MySql\DataAnnotations\TextAttribute.cs">
67+
<Link>DataAnnotations\TextAttribute.cs</Link>
68+
</Compile>
69+
<Compile Include="..\ServiceStack.OrmLite.MySql\MySqlDialect.cs">
70+
<Link>MySqlDialect.cs</Link>
71+
</Compile>
72+
<Compile Include="..\ServiceStack.OrmLite.MySql\MySqlDialectProvider.cs">
73+
<Link>MySqlDialectProvider.cs</Link>
74+
</Compile>
75+
<Compile Include="..\ServiceStack.OrmLite.MySql\MySqlExpression.cs">
76+
<Link>MySqlExpression.cs</Link>
77+
</Compile>
78+
<Compile Include="..\ServiceStack.OrmLite.MySql\Properties\AssemblyInfo.cs">
79+
<Link>AssemblyInfo.cs</Link>
80+
</Compile>
81+
</ItemGroup>
82+
<ItemGroup>
83+
<Folder Include="Properties\" />
84+
</ItemGroup>
85+
<ItemGroup>
86+
<None Include="app.config" />
87+
<None Include="packages.config" />
88+
</ItemGroup>
89+
<ItemGroup>
90+
<ProjectReference Include="..\ServiceStack.OrmLiteV45\ServiceStack.OrmLiteV45.csproj">
91+
<Project>{fdc37335-9ecc-413b-bec5-16b466b0e689}</Project>
92+
<Name>ServiceStack.OrmLiteV45</Name>
93+
</ProjectReference>
94+
</ItemGroup>
95+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
96+
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
97+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
98+
<PropertyGroup>
99+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
100+
</PropertyGroup>
101+
<PropertyGroup>
102+
<SignAssembly>true</SignAssembly>
103+
</PropertyGroup>
104+
<PropertyGroup>
105+
<AssemblyOriginatorKeyFile>servicestack-sn.pfx</AssemblyOriginatorKeyFile>
106+
</PropertyGroup>
107+
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
108+
</Target>
109+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
110+
Other similar extension points exist, see Microsoft.Common.targets.
111+
<Target Name="BeforeBuild">
112+
</Target>
113+
<Target Name="AfterBuild">
114+
</Target>
115+
-->
116+
</Project>

0 commit comments

Comments
 (0)