|
12 | 12 | <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> |
13 | 13 | <FileAlignment>512</FileAlignment> |
14 | 14 | <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> |
| 15 | + <NuGetPackageImportStamp> |
| 16 | + </NuGetPackageImportStamp> |
15 | 17 | </PropertyGroup> |
16 | 18 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
17 | 19 | <PlatformTarget>AnyCPU</PlatformTarget> |
|
22 | 24 | <DefineConstants>DEBUG;TRACE</DefineConstants> |
23 | 25 | <ErrorReport>prompt</ErrorReport> |
24 | 26 | <WarningLevel>4</WarningLevel> |
| 27 | + <NoWarn>8002,618</NoWarn> |
25 | 28 | </PropertyGroup> |
26 | 29 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
27 | 30 | <PlatformTarget>AnyCPU</PlatformTarget> |
|
36 | 39 | <StartupObject /> |
37 | 40 | </PropertyGroup> |
38 | 41 | <PropertyGroup> |
39 | | - <SignAssembly>false</SignAssembly> |
| 42 | + <SignAssembly>true</SignAssembly> |
40 | 43 | </PropertyGroup> |
41 | 44 | <PropertyGroup> |
42 | 45 | <AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile> |
43 | 46 | </PropertyGroup> |
44 | 47 | <ItemGroup> |
45 | | - <Reference Include="Nancy, Version=1.4.4.0, Culture=neutral, processorArchitecture=MSIL"> |
46 | | - <HintPath>..\packages\Nancy.1.4.4\lib\net40\Nancy.dll</HintPath> |
| 48 | + <Reference Include="Nancy, Version=1.4.1.0, Culture=neutral, processorArchitecture=MSIL"> |
| 49 | + <SpecificVersion>False</SpecificVersion> |
| 50 | + <HintPath>$(SolutionDir)\packages\Nancy.1.4.1\lib\net40\Nancy.dll</HintPath> |
47 | 51 | <Private>True</Private> |
48 | 52 | </Reference> |
49 | 53 | <Reference Include="Nancy.Hosting.Self, Version=1.4.1.0, Culture=neutral, processorArchitecture=MSIL"> |
50 | | - <HintPath>..\packages\Nancy.Hosting.Self.1.4.1\lib\net40\Nancy.Hosting.Self.dll</HintPath> |
| 54 | + <HintPath>$(SolutionDir)\packages\Nancy.Hosting.Self.1.4.1\lib\net40\Nancy.Hosting.Self.dll</HintPath> |
51 | 55 | <Private>True</Private> |
52 | 56 | </Reference> |
53 | 57 | <Reference Include="System" /> |
|
62 | 66 | <ItemGroup> |
63 | 67 | <Compile Include="Program.cs" /> |
64 | 68 | <Compile Include="Properties\AssemblyInfo.cs" /> |
65 | | - <Compile Include="..\..\..\src\GitHub.Exports\Models\UsageData.cs"> |
| 69 | + <None Include="..\..\..\src\GitHub.Exports\Models\UsageData.cs"> |
66 | 70 | <Link>UsageData.cs</Link> |
67 | | - </Compile> |
68 | | - <Compile Include="..\..\..\src\GitHub.Exports\Models\UsageModel.cs"> |
| 71 | + </None> |
| 72 | + <None Include="..\..\..\src\GitHub.Exports\Models\UsageModel.cs"> |
69 | 73 | <Link>UsageModel.cs</Link> |
70 | | - </Compile> |
| 74 | + </None> |
71 | 75 | </ItemGroup> |
72 | 76 | <ItemGroup> |
73 | 77 | <None Include="App.config" /> |
74 | 78 | <None Include="key.snk" /> |
75 | 79 | <None Include="packages.config" /> |
76 | 80 | </ItemGroup> |
| 81 | + <ItemGroup> |
| 82 | + <ProjectReference Include="..\..\..\src\GitHub.Exports\GitHub.Exports.csproj"> |
| 83 | + <Project>{9AEA02DB-02B5-409C-B0CA-115D05331A6B}</Project> |
| 84 | + <Name>GitHub.Exports</Name> |
| 85 | + </ProjectReference> |
| 86 | + </ItemGroup> |
77 | 87 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| 88 | + <Import Project="..\..\..\packages\StrongNamer.0.0.6\build\StrongNamer.targets" Condition="Exists('..\..\..\packages\StrongNamer.0.0.6\build\StrongNamer.targets')" /> |
| 89 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 90 | + <PropertyGroup> |
| 91 | + <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> |
| 92 | + </PropertyGroup> |
| 93 | + <Error Condition="!Exists('..\..\..\packages\StrongNamer.0.0.6\build\StrongNamer.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\StrongNamer.0.0.6\build\StrongNamer.targets'))" /> |
| 94 | + </Target> |
78 | 95 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
79 | 96 | Other similar extension points exist, see Microsoft.Common.targets. |
80 | 97 | <Target Name="BeforeBuild"> |
|
0 commit comments