Carnac.Logic/Fody.targets

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?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)"
后面还有 29 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。