aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-02-25 08:37:42 -0500
committerLuke <luke.pulverenti@gmail.com>2016-02-25 08:37:42 -0500
commitf87b32bbb35831c16681d4631dc38be756d67805 (patch)
tree6dc2d94127a3bb25d23045eb86c4a21ebcf06259
parent06421248de0d91ef1b30b23ea2da36e4df93aa9a (diff)
parent38471a3fdec99aa83fdc97fa49af17e4802c775c (diff)
Merge pull request #1495 from jose-pr/Fody-Update
Fody Update
-rw-r--r--MediaBrowser.Model.Portable/Fody.targets89
-rw-r--r--MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj17
-rw-r--r--MediaBrowser.Model.Portable/packages.config4
-rw-r--r--MediaBrowser.Model/Fody.targets89
-rw-r--r--MediaBrowser.Model/FodyWeavers.xml2
-rw-r--r--MediaBrowser.Model/MediaBrowser.Model.csproj15
-rw-r--r--MediaBrowser.Model/packages.config4
7 files changed, 19 insertions, 201 deletions
diff --git a/MediaBrowser.Model.Portable/Fody.targets b/MediaBrowser.Model.Portable/Fody.targets
deleted file mode 100644
index a668a51fc..000000000
--- a/MediaBrowser.Model.Portable/Fody.targets
+++ /dev/null
@@ -1,89 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Choose>
- <When Condition="$(NCrunchOriginalSolutionDir) != '' And $(NCrunchOriginalSolutionDir) != '*Undefined*'">
- <PropertyGroup>
- <FodySolutionDir>$(NCrunchOriginalSolutionDir)</FodySolutionDir>
- </PropertyGroup>
- </When>
- <When Condition="$(SolutionDir) != '' And $(SolutionDir) != '*Undefined*'">
- <PropertyGroup>
- <FodySolutionDir>$(SolutionDir)</FodySolutionDir>
- </PropertyGroup>
- </When>
- <When Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">
- <PropertyGroup>
- <FodySolutionDir>$(MSBuildProjectDirectory)\..\</FodySolutionDir>
- </PropertyGroup>
- </When>
- </Choose>
- <Choose>
- <When Condition="$(KeyOriginatorFile) != '' And $(KeyOriginatorFile) != '*Undefined*'">
- <PropertyGroup>
- <FodyKeyFilePath>$(KeyOriginatorFile)</FodyKeyFilePath>
- </PropertyGroup>
- </When>
- <When Condition="$(AssemblyOriginatorKeyFile) != '' And $(AssemblyOriginatorKeyFile) != '*Undefined*'">
- <PropertyGroup>
- <FodyKeyFilePath>$(AssemblyOriginatorKeyFile)</FodyKeyFilePath>
- </PropertyGroup>
- </When>
- <Otherwise >
- <PropertyGroup>
- <FodyKeyFilePath></FodyKeyFilePath>
- </PropertyGroup>
- </Otherwise>
- </Choose>
- <PropertyGroup>
- <IntermediateDir>$(ProjectDir)$(IntermediateOutputPath)</IntermediateDir>
- <FodyMessageImportance Condition="$(FodyMessageImportance) == '' Or $(FodyMessageImportance) == '*Undefined*'">Low</FodyMessageImportance>
- <FodySignAssembly Condition="$(FodySignAssembly) == '' Or $(FodySignAssembly) == '*Undefined*'">$(SignAssembly)</FodySignAssembly>
- <FodyPath Condition="$(FodyPath) == '' Or $(FodyPath) == '*Undefined*'">$(MSBuildThisFileDirectory)</FodyPath>
- </PropertyGroup>
- <UsingTask
- TaskName="Fody.WeavingTask"
- AssemblyFile="$(FodyPath)\Fody.dll" />
- <Target
- AfterTargets="AfterCompile"
- Name="WinFodyTarget"
- Condition=" '$(OS)' == 'Windows_NT'">
-
- <Fody.WeavingTask
- AssemblyPath="@(IntermediateAssembly)"
- IntermediateDir="$(IntermediateDir)"
- KeyFilePath="$(FodyKeyFilePath)"
- MessageImportance="$(FodyMessageImportance)"
- ProjectDirectory="$(ProjectDir)"
- SolutionDir="$(FodySolutionDir)"
- References="@(ReferencePath)"
- SignAssembly="$(FodySignAssembly)"
- ReferenceCopyLocalPaths="@(ReferenceCopyLocalPaths)"
- DefineConstants="$(DefineConstants)"
- />
- </Target>
-
- <Target
- AfterTargets="AfterBuild"
- Name="NonWinFodyTarget"
- Condition=" '$(OS)' != 'Windows_NT'">
- <Fody.WeavingTask
- AssemblyPath="$(TargetPath)"
- IntermediateDir="$(IntermediateDir)"
- KeyFilePath="$(FodyKeyFilePath)"
- MessageImportance="$(FodyMessageImportance)"
- ProjectDirectory="$(ProjectDir)"
- SolutionDir="$(FodySolutionDir)"
- References="@(ReferencePath)"
- SignAssembly="$(FodySignAssembly)"
- ReferenceCopyLocalPaths="$(ReferenceCopyLocalPaths)"
- DefineConstants="$(DefineConstants)"
- />
- </Target>
-
-
- <!--Support for ncrunch-->
- <ItemGroup>
- <None Include="$(FodyPath)\*.*" />
- </ItemGroup>
-
-</Project> \ No newline at end of file
diff --git a/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj b/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj
index cea13f86e..5dcfded6f 100644
--- a/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj
+++ b/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj
@@ -15,7 +15,6 @@
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
- <FodyPath>..\packages\Fody.1.19.1.0</FodyPath>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
@@ -58,14 +57,6 @@
<ItemGroup>
<!-- A reference to the entire .NET Framework is automatically included -->
<None Include="app.config" />
- <None Include="Fody.targets" />
- <None Include="packages.config" />
- </ItemGroup>
- <ItemGroup>
- <Reference Include="PropertyChanged">
- <HintPath>..\packages\PropertyChanged.Fody.1.41.0.0\Lib\portable-net4+sl4+wp7+win8+MonoAndroid16+MonoTouch40\PropertyChanged.dll</HintPath>
- <Private>False</Private>
- </Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\MediaBrowser.Model\Activity\ActivityLogEntry.cs">
@@ -1254,7 +1245,13 @@
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
- <Import Project="Fody.targets" />
+ <Import Project="..\packages\Fody.1.29.2\build\portable-net+sl+win+wpa+wp\Fody.targets" Condition="Exists('..\packages\Fody.1.29.2\build\portable-net+sl+win+wpa+wp\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\portable-net+sl+win+wpa+wp\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.1.29.2\build\portable-net+sl+win+wpa+wp\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">
diff --git a/MediaBrowser.Model.Portable/packages.config b/MediaBrowser.Model.Portable/packages.config
index 1baa00e28..cd4eb36a4 100644
--- a/MediaBrowser.Model.Portable/packages.config
+++ b/MediaBrowser.Model.Portable/packages.config
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="Fody" version="1.19.1.0" targetFramework="portable-win+net45+sl40+wp71" developmentDependency="true" />
- <package id="PropertyChanged.Fody" version="1.41.0.0" targetFramework="portable-net45+sl40+wp71+win" requireReinstallation="True" />
+ <package id="Fody" version="1.29.2" targetFramework="portable45-net45+win8+wp8+wpa81" developmentDependency="true" />
+ <package id="PropertyChanged.Fody" version="1.50.4" targetFramework="portable45-net45+win8+wp8+wpa81" developmentDependency="true" />
</packages> \ No newline at end of file
diff --git a/MediaBrowser.Model/Fody.targets b/MediaBrowser.Model/Fody.targets
deleted file mode 100644
index a668a51fc..000000000
--- a/MediaBrowser.Model/Fody.targets
+++ /dev/null
@@ -1,89 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Choose>
- <When Condition="$(NCrunchOriginalSolutionDir) != '' And $(NCrunchOriginalSolutionDir) != '*Undefined*'">
- <PropertyGroup>
- <FodySolutionDir>$(NCrunchOriginalSolutionDir)</FodySolutionDir>
- </PropertyGroup>
- </When>
- <When Condition="$(SolutionDir) != '' And $(SolutionDir) != '*Undefined*'">
- <PropertyGroup>
- <FodySolutionDir>$(SolutionDir)</FodySolutionDir>
- </PropertyGroup>
- </When>
- <When Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">
- <PropertyGroup>
- <FodySolutionDir>$(MSBuildProjectDirectory)\..\</FodySolutionDir>
- </PropertyGroup>
- </When>
- </Choose>
- <Choose>
- <When Condition="$(KeyOriginatorFile) != '' And $(KeyOriginatorFile) != '*Undefined*'">
- <PropertyGroup>
- <FodyKeyFilePath>$(KeyOriginatorFile)</FodyKeyFilePath>
- </PropertyGroup>
- </When>
- <When Condition="$(AssemblyOriginatorKeyFile) != '' And $(AssemblyOriginatorKeyFile) != '*Undefined*'">
- <PropertyGroup>
- <FodyKeyFilePath>$(AssemblyOriginatorKeyFile)</FodyKeyFilePath>
- </PropertyGroup>
- </When>
- <Otherwise >
- <PropertyGroup>
- <FodyKeyFilePath></FodyKeyFilePath>
- </PropertyGroup>
- </Otherwise>
- </Choose>
- <PropertyGroup>
- <IntermediateDir>$(ProjectDir)$(IntermediateOutputPath)</IntermediateDir>
- <FodyMessageImportance Condition="$(FodyMessageImportance) == '' Or $(FodyMessageImportance) == '*Undefined*'">Low</FodyMessageImportance>
- <FodySignAssembly Condition="$(FodySignAssembly) == '' Or $(FodySignAssembly) == '*Undefined*'">$(SignAssembly)</FodySignAssembly>
- <FodyPath Condition="$(FodyPath) == '' Or $(FodyPath) == '*Undefined*'">$(MSBuildThisFileDirectory)</FodyPath>
- </PropertyGroup>
- <UsingTask
- TaskName="Fody.WeavingTask"
- AssemblyFile="$(FodyPath)\Fody.dll" />
- <Target
- AfterTargets="AfterCompile"
- Name="WinFodyTarget"
- Condition=" '$(OS)' == 'Windows_NT'">
-
- <Fody.WeavingTask
- AssemblyPath="@(IntermediateAssembly)"
- IntermediateDir="$(IntermediateDir)"
- KeyFilePath="$(FodyKeyFilePath)"
- MessageImportance="$(FodyMessageImportance)"
- ProjectDirectory="$(ProjectDir)"
- SolutionDir="$(FodySolutionDir)"
- References="@(ReferencePath)"
- SignAssembly="$(FodySignAssembly)"
- ReferenceCopyLocalPaths="@(ReferenceCopyLocalPaths)"
- DefineConstants="$(DefineConstants)"
- />
- </Target>
-
- <Target
- AfterTargets="AfterBuild"
- Name="NonWinFodyTarget"
- Condition=" '$(OS)' != 'Windows_NT'">
- <Fody.WeavingTask
- AssemblyPath="$(TargetPath)"
- IntermediateDir="$(IntermediateDir)"
- KeyFilePath="$(FodyKeyFilePath)"
- MessageImportance="$(FodyMessageImportance)"
- ProjectDirectory="$(ProjectDir)"
- SolutionDir="$(FodySolutionDir)"
- References="@(ReferencePath)"
- SignAssembly="$(FodySignAssembly)"
- ReferenceCopyLocalPaths="$(ReferenceCopyLocalPaths)"
- DefineConstants="$(DefineConstants)"
- />
- </Target>
-
-
- <!--Support for ncrunch-->
- <ItemGroup>
- <None Include="$(FodyPath)\*.*" />
- </ItemGroup>
-
-</Project> \ No newline at end of file
diff --git a/MediaBrowser.Model/FodyWeavers.xml b/MediaBrowser.Model/FodyWeavers.xml
index bb0f322ee..736992810 100644
--- a/MediaBrowser.Model/FodyWeavers.xml
+++ b/MediaBrowser.Model/FodyWeavers.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Weavers>
<PropertyChanged />
</Weavers> \ No newline at end of file
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">
diff --git a/MediaBrowser.Model/packages.config b/MediaBrowser.Model/packages.config
index 3d7793afb..df2ddcf0f 100644
--- a/MediaBrowser.Model/packages.config
+++ b/MediaBrowser.Model/packages.config
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="Fody" version="1.19.1.0" targetFramework="net45" developmentDependency="true" />
- <package id="PropertyChanged.Fody" version="1.41.0.0" targetFramework="net45" />
+ <package id="Fody" version="1.29.2" targetFramework="net45" developmentDependency="true" />
+ <package id="PropertyChanged.Fody" version="1.50.4" targetFramework="net45" developmentDependency="true" />
</packages> \ No newline at end of file