parent
0d59941539
commit
aff1f7604a
@ -0,0 +1,89 @@
|
|||||||
|
<?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>
|
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="Fody" version="1.17.0.0" targetFramework="net35" />
|
||||||
|
<package id="PropertyChanged.Fody" version="1.41.0.0" targetFramework="net35" />
|
||||||
|
</packages>
|
@ -0,0 +1,89 @@
|
|||||||
|
<?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>
|
@ -1,4 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="PropertyChanged.Fody" version="1.32.2.0" targetFramework="portable-win+net45+sl40+wp" />
|
<package id="Fody" version="1.17.0.0" targetFramework="net45" />
|
||||||
|
<package id="PropertyChanged.Fody" version="1.41.0.0" targetFramework="net45" />
|
||||||
</packages>
|
</packages>
|
Loading…
Reference in new issue