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

Commit 10d1523

Browse files
committed
Convert V45 SqlServer and MySql projs into separate proj dirs which includes all source links
1 parent f4b3f05 commit 10d1523

File tree

7 files changed

+317
-9
lines changed

7 files changed

+317
-9
lines changed

src/ServiceStack.OrmLite.MySql/ServiceStack.OrmLite.MySqlV45.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,16 @@
7171
<Compile Include="MySqlExpression.cs" />
7272
<Compile Include="DataAnnotations\TextAttribute.cs" />
7373
</ItemGroup>
74-
<ItemGroup>
75-
<ProjectReference Include="..\ServiceStack.OrmLite\ServiceStack.OrmLite.csproj">
76-
<Project>{96179AC6-F6F1-40C3-9FDD-4F6582F54C5C}</Project>
77-
<Name>ServiceStack.OrmLite</Name>
78-
</ProjectReference>
79-
</ItemGroup>
8074
<ItemGroup>
8175
<None Include="app.config" />
8276
<None Include="packages.config" />
8377
</ItemGroup>
78+
<ItemGroup>
79+
<ProjectReference Include="..\ServiceStack.OrmLiteV45\ServiceStack.OrmLiteV45.csproj">
80+
<Project>{fdc37335-9ecc-413b-bec5-16b466b0e689}</Project>
81+
<Name>ServiceStack.OrmLiteV45</Name>
82+
</ProjectReference>
83+
</ItemGroup>
8484
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
8585
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
8686
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
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>DEBUG;TRACE</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">
45+
<HintPath>..\packages\MySql.Data.6.9.3\lib\net45\MySql.Data.dll</HintPath>
46+
</Reference>
47+
<Reference Include="ServiceStack.Common">
48+
<HintPath>..\..\lib\ServiceStack.Common.dll</HintPath>
49+
</Reference>
50+
<Reference Include="ServiceStack.Interfaces">
51+
<HintPath>..\..\lib\ServiceStack.Interfaces.dll</HintPath>
52+
</Reference>
53+
<Reference Include="ServiceStack.Text">
54+
<HintPath>..\..\lib\ServiceStack.Text.dll</HintPath>
55+
</Reference>
56+
<Reference Include="System" />
57+
<Reference Include="System.Core" />
58+
<Reference Include="System.Xml.Linq" />
59+
<Reference Include="System.Data.DataSetExtensions" />
60+
<Reference Include="Microsoft.CSharp" />
61+
<Reference Include="System.Data" />
62+
<Reference Include="System.Xml" />
63+
</ItemGroup>
64+
<ItemGroup>
65+
<Compile Include="..\ServiceStack.OrmLite.MySql\DataAnnotations\TextAttribute.cs">
66+
<Link>DataAnnotations\TextAttribute.cs</Link>
67+
</Compile>
68+
<Compile Include="..\ServiceStack.OrmLite.MySql\MySqlDialect.cs">
69+
<Link>MySqlDialect.cs</Link>
70+
</Compile>
71+
<Compile Include="..\ServiceStack.OrmLite.MySql\MySqlDialectProvider.cs">
72+
<Link>MySqlDialectProvider.cs</Link>
73+
</Compile>
74+
<Compile Include="..\ServiceStack.OrmLite.MySql\MySqlExpression.cs">
75+
<Link>MySqlExpression.cs</Link>
76+
</Compile>
77+
<Compile Include="..\ServiceStack.OrmLite.MySql\Properties\AssemblyInfo.cs">
78+
<Link>AssemblyInfo.cs</Link>
79+
</Compile>
80+
</ItemGroup>
81+
<ItemGroup>
82+
<Folder Include="Properties\" />
83+
</ItemGroup>
84+
<ItemGroup>
85+
<None Include="app.config" />
86+
<None Include="packages.config" />
87+
</ItemGroup>
88+
<ItemGroup>
89+
<ProjectReference Include="..\ServiceStack.OrmLiteV45\ServiceStack.OrmLiteV45.csproj">
90+
<Project>{fdc37335-9ecc-413b-bec5-16b466b0e689}</Project>
91+
<Name>ServiceStack.OrmLiteV45</Name>
92+
</ProjectReference>
93+
</ItemGroup>
94+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
95+
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
96+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
97+
<PropertyGroup>
98+
<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>
99+
</PropertyGroup>
100+
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
101+
</Target>
102+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
103+
Other similar extension points exist, see Microsoft.Common.targets.
104+
<Target Name="BeforeBuild">
105+
</Target>
106+
<Target Name="AfterBuild">
107+
</Target>
108+
-->
109+
</Project>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<system.data>
4+
<DbProviderFactories>
5+
<remove invariant="MySql.Data.MySqlClient" />
6+
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
7+
</DbProviderFactories>
8+
</system.data>
9+
</configuration>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="MySql.Data" version="6.9.3" targetFramework="net45" />
4+
</packages>

