summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.proj11
-rw-r--r--samples/OAuthAuthorizationServer/OAuthAuthorizationServer.csproj2
2 files changed, 9 insertions, 4 deletions
diff --git a/build.proj b/build.proj
index af91695..4f33e72 100644
--- a/build.proj
+++ b/build.proj
@@ -4,16 +4,21 @@
<Import Project="$(ProjectRoot)tools\Translation.targets"/>
<ItemGroup>
+ <!--Removed from NightlyProjects until it can be fixed up. samples\tools.proj;-->
<NightlyProjects Include="
- samples\tools.proj;
- tools\drop.proj;
nuget\nuget.proj;
" />
<NightlyProjects Include="
+ tools\drop.proj;
+ ">
+ <BuildOnlyOnClr2>true</BuildOnlyOnClr2>
+ </NightlyProjects>
+ <NightlyProjects Include="
samples\samples.proj;
doc\doc.proj;
">
<Targets>DeployableArchive</Targets>
+ <BuildOnlyOnClr2>true</BuildOnlyOnClr2>
</NightlyProjects>
<ProjectsToClean Include="
@@ -44,7 +49,7 @@
<NightlyProjects>
<Properties>TargetFrameworkVersion=v3.5</Properties>
</NightlyProjects>
- <NightlyProjects Include="@(NightlyProjects)">
+ <NightlyProjects Include="@(NightlyProjects)" Condition=" '%(NightlyProjects.BuildOnlyOnClr2)' != 'true' ">
<Properties>TargetFrameworkVersion=v4.0</Properties>
</NightlyProjects>
<ProjectsToClean>
diff --git a/samples/OAuthAuthorizationServer/OAuthAuthorizationServer.csproj b/samples/OAuthAuthorizationServer/OAuthAuthorizationServer.csproj
index 6c57c76..8dff7d5 100644
--- a/samples/OAuthAuthorizationServer/OAuthAuthorizationServer.csproj
+++ b/samples/OAuthAuthorizationServer/OAuthAuthorizationServer.csproj
@@ -63,7 +63,7 @@
<Reference Include="System.Web.Extensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
- <Reference Include="System.Web.Abstractions" Condition=" '$(ClrVersion)' == '2' " />
+ <Reference Include="System.Web.Abstractions" />
<Reference Include="System.Web.Routing" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />