From 50f5686d918dbd519f21c0c611bea3f28daf4657 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Sat, 24 Mar 2007 08:06:41 +0000 Subject: * Added separate exe project * Prebuild exe is now built in /bin dir --- Prebuild/src/Prebuild.csproj | 38 ++++++++++++++++++++++---------------- Prebuild/src/Prebuild.exe.build | 6 +++--- 2 files changed, 25 insertions(+), 19 deletions(-) (limited to 'Prebuild/src') diff --git a/Prebuild/src/Prebuild.csproj b/Prebuild/src/Prebuild.csproj index 82589c2..17d5089 100644 --- a/Prebuild/src/Prebuild.csproj +++ b/Prebuild/src/Prebuild.csproj @@ -1,9 +1,9 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <ProjectType>Local</ProjectType> <ProductVersion>8.0.50727</ProductVersion> <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{A5CC8344-BEE4-442E-92F1-FBCB05D6AB78}</ProjectGuid> + <ProjectGuid>{F7B3D806-20FD-4181-86F1-96E24A9EC850}</ProjectGuid> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ApplicationIcon>App.ico</ApplicationIcon> @@ -17,8 +17,7 @@ <DefaultTargetSchema>IE50</DefaultTargetSchema> <DelaySign>false</DelaySign> <OutputType>Exe</OutputType> - <AppDesignerFolder> - </AppDesignerFolder> + <AppDesignerFolder></AppDesignerFolder> <RootNamespace>Prebuild</RootNamespace> <StartupObject>Prebuild.Prebuild</StartupObject> <FileUpgradeFlags> @@ -31,12 +30,11 @@ <ConfigurationOverrideFile> </ConfigurationOverrideFile> <DefineConstants>DEBUG;TRACE</DefineConstants> - <DocumentationFile> - </DocumentationFile> + <DocumentationFile></DocumentationFile> <DebugSymbols>True</DebugSymbols> <FileAlignment>4096</FileAlignment> <Optimize>False</Optimize> - <OutputPath>..\bin\</OutputPath> + <OutputPath>..\..\bin\</OutputPath> <RegisterForComInterop>False</RegisterForComInterop> <RemoveIntegerChecks>False</RemoveIntegerChecks> <TreatWarningsAsErrors>False</TreatWarningsAsErrors> @@ -50,12 +48,11 @@ <ConfigurationOverrideFile> </ConfigurationOverrideFile> <DefineConstants>TRACE</DefineConstants> - <DocumentationFile> - </DocumentationFile> + <DocumentationFile></DocumentationFile> <DebugSymbols>False</DebugSymbols> <FileAlignment>4096</FileAlignment> <Optimize>True</Optimize> - <OutputPath>..\bin\</OutputPath> + <OutputPath>..\..\bin\</OutputPath> <RegisterForComInterop>False</RegisterForComInterop> <RemoveIntegerChecks>False</RemoveIntegerChecks> <TreatWarningsAsErrors>False</TreatWarningsAsErrors> @@ -63,6 +60,20 @@ <NoWarn>1595</NoWarn> </PropertyGroup> <ItemGroup> + <Reference Include="System.EnterpriseServices" > + <HintPath>System.EnterpriseServices.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="System.Xml" > + <HintPath>System.Xml.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="System" > + <HintPath>System.dll</HintPath> + <Private>False</Private> + </Reference> + </ItemGroup> + <ItemGroup> </ItemGroup> <ItemGroup> <EmbeddedResource Include="App.ico"> @@ -184,11 +195,6 @@ <SubType>Code</SubType> </Compile> </ItemGroup> - <ItemGroup> - <Reference Include="System" /> - <Reference Include="System.EnterpriseServices" /> - <Reference Include="System.XML" /> - </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> <PropertyGroup> <PreBuildEvent> @@ -196,4 +202,4 @@ <PostBuildEvent> </PostBuildEvent> </PropertyGroup> -</Project> \ No newline at end of file +</Project> diff --git a/Prebuild/src/Prebuild.exe.build b/Prebuild/src/Prebuild.exe.build index fda34b9..43f5516 100644 --- a/Prebuild/src/Prebuild.exe.build +++ b/Prebuild/src/Prebuild.exe.build @@ -62,9 +62,9 @@ <include name="System.dll" /> </references> </csc> - <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" /> - <mkdir dir="${project::get-base-directory()}/../bin/"/> - <copy todir="${project::get-base-directory()}/../bin/"> + <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> + <mkdir dir="${project::get-base-directory()}/../../bin/"/> + <copy todir="${project::get-base-directory()}/../../bin/"> <fileset basedir="${project::get-base-directory()}/${build.dir}/" > <include name="*.dll"/> <include name="*.exe"/> -- cgit v1.1