diff options
| author | Jose Alacan <samurayx89@gmail.com> | 2016-02-24 23:15:52 -0500 |
|---|---|---|
| committer | Jose Alacan <samurayx89@gmail.com> | 2016-02-24 23:15:52 -0500 |
| commit | 38471a3fdec99aa83fdc97fa49af17e4802c775c (patch) | |
| tree | 4e87f6d1689d09f175d86efaeec6b6c7add6f861 /MediaBrowser.Model/MediaBrowser.Model.csproj | |
| parent | 355a4eea4e9592ac7a288e883f30a284a519e4f8 (diff) | |
Fody Update
Update to fody so that it compiles on 2015.
Diffstat (limited to 'MediaBrowser.Model/MediaBrowser.Model.csproj')
| -rw-r--r-- | MediaBrowser.Model/MediaBrowser.Model.csproj | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj index a5191192c..fda240249 100644 --- a/MediaBrowser.Model/MediaBrowser.Model.csproj +++ b/MediaBrowser.Model/MediaBrowser.Model.csproj @@ -11,7 +11,6 @@ <AssemblyName>MediaBrowser.Model</AssemblyName> <FileAlignment>512</FileAlignment> <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir> - <FodyPath>..\packages\Fody.1.19.1.0</FodyPath> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <ReleaseVersion> </ReleaseVersion> @@ -442,30 +441,30 @@ <Compile Include="Users\UserAction.cs" /> <Compile Include="Users\UserActionType.cs" /> <Compile Include="Users\UserPolicy.cs" /> - <None Include="Fody.targets" /> <None Include="FodyWeavers.xml" /> <None Include="MediaBrowser.Model.snk" /> - <None Include="packages.config" /> </ItemGroup> <ItemGroup> <Reference Include="Microsoft.CSharp" /> <Reference Include="System" /> <Reference Include="System.Core" /> <Reference Include="System.Runtime.Serialization" /> - <Reference Include="PropertyChanged"> - <HintPath>..\packages\PropertyChanged.Fody.1.41.0.0\Lib\NET35\PropertyChanged.dll</HintPath> - <Private>False</Private> - </Reference> <Reference Include="System.Xml" /> </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <PropertyGroup> <PostBuildEvent /> </PropertyGroup> - <Import Project="Fody.targets" /> <PropertyGroup> <PostBuildEvent /> </PropertyGroup> + <Import Project="..\packages\Fody.1.29.2\build\dotnet\Fody.targets" Condition="Exists('..\packages\Fody.1.29.2\build\dotnet\Fody.targets')" /> + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> + <PropertyGroup> + <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> + </PropertyGroup> + <Error Condition="!Exists('..\packages\Fody.1.29.2\build\dotnet\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.1.29.2\build\dotnet\Fody.targets'))" /> + </Target> <!-- 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"> |
