I'm having trouble squashing these warning messages:

All projects referencing Foo.Library.csproj must install nuget package
Microsoft.Bcl.Build. For more information, see
http://go.microsoft.com/fwlink/?LinkID=317569.

This solution consists of a few projects, most notably Foo.Service and
Foo.Library which are targeting .NET 4.0 and using the latest
Microsoft.Bcl.Async nuget package (Microsoft.Bcl.Build + Microsoft.Bcl)

My solution also contains 2 separate Wix projects, my main one Foo.Setup
and also Foo.Setup.Brand2 which is just for an alternate branding of the
same setup (it just includes references ("Add Existing Item / As Link") to
the first Foo.Setup project, plus a few different files for the alternate
logos/EULA/etc). Maybe this is what is confusing things?

Try as I might, I can't seem to get the Microsoft.Bcl.Build warnings to go
away. They also don't seem to be a type of warning with an ID that I can
make Visual Studio ignore as far as I can tell.

* Actually installing those NuGet packages into my 2 WiX projects does not
help.

* I tried following steps here
http://stackoverflow.com/questions/17180268/warning-all-projects-referencing-myproject-csproj-must-install-nuget-package-m--
Editing the .wixproj and
adding <Additional>SkipValidatePackageReferences=true</Propertes> to my
<ProjectReference>'s gave a ton of errors.

* Adding
<AdditionalPropertes>SkipValidatePackageReferences=true</AdditionalPropertes>
instead in the <ProjectReference>'s went back to merely giving me the
warnings about Microsoft.Bcl.Build but at least it did finish the build and
spit out the .msi files.

I really do need my two WiX projects to reference the Foo.Library and
Foo.Service projects to make sure there isn't a race condition when
rebuilding but also because I'm referencing $(var.Foo.Service.TargetDir)
etc in some of my WiX files.

Thanks for any insight! For now I am just leaving my WiX projects unloaded
so I don't see the warnings constantly, but surely there's a way to fix
this for good.

Cheers,
Jeremy
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to