Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Got it working in MonoDevelop.

  • Loading branch information...
commit f1493db8fc6fa0d8f47a09cff9f6db487ddea9dc 1 parent 1932300
@TravisTheTechie TravisTheTechie authored
View
7 .gitignore
@@ -1,9 +1,16 @@
bin
obj
+test-results
+
+.DS_Store
+TestResult.xml
*.user
+*.userprefs
*.cached
*.suo
*.ReSharper
+*.pidb
+*.swp
_ReSharper.*
View
29 src/CabinDB.Specs/CabinDB.Specs.csproj
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CabinDB.Specs</RootNamespace>
<AssemblyName>CabinDB.Specs</AssemblyName>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -21,6 +21,11 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CustomCommands>
+ <CustomCommands>
+ <Command type="Execute" command="mono lib/NUnit/nunit-console.exe ${TargetFile}" workingdir="${SolutionDir}" />
+ </CustomCommands>
+ </CustomCommands>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -31,22 +36,21 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
- <Reference Include="log4net">
- <HintPath>..\lib\log4net\log4net.dll</HintPath>
- </Reference>
- <Reference Include="Magnum.TestFramework">
- <HintPath>..\lib\Magnum.TestFramework\Magnum.TestFramework.dll</HintPath>
- </Reference>
- <Reference Include="nunit.framework">
- <HintPath>..\lib\NUnit\nunit.framework.dll</HintPath>
- </Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
- <Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
+ <Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821">
+ <HintPath>..\lib\log4net\log4net.dll</HintPath>
+ </Reference>
+ <Reference Include="Magnum.TestFramework, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null">
+ <HintPath>..\lib\Magnum.TestFramework\Magnum.TestFramework.dll</HintPath>
+ </Reference>
+ <Reference Include="nunit.framework, Version=2.5.7.10213, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77">
+ <HintPath>..\lib\NUnit\nunit.framework.dll</HintPath>
+ </Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="CabinDocumentSessionSpecs.cs" />
@@ -60,6 +64,7 @@
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
View
27 src/CabinDB.sln
@@ -20,6 +20,33 @@ Global
{5DBED87D-610C-48E8-BD4D-1733200217F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5DBED87D-610C-48E8-BD4D-1733200217F7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
+ GlobalSection(MonoDevelopProperties) = preSolution
+ StartupItem = CabinDB.Specs\CabinDB.Specs.csproj
+ Policies = $0
+ $0.TextStylePolicy = $1
+ $1.inheritsSet = null
+ $1.scope = text/x-csharp
+ $0.CSharpFormattingPolicy = $2
+ $2.inheritsSet = Mono
+ $2.inheritsScope = text/x-csharp
+ $2.scope = text/x-csharp
+ $0.TextStylePolicy = $3
+ $3.FileWidth = 120
+ $3.TabWidth = 4
+ $3.inheritsSet = Mono
+ $3.inheritsScope = text/plain
+ $3.scope = text/plain
+ $0.StandardHeader = $4
+ $4.Text =
+ $4.inheritsSet = Apache2License
+ $0.VersionControlPolicy = $5
+ $5.inheritsSet = Mono
+ $0.ChangeLogPolicy = $6
+ $6.UpdateMode = None
+ $6.MessageStyle = $7
+ $7.LineAlign = 0
+ $6.inheritsSet = Mono
+ EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
View
12 src/CabinDB/CabinDB.csproj
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CabinDB</RootNamespace>
<AssemblyName>CabinDB</AssemblyName>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -31,16 +31,15 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
- <Reference Include="Magnum">
- <HintPath>..\lib\Magnum\Magnum.dll</HintPath>
- </Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
- <Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
+ <Reference Include="Magnum, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null">
+ <HintPath>..\lib\Magnum\Magnum.dll</HintPath>
+ </Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="CabinDocumentSession.cs" />
@@ -49,6 +48,7 @@
<Compile Include="TypeCabin.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
View
BIN  src/lib/Magnum.TestFramework/Magnum.dll
Binary file not shown
View
BIN  src/lib/Magnum.TestFramework/Rhino.Mocks.dll
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.