1
Vote

Can't build a project after enabling Magic

description

Hi!
First of all - great idea, magic is exactly what we need.
I have tested it on a small test project and it worked fine. Then I decided to enable magic in the existing real-life project, and it fails when I build it. If I delete the line
  
then the project build fine.
I have several projects in a solution, and I enable Magic in one of the projects, and all other projects depend on it. I can build only this project successfully, but then the other projects don't see it, as if it was empty and didn't have any namespaces.
In the output window, the only thing I get is:
Done executing task "Csc" -- FAILED.
Done building target "CoreCompile" in project "MyProjectName.csproj" -- FAILED.
Are there any logs, where can I get more information about what goes wrong?
Let me know if you need any additional info from my side.

file attachments

comments

LexLavnikov wrote Jan 23, 2013 at 3:38 PM

  1. Please specify what type of project are you using KoM with? Namely, .NET FX Version, language, project flavor (.NET, SL, WP, WinRT), version of Visual Studio.
  2. To enable additional logging, In VS main menu Tools -> Options -> Projects and Solutions -> Build and Run -> MSBuild project build output verbosity: Normal or Detailed values must be set.

wrote Jan 23, 2013 at 4:47 PM

AndreyPld wrote Jan 23, 2013 at 4:47 PM

To answer your questions:
.Net 3.5, VS2010, the project is .Net library written in C#, not WPF. I already have MSBuild verbosity set to Detailed.
I am attaching the contents of the Output. There are three projects built:
  1. Localization
  2. Library <- magic is enabled here
  3. Integration.
    The Library is built without errors, but the Integration fails.

AndreyPld wrote Jan 23, 2013 at 4:51 PM

Interestingly enough, when I open the Library dll built with KoM with dotPeek, I can see all the Namespaces that the compiler cannot find.

wrote Feb 14, 2013 at 1:28 AM