Giter VIP home page Giter VIP logo

Comments (4)

brentspell avatar brentspell commented on August 16, 2024

I don't see the warning symbols in the project tree in my installation. I assume that you are seeing it in all projects in the NuBuild solution. Are you using Visual Studio 2010 or 2012? Also, have you installed the Visual Studio 2010 SP1 SDK and WiX 3.6+?

from nubuild.

dtewinkel avatar dtewinkel commented on August 16, 2024

I am not near the machine I tested it on, but I the project was in VS2010, most likely with the SDK, but maybe not the SP1 version. It has WiX 3.6 or 3.7. But it was not to build NuBuild, it is in using the extension. Are Visual Studio 2010 SP1 SDK and WiX 3.6+ prerequisites for that? May become tricky if you only have VS2012.
Let me do some more testing on my home machine.

from nubuild.

brentspell avatar brentspell commented on August 16, 2024

I see. No, you don't need the VS SDK or WiX to build any projects that use the extension. I also noticed the exclamation sign in the project references in one of the sample projects. It is not clear what is causing the warning, but it does not appear to affect the build output. I will take a look at it and see if there is something that can be done.

from nubuild.

lmagyar avatar lmagyar commented on August 16, 2024

We had also yellow exclamations when referring library projects from NuBuild projects (2.x, project flavor based version, but this project file structure is the same in v1.x and v2.x) and also when referring other NuBuild projects from NuBuild projects (for automatic dependency calculation). Our yellow exclamations seem to be a VS "feature": VS tries to validate, that only binary projects refers each other.

The solution was that (VS2010 and VS2012 tested) to add <Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" /> BEFORE <Import Project="$(MSBuildExtensionsPath32)\NuBuild\v1\NuBuild.targets" />. When VS calls some special target in the project to determine some properties of it, VS IDE will think that the NuBuild project is a binary project. It has a side-effect: sometimes a "The target "CoreCompile" does not exist in the project." warning is shown on the NuBuild project and later this disappears. I had no time to resolve this side-effect. I've tried to add several properties with constant values to the NuBuild project file to trick VS, but nothing helped to hide the exclamation marks, I've tried to debug the build process to determine the required properties, no result, I finally gave up and stick with the Microsoft.Common.targets import.

from nubuild.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.