Skip to content

Commit 6abbbd1

Browse files
committed
changed all projects to .Net 4.0 - some issues remain
1 parent dcc57d8 commit 6abbbd1

File tree

20 files changed

+51
-31
lines changed

20 files changed

+51
-31
lines changed

src/Examples.FirstAutomappedProject/Examples.FirstAutomappedProject.csproj

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>Examples.FirstAutomappedProject</RootNamespace>
1212
<AssemblyName>Examples.FirstAutomappedProject</AssemblyName>
13-
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
13+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
1515
<StartupObject>Examples.FirstAutomappedProject.Program</StartupObject>
1616
<FileUpgradeFlags>
@@ -32,6 +32,7 @@
3232
<IsWebBootstrapper>false</IsWebBootstrapper>
3333
<UseApplicationTrust>false</UseApplicationTrust>
3434
<BootstrapperEnabled>true</BootstrapperEnabled>
35+
<TargetFrameworkProfile />
3536
</PropertyGroup>
3637
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3738
<DebugSymbols>true</DebugSymbols>
@@ -72,8 +73,7 @@
7273
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
7374
</PropertyGroup>
7475
<ItemGroup>
75-
<Reference Include="NHibernate, Version=2.0.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
76-
<SpecificVersion>False</SpecificVersion>
76+
<Reference Include="NHibernate">
7777
<HintPath>..\..\tools\NHibernate\NHibernate.dll</HintPath>
7878
</Reference>
7979
<Reference Include="System" />
@@ -96,12 +96,6 @@
9696
<Compile Include="Program.cs" />
9797
<Compile Include="Properties\AssemblyInfo.cs" />
9898
</ItemGroup>
99-
<ItemGroup>
100-
<ProjectReference Include="..\FluentNHibernate\FluentNHibernate.csproj">
101-
<Project>{529145D5-6CC3-4016-89B5-826563024AF1}</Project>
102-
<Name>FluentNHibernate</Name>
103-
</ProjectReference>
104-
</ItemGroup>
10599
<ItemGroup>
106100
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
107101
<Visible>False</Visible>
@@ -119,6 +113,15 @@
119113
<Install>true</Install>
120114
</BootstrapperPackage>
121115
</ItemGroup>
116+
<ItemGroup>
117+
<ProjectReference Include="..\FluentNHibernate\FluentNHibernate.csproj">
118+
<Project>{529145d5-6cc3-4016-89b5-826563024af1}</Project>
119+
<Name>FluentNHibernate</Name>
120+
</ProjectReference>
121+
</ItemGroup>
122+
<ItemGroup>
123+
<None Include="app.config" />
124+
</ItemGroup>
122125
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
123126
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
124127
Other similar extension points exist, see Microsoft.Common.targets.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0"?>
2+
<configuration>
3+
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

src/Examples.FirstProject/Examples.FirstProject.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>Examples.FirstProject</RootNamespace>
1212
<AssemblyName>Examples.FirstProject</AssemblyName>
13-
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
13+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
1515
<StartupObject>Examples.FirstProject.Program</StartupObject>
1616
<FileUpgradeFlags>
@@ -32,6 +32,7 @@
3232
<IsWebBootstrapper>false</IsWebBootstrapper>
3333
<UseApplicationTrust>false</UseApplicationTrust>
3434
<BootstrapperEnabled>true</BootstrapperEnabled>
35+
<TargetFrameworkProfile />
3536
</PropertyGroup>
3637
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3738
<DebugSymbols>true</DebugSymbols>
@@ -132,6 +133,9 @@
132133
<Install>true</Install>
133134
</BootstrapperPackage>
134135
</ItemGroup>
136+
<ItemGroup>
137+
<None Include="app.config" />
138+
</ItemGroup>
135139
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
136140
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
137141
Other similar extension points exist, see Microsoft.Common.targets.

src/Examples.FirstProject/Examples.FirstProject.csproj.user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<ProjectView>ShowAllFiles</ProjectView>
4+
<ProjectView>ProjectFiles</ProjectView>
55
<PublishUrlHistory />
66
<InstallUrlHistory />
77
<SupportUrlHistory />

src/Examples.FirstProject/app.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0"?>
2+
<configuration>
3+
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

src/FluentNHibernate.Specs.ExternalFixtures/FluentNHibernate.Specs.ExternalFixtures.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>FluentNHibernate.Specs.ExternalFixtures</RootNamespace>
1212
<AssemblyName>FluentNHibernate.Specs.ExternalFixtures</AssemblyName>
13-
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
13+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
1515
<TargetFrameworkProfile />
1616
</PropertyGroup>

src/FluentNHibernate.Specs/Conventions/Fixtures/SetCollectionEntity.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using Iesi.Collections.Generic;
1+
using System.Collections.Generic;
2+
using Iesi.Collections.Generic;
23

34
namespace FluentNHibernate.Specs.Conventions.Fixtures
45
{

src/FluentNHibernate.Specs/Conventions/Fixtures/SetCompositeElementCollectionEntity.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using Iesi.Collections.Generic;
1+
using System.Collections.Generic;
2+
using Iesi.Collections.Generic;
23

34
namespace FluentNHibernate.Specs.Conventions.Fixtures
45
{

src/FluentNHibernate.Specs/Conventions/Fixtures/SetElementCollectionEntity.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using Iesi.Collections.Generic;
1+
using System.Collections.Generic;
2+
using Iesi.Collections.Generic;
23

34
namespace FluentNHibernate.Specs.Conventions.Fixtures
45
{

src/FluentNHibernate.Specs/FluentNHibernate.Specs.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>FluentNHibernate.Specs</RootNamespace>
1212
<AssemblyName>FluentNHibernate.Specs</AssemblyName>
13-
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
13+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
1515
<FileUpgradeFlags>
1616
</FileUpgradeFlags>
@@ -31,6 +31,7 @@
3131
<IsWebBootstrapper>false</IsWebBootstrapper>
3232
<UseApplicationTrust>false</UseApplicationTrust>
3333
<BootstrapperEnabled>true</BootstrapperEnabled>
34+
<TargetFrameworkProfile />
3435
</PropertyGroup>
3536
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3637
<DebugSymbols>true</DebugSymbols>

0 commit comments

Comments
 (0)