Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Missing reference error from generated code project.
ecurren
#1 Posted : Friday, November 7, 2014 1:20:45 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/4/2014(UTC)
Posts: 2
Location: United States of America

Was thanked: 1 time(s) in 1 post(s)
I am having an issue with what appears to be a project reference. I am referencing a project which is generated on build by CodeSmith Generator. This ‘data’ (generated) project connects to a database and generates the data layer and regenerates the code on build.
I generated all the code in the ‘data’ project before referencing this project in the other ‘web service’ project. When NCrunch attempts to build the solution it is notifying me of the following:

Controllers\AgentController.cs (15): The type or namespace name 'Data' does not exist in the namespace Domain.Network' (are you missing an assembly reference?)

This project has a reference to another project that was not loaded by NCrunch. If NCrunch is unable to build this project normally, check the following:
- All dependencies for this project are available on disk in their referenced locations
- All dependencies can be successfully loaded and built by Visual Studio
- All dependencies are supported by NCrunch (see http://www.ncrunch.net/support/frameworks for details)
- No dependencies are using the 'Ignore This Project Completely' NCrunch configuration setting

The following dependencies raised this warning:
D:\SourceCode\ Data.csproj:

Click here to hide this warning



The data project is referenced in the web service project. I am not sure how to go about debugging this issue and any help is appreciated.

Thank you
ecurren
#2 Posted : Friday, November 7, 2014 1:24:17 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/4/2014(UTC)
Posts: 2
Location: United States of America

Was thanked: 1 time(s) in 1 post(s)
Well, as soon as I posted this question I found that the 'Ignore this component completely' property was set for this project. When I turned it off it builds fine.
1 user thanked ecurren for this useful post.
Remco on 11/7/2014(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.022 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download