[wix-users] VS2019 - How to get intellisense working for WIX tasks and extensions in .wixproj msbuild file

Edwin Castro egcastr at gmail.com
Thu Jul 16 17:19:50 PDT 2020


The following namespaces are not for MSBuild project files with .wixproj
extension.

xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"
xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"

They are namespaces WiX source files with .wxs extension.

None of those namespaces define a `HeatDirectory` element to use in your
.wixproj.

To my knowledge, there is no schema available describing WiX tasks for your
.wixproj.

--
Edwin G. Castro


On Thu, Jul 16, 2020 at 4:16 PM <jovan27 at gmx.de> wrote:

> I use the ` HeatDirectory` task in my project file to harvests the
> publish folder inside a `BeforeBuild` target, which assigns those resources
> to a ComponenetGroup.
>
>
>
> Doesn’t make sense?
>
>
>
>
>
> *From:* Edwin Castro [mailto:egcastr at gmail.com]
> *Sent:* Freitag, 17. Juli 2020 01:10
> *To:* WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> *Cc:* jovan27 at gmx.de
> *Subject:* Re: [wix-users] VS2019 - How to get intellisense working for
> WIX tasks and extensions in .wixproj msbuild file
>
>
>
> Those schemas are not used within .wixproj files. They make sense in .wxs
> files.
>
>
>
> --
>
> Edwin G. Castro
>
>
>
> On Thu, Jul 16, 2020 at 4:07 PM Roberto via wix-users <
> wix-users at lists.wixtoolset.org> wrote:
>
> The `.wixproj` project file starts like this:
>
> ```
>
> <?xml version="1.0" encoding="utf-8"?>
>
> <Project ToolsVersion="4.0" DefaultTargets="Build"
> InitialTargets="EnsureWixToolsetInstalled"
> xmlns="http://schemas.microsoft.com/developer/msbuild/2003" >
>
> ```
>
>
>
> For example I want to have intellisense for the following schemas in my
> `wixproj` file:
>
>
>
> ```
>
>    xmlns="http://schemas.microsoft.com/wix/2006/wi"
>
>    xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"
>
>    xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"
>
> ```
>
>
>
> I've already checked the schemas under `XML-->Schemas` in VS.
>
>
>
> What else do I need to do, to get intellisense working?
>
>
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
>



More information about the wix-users mailing list