-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RH MsBuild NuGet Package #15
Comments
Another issue I have is that I can't just use roundhouse.tasks.dll directly from the NuGet packages directory because of the dependency on log4net. This is the line in MSBuild: Is it possible to ILMerge log4net in the roundhouse.tasks.dll and remove the nuget reference to log4net? |
This is all over the place for you. :D |
I am actually working on removing the dependency for log4net. |
As far as NHibernate, we can unmerge all of that as well. I am merging everything for the task so that all you need is the dll (much like rh.exe). I take it you are using FluentNHibernate elsewhere in your tasks. |
FNH is indeed referenced, but I like the idea that stuff get's ILMerged rather than a lot of separate assemblies. |
There is some part of FNH that can not be internalized, but for the most part it can be. |
If I can get it down to this: #8 - would that work? |
Your issue is with FNH merging, not NH merging. We may be exploring some other options... Take a look at this - #16 |
I think it will. I have a test project on Google code that Pascal and I will http://code.google.com/p/roundhouse-workshop If you use the tag alongtimeago and add rh.msbuild via nuget, you will Jochen Op 22 sep 2011 13:01 schreef "Rob Reynolds" < If I can get it down to this: Reply to this email directly or view it on GitHub: |
I just pushed up the change. Pull the latest and build from master/trunk and let me know if that solves the NHibernate issues you are seeing. |
Let's log removing the dependency on log4net as a separate issue. |
After installing the RH msbuild package from nuget I'm unable to build my application. The reason is that the roundhouse.dll contains FluentNHibernate. Here's the error:
error CS0433: The type 'FluentNHibernate.Cfg.Fluently' exists in both '...\Source\packages\FluentNHibernate.1.2.0.712\lib\FluentNHibernate.dll' and '...\Source\packages\roundhouse.msbuild.0.8.0.332\lib\roundhouse.dll'
error CS0433: The type 'FluentNHibernate.Cfg.Db.MsSqlConfiguration' exists in both '...\Source\packages\FluentNHibernate.1.2.0.712\lib\FluentNHibernate.dll' and '...\Source\packages\roundhouse.msbuild.0.8.0.332\lib\roundhouse.dll'
Is it possible to internalize FluentNHibernate in RoundhousE with ILMerge? Or reference the FluentNHibernate NuGet package?
An other possibility is that the nuget package doesn't add the roundhouse.dll and roundhouse.tasks.dll to the references of the project. It should do what the normal rh nuget package does, just a a txt file that can easily be removed.
The text was updated successfully, but these errors were encountered: