Skip to content

Commit eab48a1

Browse files
committed
Make NHibernate.Tool.HbmXsd target the .NET 4.0 Framework
1 parent 941797f commit eab48a1

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/NHibernate.Tool.HbmXsd/NHibernate.Tool.HbmXsd.csproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<OldToolsVersion>3.5</OldToolsVersion>
1616
<UpgradeBackupLocation>
1717
</UpgradeBackupLocation>
18-
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
18+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
1919
<PublishUrl>publish\</PublishUrl>
2020
<Install>true</Install>
2121
<InstallFrom>Disk</InstallFrom>
@@ -31,6 +31,8 @@
3131
<IsWebBootstrapper>false</IsWebBootstrapper>
3232
<UseApplicationTrust>false</UseApplicationTrust>
3333
<BootstrapperEnabled>true</BootstrapperEnabled>
34+
<TargetFrameworkProfile>
35+
</TargetFrameworkProfile>
3436
</PropertyGroup>
3537
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3638
<DebugSymbols>true</DebugSymbols>
@@ -77,6 +79,9 @@
7779
<ItemGroup>
7880
<Folder Include="Properties\" />
7981
</ItemGroup>
82+
<ItemGroup>
83+
<None Include="app.config" />
84+
</ItemGroup>
8085
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
8186
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
8287
Other similar extension points exist, see Microsoft.Common.targets.

src/NHibernate.Tool.HbmXsd/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" encoding="utf-8"?>
2+
<configuration>
3+
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

0 commit comments

Comments
 (0)