Build twice in a row to get the right result.

This commit is contained in:
Matt Nadareski
2016-04-29 13:46:51 -07:00
parent c0ab4ef410
commit ac50e10344

View File

@@ -49,6 +49,9 @@
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup> </PropertyGroup>
<PropertyGroup>
<RunPostBuildEvent>Always</RunPostBuildEvent>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.dll</HintPath> <HintPath>..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.dll</HintPath>
@@ -172,7 +175,8 @@
<Error Condition="Exists('..\packages\Mono.Data.Sqlite.Portable.1.0.3.5\tools\Mono.Data.Sqlite.Portable.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build." /> <Error Condition="Exists('..\packages\Mono.Data.Sqlite.Portable.1.0.3.5\tools\Mono.Data.Sqlite.Portable.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build." />
</Target> </Target>
<PropertyGroup> <PropertyGroup>
<PostBuildEvent>if $(PlatformName) == x64 move sqlite3-x64.dll sqlite3.dll <PostBuildEvent>if $(PlatformName) == x64 del /f /q sqlite3.dll
if $(PlatformName) == x64 move /y sqlite3-x64.dll sqlite3.dll
if $(PlatformName) == AnyCPU del /f /q sqlite3-x64.dll</PostBuildEvent> if $(PlatformName) == AnyCPU del /f /q sqlite3-x64.dll</PostBuildEvent>
</PropertyGroup> </PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.