diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-30 20:48:00 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-30 20:48:00 -0700 |
commit | dc59bdbc51fce4ad19cb41e5ca610915c2e99789 (patch) | |
tree | 8ab94b787272f8dbde514fdf6558895736185791 /projecttemplates/RelyingPartyLogic/RelyingPartyLogic.csproj | |
parent | e5b8e2e4bd925ef6967c264644e4d67749b5b3de (diff) | |
parent | bf17541c8997d937e0642eafdfb804d2d2c088f3 (diff) | |
download | DotNetOpenAuth-dc59bdbc51fce4ad19cb41e5ca610915c2e99789.zip DotNetOpenAuth-dc59bdbc51fce4ad19cb41e5ca610915c2e99789.tar.gz DotNetOpenAuth-dc59bdbc51fce4ad19cb41e5ca610915c2e99789.tar.bz2 |
Migrated to Dev11 project files. They should all open in Dev10 still (except the new .sqlproj).
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/RelyingPartyLogic.csproj')
-rw-r--r-- | projecttemplates/RelyingPartyLogic/RelyingPartyLogic.csproj | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/projecttemplates/RelyingPartyLogic/RelyingPartyLogic.csproj b/projecttemplates/RelyingPartyLogic/RelyingPartyLogic.csproj index 58e684e..21b866e 100644 --- a/projecttemplates/RelyingPartyLogic/RelyingPartyLogic.csproj +++ b/projecttemplates/RelyingPartyLogic/RelyingPartyLogic.csproj @@ -187,10 +187,10 @@ <Project>{3896A32A-E876-4C23-B9B8-78E17D134CD3}</Project> <Name>DotNetOpenAuth.OpenId</Name> </ProjectReference> - <ProjectReference Include="..\RelyingPartyDatabase\RelyingPartyDatabase.dbproj"> + <ProjectReference Include="..\RelyingPartyDatabase\RelyingPartyDatabase.sqlproj"> <Name>RelyingPartyDatabase</Name> <!-- Deploy the latest SQL script first, so that this project can embed the latest version. --> - <Targets>Build;Deploy</Targets> + <Targets>GetDeployScriptPath</Targets> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> </ProjectReference> </ItemGroup> @@ -214,6 +214,12 @@ <Install>true</Install> </BootstrapperPackage> </ItemGroup> + <Target Name="CopySqlDeployScript"> + <MSBuild Projects="..\RelyingPartyDatabase\RelyingPartyDatabase.sqlproj" Targets="GetDeployScriptPath"> + <Output TaskParameter="TargetOutputs" PropertyName="SqlDeployScriptPath"/> + </MSBuild> + <Copy SourceFiles="$(SqlDeployScriptPath)" DestinationFiles="CreateDatabase.sql" /> + </Target> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. @@ -222,5 +228,11 @@ <Target Name="AfterBuild"> </Target> --> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.targets))\EnlistmentInfo.targets" Condition=" '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.targets))' != '' " /> + <PropertyGroup> + <PrepareResourceNamesDependsOn> + CopySqlDeployScript; + $(PrepareResourceNamesDependsOn) + </PrepareResourceNamesDependsOn> + </PropertyGroup> + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.targets))\EnlistmentInfo.targets" Condition=" '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.targets))' != '' " /> </Project>
\ No newline at end of file |