Skip to content

Commit

Permalink
fix solution compiling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mpodonyi committed Feb 22, 2012
1 parent 58832cf commit 70574d2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 18 deletions.
6 changes: 3 additions & 3 deletions src/Yom.CreateDatabase/App.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
</configSections>
</configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
12 changes: 2 additions & 10 deletions src/Yom.CreateDatabase/Program.cs
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Yom.Lib.Data.EF;
using System.Diagnostics;
using System.Configuration;
using System.Data.EntityClient;

using Yom.Lib.Data;

namespace Yom.CreateDatabase
{
class Program
{
static void Main(string[] args)
{
Yom.Lib.Data.Database.Create();
Database.Create();
}
}
}
11 changes: 6 additions & 5 deletions src/Yom.CreateDatabase/Yom.CreateDatabase.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
<RootNamespace>Yom.CreateDatabase</RootNamespace>
<AssemblyName>Yom.CreateDatabase</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\src\</SolutionDir>
<RestorePackages>true</RestorePackages>
Expand Down Expand Up @@ -54,16 +55,16 @@
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Yom.Lib\Yom.Lib.csproj">
<Project>{B55E7E92-FC64-4235-99A8-3880E4544F0A}</Project>
<Name>Yom.Lib</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down

0 comments on commit 70574d2

Please sign in to comment.