src/ServiceStack.OrmLite.SqlServer/ServiceStack.OrmLite.SqlServerV45.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
<Compile Include="SqlServerOrmLiteDialectProvider.cs" />
7373
</ItemGroup>
7474
<ItemGroup>
75-
<ProjectReference Include="..\ServiceStack.OrmLite\ServiceStack.OrmLite.csproj">
76-
<Project>{96179ac6-f6f1-40c3-9fdd-4f6582f54c5c}</Project>
77-
<Name>ServiceStack.OrmLite</Name>
75+
<ProjectReference Include="..\ServiceStack.OrmLiteV45\ServiceStack.OrmLiteV45.csproj">
76+
<Project>{fdc37335-9ecc-413b-bec5-16b466b0e689}</Project>
77+
<Name>ServiceStack.OrmLiteV45</Name>
7878
</ProjectReference>
7979
</ItemGroup>
8080
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
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>{6F851563-08F6-4692-89F8-F1D6C86F0069}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>ServiceStack.OrmLite.SqlServer</RootNamespace>
11+
<AssemblyName>ServiceStack.OrmLite.SqlServer</AssemblyName>
12+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
</PropertyGroup>
15+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16+
<DebugSymbols>true</DebugSymbols>
17+
<DebugType>full</DebugType>
18+
<Optimize>false</Optimize>
19+
<OutputPath>bin\Debug\</OutputPath>
20+
<DefineConstants>DEBUG;TRACE</DefineConstants>
21+
<ErrorReport>prompt</ErrorReport>
22+
<WarningLevel>4</WarningLevel>
23+
</PropertyGroup>
24+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25+
<DebugType>pdbonly</DebugType>
26+
<Optimize>true</Optimize>
27+
<OutputPath>bin\Release\</OutputPath>
28+
<DefineConstants>TRACE;NET45</DefineConstants>
29+
<ErrorReport>prompt</ErrorReport>
30+
<WarningLevel>4</WarningLevel>
31+
</PropertyGroup>
32+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Signed|AnyCPU'">
33+
<OutputPath>bin\Signed\</OutputPath>
34+
<DefineConstants>TRACE;NET45</DefineConstants>
35+
<Optimize>true</Optimize>
36+
<DebugType>pdbonly</DebugType>
37+
<PlatformTarget>AnyCPU</PlatformTarget>
38+
<ErrorReport>prompt</ErrorReport>
39+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
40+
</PropertyGroup>
41+
<PropertyGroup>
42+
<SignAssembly>true</SignAssembly>
43+
</PropertyGroup>
44+
<PropertyGroup>
45+
<AssemblyOriginatorKeyFile>servicestack-sn.pfx</AssemblyOriginatorKeyFile>
46+
</PropertyGroup>
47+
<ItemGroup>
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.SqlServer\Properties\AssemblyInfo.cs">
67+
<Link>AssemblyInfo.cs</Link>
68+
</Compile>
69+
<Compile Include="..\ServiceStack.OrmLite.SqlServer\SqlServerDialect.cs">
70+
<Link>SqlServerDialect.cs</Link>
71+
</Compile>
72+
<Compile Include="..\ServiceStack.OrmLite.SqlServer\SqlServerExpression.cs">
73+
<Link>SqlServerExpression.cs</Link>
74+
</Compile>
75+
<Compile Include="..\ServiceStack.OrmLite.SqlServer\SqlServerOrmLiteDialectProvider.cs">
76+
<Link>SqlServerOrmLiteDialectProvider.cs</Link>
77+
</Compile>
78+
</ItemGroup>
79+
<ItemGroup>
80+
<Folder Include="Properties\" />
81+
</ItemGroup>
82+
<ItemGroup>
83+
<ProjectReference Include="..\ServiceStack.OrmLiteV45\ServiceStack.OrmLiteV45.csproj">
84+
<Project>{fdc37335-9ecc-413b-bec5-16b466b0e689}</Project>
85+
<Name>ServiceStack.OrmLiteV45</Name>
86+
</ProjectReference>
87+
</ItemGroup>
88+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
89+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
90+
Other similar extension points exist, see Microsoft.Common.targets.
91+
<Target Name="BeforeBuild">
92+
</Target>
93+
<Target Name="AfterBuild">
94+
</Target>
95+
-->
96+
</Project>
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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>{6F851563-08F6-4692-89F8-F1D6C86F0069}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>ServiceStack.OrmLite.SqlServer</RootNamespace>
11+
<AssemblyName>ServiceStack.OrmLite.SqlServer</AssemblyName>
12+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
</PropertyGroup>
15+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16+
<DebugSymbols>true</DebugSymbols>
17+
<DebugType>full</DebugType>
18+
<Optimize>false</Optimize>
19+
<OutputPath>bin\Debug\</OutputPath>
20+
<DefineConstants>DEBUG;TRACE</DefineConstants>
21+
<ErrorReport>prompt</ErrorReport>
22+
<WarningLevel>4</WarningLevel>
23+
</PropertyGroup>
24+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25+
<DebugType>pdbonly</DebugType>
26+
<Optimize>true</Optimize>
27+
<OutputPath>bin\Release\</OutputPath>
28+
<DefineConstants>TRACE;NET45</DefineConstants>
29+
<ErrorReport>prompt</ErrorReport>
30+
<WarningLevel>4</WarningLevel>
31+
</PropertyGroup>
32+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Signed|AnyCPU'">
33+
<OutputPath>bin\Signed\</OutputPath>
34+
<DefineConstants>TRACE;NET45</DefineConstants>
35+
<Optimize>true</Optimize>
36+
<DebugType>pdbonly</DebugType>
37+
<PlatformTarget>AnyCPU</PlatformTarget>
38+
<ErrorReport>prompt</ErrorReport>
39+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
40+
</PropertyGroup>
41+
<ItemGroup>
42+
<Reference Include="ServiceStack.Common">
43+
<HintPath>..\..\lib\ServiceStack.Common.dll</HintPath>
44+
</Reference>
45+
<Reference Include="ServiceStack.Interfaces">
46+
<HintPath>..\..\lib\ServiceStack.Interfaces.dll</HintPath>
47+
</Reference>
48+
<Reference Include="ServiceStack.Text">
49+
<HintPath>..\..\lib\ServiceStack.Text.dll</HintPath>
50+
</Reference>
51+
<Reference Include="System" />
52+
<Reference Include="System.Core" />
53+
<Reference Include="System.Xml.Linq" />
54+
<Reference Include="System.Data.DataSetExtensions" />
55+
<Reference Include="Microsoft.CSharp" />
56+
<Reference Include="System.Data" />
57+
<Reference Include="System.Xml" />
58+
</ItemGroup>
59+
<ItemGroup>
60+
<Compile Include="..\ServiceStack.OrmLite.SqlServer\Properties\AssemblyInfo.cs">
61+
<Link>AssemblyInfo.cs</Link>
62+
</Compile>
63+
<Compile Include="..\ServiceStack.OrmLite.SqlServer\SqlServerDialect.cs">
64+
<Link>SqlServerDialect.cs</Link>
65+
</Compile>
66+
<Compile Include="..\ServiceStack.OrmLite.SqlServer\SqlServerExpression.cs">
67+
<Link>SqlServerExpression.cs</Link>
68+
</Compile>
69+
<Compile Include="..\ServiceStack.OrmLite.SqlServer\SqlServerOrmLiteDialectProvider.cs">
70+
<Link>SqlServerOrmLiteDialectProvider.cs</Link>
71+
</Compile>
72+
</ItemGroup>
73+
<ItemGroup>
74+
<Folder Include="Properties\" />
75+
</ItemGroup>
76+
<ItemGroup>
77+
<ProjectReference Include="..\ServiceStack.OrmLiteV45\ServiceStack.OrmLiteV45.csproj">
78+
<Project>{fdc37335-9ecc-413b-bec5-16b466b0e689}</Project>
79+
<Name>ServiceStack.OrmLiteV45</Name>
80+
</ProjectReference>
81+
</ItemGroup>
82+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
83+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
84+
Other similar extension points exist, see Microsoft.Common.targets.
85+
<Target Name="BeforeBuild">
86+
</Target>
87+
<Target Name="AfterBuild">
88+
</Target>
89+
-->
90+
</Project>

0 commit comments

Comments
 (0)