Skip to content

Commit

Permalink
Added CopyReleases post-build to build release dir
Browse files Browse the repository at this point in the history
  • Loading branch information
markrendle committed Nov 11, 2010
1 parent 0e4f606 commit 33efbef
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -10,3 +10,4 @@ deploy
*.testsettings
TestResults/*
*.dbmdl
Releases/2*
4 changes: 2 additions & 2 deletions CommonAssemblyInfo.cs
Expand Up @@ -19,5 +19,5 @@
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

[assembly: AssemblyVersion("0.2.0.1")]
[assembly: AssemblyFileVersion("0.2.0.1")]
[assembly: AssemblyVersion("0.2.1.0")]
[assembly: AssemblyFileVersion("0.2.1.0")]
11 changes: 11 additions & 0 deletions Releases/CopyReleases.cmd
@@ -0,0 +1,11 @@
cd %1\Releases
set reldir=%DATE:~-4%%DATE:~3,2%%DATE:~0,2%%TIME:~0,2%%TIME:~3,2%%TIME:~6,2%%TIME:~9,2%
mkdir %reldir%
copy ..\Simple.Data\bin\Release\*.dll %reldir%
copy ..\Simple.Data\bin\Release\*.pdb %reldir%
copy ..\Simple.Data.SqlServer\bin\Release\Simple.Data.SqlServer.dll %reldir%
copy ..\Simple.Data.SqlServer\bin\Release\Simple.Data.SqlServer.pdb %reldir%
copy ..\Simple.Data.SqlCe35\bin\Release\Simple.Data.SqlCe35.dll %reldir%
copy ..\Simple.Data.SqlCe35\bin\Release\Simple.Data.SqlCe35.pdb %reldir%
copy ..\Simple.Data.Mocking\bin\Release\Simple.Data.Mocking.dll %reldir%
copy ..\Simple.Data.Mocking\bin\Release\Simple.Data.Mocking.pdb %reldir%
3 changes: 2 additions & 1 deletion Simple.Data.sln
Expand Up @@ -5,6 +5,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Simple.Data", "Simple.Data\
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{10F43335-5672-4BDA-91BB-5311C2BFA409}"
ProjectSection(SolutionItems) = preProject
CommonAssemblyInfo.cs = CommonAssemblyInfo.cs
Simple.Data.vsmdi = Simple.Data.vsmdi
EndProjectSection
EndProject
Expand Down Expand Up @@ -142,8 +143,8 @@ Global
{70536BA8-AF0D-46F3-B04C-45177F56B320} = {182AEEFE-9B89-4264-BCED-91A00D1EF896}
{D4FE470E-4B01-4120-B809-F426A0179191} = {182AEEFE-9B89-4264-BCED-91A00D1EF896}
{29BBCAE1-DF13-40A0-A412-F2F87F4E9351} = {182AEEFE-9B89-4264-BCED-91A00D1EF896}
{8DF17038-537D-45BE-B229-C99EECBB4EDC} = {EAEEE2B0-E5FB-4FCE-97CD-3C77E593E5A1}
{E8CBD0A4-4770-4F6B-9BBE-A37681E119F2} = {459D6CD1-B7A3-48A6-A613-57F5E8BC3A28}
{0A6918F1-6F2C-4C02-8CB5-304731D2DAC3} = {459D6CD1-B7A3-48A6-A613-57F5E8BC3A28}
{8DF17038-537D-45BE-B229-C99EECBB4EDC} = {EAEEE2B0-E5FB-4FCE-97CD-3C77E593E5A1}
EndGlobalSection
EndGlobal
3 changes: 3 additions & 0 deletions Simple.Data/Simple.Data.csproj
Expand Up @@ -140,6 +140,9 @@
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>"$(SolutionDir)Releases\CopyReleases.cmd" "$(SolutionDir)"</PostBuildEvent>
</PropertyGroup>
<!-- 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.
<Target Name="BeforeBuild">
Expand Down

0 comments on commit 33efbef

Please sign in to comment.