Skip to content

Commit 107de6c

Browse files
authored
Use predifined variable $(TargetFrameworkMoniker)
1 parent 0c4e9b4 commit 107de6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NHibernate/NHibernate.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,11 +1816,11 @@
18161816
</Target>
18171817
-->
18181818
<Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release' ">
1819-
<GetReferenceAssemblyPaths BypassFrameworkInstallChecks="False" TargetFrameworkMoniker=".NETFramework,Version=v4.6.2">
1819+
<GetReferenceAssemblyPaths BypassFrameworkInstallChecks="False" TargetFrameworkMoniker="$(TargetFrameworkMoniker)">
18201820
<Output TaskParameter="FullFrameworkReferenceAssemblyPaths" PropertyName="_ReferenceAssembliesPath" />
18211821
<!-- Note: _ReferenceAssembliesPath will contain a trailing backslash which /targetplatform
18221822
can't handle. Circumvented by adding a trailing period below. -->
18231823
</GetReferenceAssemblyPaths>
18241824
<Exec Command="$(SolutionDir)..\Tools\ilrepack\ilrepack.exe /verbose /t:library /targetplatform:v4,&quot;$(_ReferenceAssembliesPath).&quot; /keyfile:$(AssemblyOriginatorKeyFile) /internalize:internalize.exclude /attr:$(IntermediateOutputPath)\NHibernate.dll /out:$(OutputPath)\NHibernate.dll $(IntermediateOutputPath)\NHibernate.dll $(OutputPath)\Remotion.Linq.dll $(OutputPath)\Antlr3.Runtime.dll" />
18251825
</Target>
1826-
</Project>
1826+
</Project>

0 commit comments

Comments
 (0)