|
11 | 11 | <AssemblyName>CGbR.GeneratorTests</AssemblyName> |
12 | 12 | <TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion> |
13 | 13 | <FileAlignment>512</FileAlignment> |
| 14 | + <NuGetPackageImportStamp> |
| 15 | + </NuGetPackageImportStamp> |
14 | 16 | </PropertyGroup> |
15 | 17 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
16 | 18 | <DebugSymbols>true</DebugSymbols> |
|
32 | 34 | <AllowUnsafeBlocks>false</AllowUnsafeBlocks> |
33 | 35 | </PropertyGroup> |
34 | 36 | <ItemGroup> |
| 37 | + <Reference Include="CGbR.Lib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> |
| 38 | + <HintPath>..\packages\CGbR.0.3\lib\CGbR.Lib.dll</HintPath> |
| 39 | + <Private>True</Private> |
| 40 | + </Reference> |
| 41 | + <Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> |
| 42 | + <HintPath>..\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> |
| 43 | + <Private>True</Private> |
| 44 | + </Reference> |
35 | 45 | <Reference Include="System" /> |
36 | 46 | <Reference Include="System.Core" /> |
37 | 47 | <Reference Include="System.Runtime.Serialization" /> |
38 | | - <Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed"> |
39 | | - <HintPath>..\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> |
40 | | - </Reference> |
41 | 48 | <Reference Include="nunit.framework, Version=3.2.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb"> |
42 | 49 | <HintPath>..\packages\NUnit.3.2.0\lib\net45\nunit.framework.dll</HintPath> |
43 | 50 | </Reference> |
|
59 | 66 | <None Include="cgbr.json" /> |
60 | 67 | <None Include="packages.config" /> |
61 | 68 | </ItemGroup> |
62 | | - <ItemGroup> |
63 | | - <ProjectReference Include="..\CGbR.Lib\CGbR.Lib.csproj"> |
64 | | - <Project>{2e0e6ad3-7336-4ed0-ba8a-2c6d0cc99fed}</Project> |
65 | | - <Name>CGbR.Lib</Name> |
66 | | - </ProjectReference> |
67 | | - </ItemGroup> |
68 | 69 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
69 | 70 | <PropertyGroup> |
70 | 71 | <PreBuildEvent>$(SolutionDir)bin\cgbr.exe $(ProjectDir)</PreBuildEvent> |
71 | 72 | </PropertyGroup> |
| 73 | + <Import Project="..\packages\CGbR.0.3\build\cgbr.targets" Condition="Exists('..\packages\CGbR.0.3\build\cgbr.targets')" /> |
| 74 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 75 | + <PropertyGroup> |
| 76 | + <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
| 77 | + </PropertyGroup> |
| 78 | + <Error Condition="!Exists('..\packages\CGbR.0.3\build\cgbr.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\CGbR.0.3\build\cgbr.targets'))" /> |
| 79 | + </Target> |
72 | 80 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
73 | 81 | Other similar extension points exist, see Microsoft.Common.targets. |
74 | 82 | <Target Name="BeforeBuild"> |
|
0 commit comments