Skip to content

Commit 91e2238

Browse files
committed
Changes relating to post 6
1 parent 6d017b0 commit 91e2238

24 files changed

+806
-357
lines changed

MySQLHostManager40/MySQLHostManager.cs

Lines changed: 369 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="12.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>{21427460-AE57-4258-8706-6C35B0774ED8}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>MySQLHostManager40</RootNamespace>
11+
<AssemblyName>MySQLHostManager</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</DefineConstants>
29+
<ErrorReport>prompt</ErrorReport>
30+
<WarningLevel>4</WarningLevel>
31+
</PropertyGroup>
32+
<PropertyGroup>
33+
<SignAssembly>true</SignAssembly>
34+
</PropertyGroup>
35+
<PropertyGroup>
36+
<AssemblyOriginatorKeyFile>generic_signing.snk</AssemblyOriginatorKeyFile>
37+
</PropertyGroup>
38+
<ItemGroup>
39+
<Reference Include="System" />
40+
<Reference Include="System.Configuration" />
41+
<Reference Include="System.Core" />
42+
<Reference Include="System.Xml.Linq" />
43+
<Reference Include="System.Data.DataSetExtensions" />
44+
<Reference Include="Microsoft.CSharp" />
45+
<Reference Include="System.Data" />
46+
<Reference Include="System.Xml" />
47+
</ItemGroup>
48+
<ItemGroup>
49+
<Compile Include="MySQLHostManager.cs" />
50+
<Compile Include="Properties\AssemblyInfo.cs" />
51+
</ItemGroup>
52+
<ItemGroup>
53+
<None Include="generic_signing.snk" />
54+
</ItemGroup>
55+
<ItemGroup>
56+
<ProjectReference Include="..\mysql_managed_interface\MySQLHostManager20.csproj">
57+
<Project>{a15dadac-d3c8-4226-93cd-2da7c85f51dc}</Project>
58+
<Name>MySQLHostManager20</Name>
59+
</ProjectReference>
60+
</ItemGroup>
61+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
62+
<PropertyGroup>
63+
<PostBuildEvent>"C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\gacutil.exe" /i $(TargetPath)
64+
</PostBuildEvent>
65+
</PropertyGroup>
66+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
67+
Other similar extension points exist, see Microsoft.Common.targets.
68+
<Target Name="BeforeBuild">
69+
</Target>
70+
<Target Name="AfterBuild">
71+
</Target>
72+
-->
73+
</Project>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
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.
8+
[assembly: AssemblyTitle("MySQLHostManager40")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("MySQLHostManager40")]
13+
[assembly: AssemblyCopyright("Copyright © 2014")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
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.
20+
[assembly: ComVisible(false)]
21+
22+
// The following GUID is for the ID of the typelib if this project is exposed to COM
23+
[assembly: Guid("c8c2c047-bbb1-4a21-a1e8-6f45c1ae1d31")]
24+
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("4.0.0.0")]
36+
[assembly: AssemblyFileVersion("4.0.0.0")]
596 Bytes
Binary file not shown.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
4+
<configSections>
5+
<section name ="mysqlassemblies" type="MySQLHostManager.MySQLAssemblyList,
6+
MySQLHostManager, Version=1.0.0.0, PublicKeyToken=71c4a5d4270bd29c"/>
7+
</configSections>
8+
9+
<mysqlassemblies>
10+
<permissionsets>
11+
12+
<permissionset name="MySQLPartial">
13+
<permissions>
14+
<add name="FileIOPermission" />
15+
</permissions>
16+
</permissionset>
17+
18+
</permissionsets>
19+
20+
<assemblies>
21+
<!--No specific permission set assigned to this assembly; uses default (MySQLPartial)-->
22+
<assembly name="MySQLCustomClass.CustomMySQLClass" fullname ="MySQLCustomClass,
23+
Version=1.0.0.0, PublicKeyToken=a55d172c54d273f4" clrversion="2.0" />
24+
25+
<!--FullTrust Granted to this assembly-->
26+
<assembly name="MySQLCustomClass.FullTrustAssemblyDemo" fullname ="MySQLCustomClass,
27+
Version=1.0.0.0, PublicKeyToken=a55d172c54d273f4" clrversion="2.0"
28+
permissions="FullTrust"/>
29+
<!--MySQLPartial Granted to this assembly-->
30+
<assembly name="MySQLCustomClass.PartialTrustAssemblyDemo" fullname ="MySQLCustomClass,
31+
Version=1.0.0.0, PublicKeyToken=a55d172c54d273f4" clrversion="2.0"
32+
permissions="MySQLPartial"/>
33+
</assemblies>
34+
</mysqlassemblies>
35+
</configuration>

NativeUnitTests/NativeUnitTests.vcxproj

Lines changed: 0 additions & 100 deletions
This file was deleted.

NativeUnitTests/NativeUnitTests.vcxproj.filters

Lines changed: 0 additions & 33 deletions
This file was deleted.

NativeUnitTests/stdafx.cpp

Lines changed: 0 additions & 8 deletions
This file was deleted.

NativeUnitTests/stdafx.h

Lines changed: 0 additions & 13 deletions
This file was deleted.

NativeUnitTests/targetver.h

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)