summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/DotNetOpenAuth.Versioning.targets2
-rw-r--r--tools/DotNetOpenAuth.props7
2 files changed, 5 insertions, 4 deletions
diff --git a/tools/DotNetOpenAuth.Versioning.targets b/tools/DotNetOpenAuth.Versioning.targets
index 1210365..ff8ab4b 100644
--- a/tools/DotNetOpenAuth.Versioning.targets
+++ b/tools/DotNetOpenAuth.Versioning.targets
@@ -30,7 +30,7 @@
<PropertyGroup>
<NewVersionCsFile>$(VersionCsFile).new</NewVersionCsFile>
</PropertyGroup>
- <MakeDir Directories="$(ProjectRoot)obj\$(Configuration)"/>
+ <MakeDir Directories="$(IntermediatePath)"/>
<AssemblyInfo OutputFile="$(NewVersionCsFile)" CodeLanguage="C#"
AssemblyVersion="$(BuildVersion)"
AssemblyInformationalVersion="$(AssemblyInformationalVersion)" />
diff --git a/tools/DotNetOpenAuth.props b/tools/DotNetOpenAuth.props
index c5a391c..aef9675 100644
--- a/tools/DotNetOpenAuth.props
+++ b/tools/DotNetOpenAuth.props
@@ -3,12 +3,13 @@
<PropertyGroup>
<ProductName>DotNetOpenAuth</ProductName>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <TargetFrameworkVersion Condition=" '$(TargetFrameworkVersion)' == '' ">v4.0</TargetFrameworkVersion>
<ProjectRoot Condition="'$(ProjectRoot)' == ''">$(MSBuildProjectDirectory)\</ProjectRoot>
<DropsRoot>$(ProjectRoot)drops\$(Configuration)\</DropsRoot>
- <OutputPath>$(ProjectRoot)bin\$(Configuration)\</OutputPath>
+ <OutputPath>$(ProjectRoot)bin\$(TargetFrameworkVersion)\$(Configuration)\</OutputPath>
<DocOutputPath>$(ProjectRoot)doc\</DocOutputPath>
- <IntermediatePath>$(ProjectRoot)obj\$(Configuration)\</IntermediatePath>
- <BaseIntermediateOutputPath Condition=" '$(BaseIntermediateOutputPath)' == '' ">obj\</BaseIntermediateOutputPath>
+ <IntermediatePath>$(ProjectRoot)obj\$(TargetFrameworkVersion)\$(Configuration)\</IntermediatePath>
+ <BaseIntermediateOutputPath Condition=" '$(BaseIntermediateOutputPath)' == '' ">obj\$(TargetFrameworkVersion)\</BaseIntermediateOutputPath>
<ToolsDir>$(ProjectRoot)tools\</ToolsDir>
<ClrVersion Condition=" '$(TargetFrameworkVersion)' == 'v4.0' ">4</ClrVersion>
<ClrVersion Condition=" '$(TargetFrameworkVersion)' != 'v4.0' ">2</ClrVersion>