Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: Why is Project.AddRemoveProgramsIcon undefined in one setup project?

$
0
0
Hi, I have 2 WixSharp setup projects. In one, in accordance with one of your samples, I have this code:
        project.AddRemoveProgramsIcon = @"Files\App.ico";
        project.Manufacturer = "DesignForge, Inc.";
which compiles just fine.

In another WixSharp setup project, I also have these 2 lines of code within method Main, of file Setup.cs (your normal WixSharp project). However, here, the "AddRemoveProgramsIcon" is in red, showing the error "Project does not contain a definitiion for 'AddRemoveProgramsIcon'. Also, same for the project.Manufacturer property!

What could be going on here? I thought perhaps these were using two different versions of your compiler. However, I checked this. And each uses this to point to Wix tools:

Compiler.WixLocation = @"..\packages\WixSharp.wix.bin.3.10.1\tools\bin"; Your advice is appreciated, thank you.

James W. Hurst
email: JamesH@Designforge.com

Viewing all articles
Browse latest Browse all 1354

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>