i,
I'm trying to modify the SharpSnippetCompiler example in order to Add a Class library project into the existing project.
My "Snippet" look like :
c:\Projects\Snippet1\* (the exe , same as Snippet example)
But with a second project class library (c:\OTHER_DIR\SharedLib\*) added directly in it. The .exe is using the library by adding a Project reference to the library.
Note : The project is created with SharpDevelop to make sure it's valid and the projects creations process is not involved in SharpSnippet
1- I create an empty C# class library project in SharpDevelop and close the solution
2- I Create an empty c# Win application project in SharpDevelop and Add exiting project (the library) to it and then add a project reference to this library
3- Compile and run well in SharpDevelop, now I want to compile it in the SharpSnippet
4- In the *sharpSnippetCompiler* the project seems to be loaded correctly
5- A change was made to get the Top level solution project (the .exe) since the example only manage a single project (ProjectService.CurrentProject=...The exe Iproject)
6- In the "build current" menu handler the Run command is done with the Top level project (the .exe)
I get 2 errors MSB4060, MSB4127:
-----------------------
Error : The "EntityDeploy" task has been declared or used incorrectly, or failed during construction. Check the spelling of the task name and the assembly name. (MSB4060)
Error : The "EntityDeploy" task could not be instantiated from the assembly "c:\Windows\Microsoft.Net\V3.5\Microsoft.Data.Entity.Build.Tasks.dll" Please verify the task assembly has been built using the same version of the Microsoft.Build.Framework assembly as the one installed on your computer and that your host application is not missing a binding redirect for Microsoft.Build.Framework. Unable to cast the object of type "Microsft.Data.Entity.Build.Tasks.EntityDeploy" to type "Microsoft.Build.Framework.ITask (MSB4127)
------------------------
Is anybody know why I'm getting theses errors? any clues?
Thanks,
Michel