Skip to content

Commit ebd298f

Browse files
committed
Nuget - Add CefSharpTransformXmlDllPathOverride
Allow for setting a custom location for CefSharpTransformXmlDllPath
1 parent 74100d5 commit ebd298f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

NuGet/CefSharp.Common.targets

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,12 @@
8585
If https://www.nuget.org/packages/MSBuild.Microsoft.VisualStudio.Web.targets/ package is installed
8686
we'll attempt to use the task from there, otherwise see if it's installed as part of Visual Studio
8787
If not installed then we'll fallback to the old behaviour (user has to manage AnyCPU themselves)
88+
If Microsoft.Web.Publishing.Tasks.dll is in a different location to those below then set
89+
CefSharpTransformXmlDllPathOverride in your project file.
8890
-->
8991
<CefSharpTransformXmlDllPath Condition="$(VSToolsPath) == ''">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Web\Microsoft.Web.Publishing.Tasks.dll</CefSharpTransformXmlDllPath>
9092
<CefSharpTransformXmlDllPath Condition="$(VSToolsPath) != ''" >$(VSToolsPath)\Web\Microsoft.Web.Publishing.Tasks.dll</CefSharpTransformXmlDllPath>
93+
<CefSharpTransformXmlDllPath Condition="'$(CefSharpTransformXmlDllPathOverride)' != ''">$(CefSharpTransformXmlDllPathOverride)</CefSharpTransformXmlDllPath>
9194
</PropertyGroup>
9295

9396
<PropertyGroup>

0 commit comments

Comments
 (0)