NServiceBus icon indicating copy to clipboard operation
NServiceBus copied to clipboard

Remove the NServiceBus.Host.exe.config manipulation

Open andreasohlund opened this issue 15 years ago • 9 comments

There should be no need to explicitly point to a endpoint config class the that part of host package can be removed

andreasohlund avatar May 29 '11 07:05 andreasohlund

can you elaborate on this... Actually I was trying to add the config file to the outdir of the Project which installed the NServiceBus.Host

Jpattom avatar Jun 02 '11 19:06 Jpattom

When adding a reference to the host the users should not need a NServiceBus.exe.config so we should not add one for them.

Makes sense?

We should add a {The name of the userproject}.dll.config though!

andreasohlund avatar Jun 02 '11 21:06 andreasohlund

I Removed the NServiceBus.exe.config and added the EndpointConfigurationType to app.config But still I am unclear about the application which will actually host the EndPoint Tested both 3.0 and 2.5 by installing to the project No compilation error, but not able to run any executable

Please Test the e-mailed package of NServiceBus.Host waiting for your feedback to upload

Jpattom avatar Jun 09 '11 18:06 Jpattom

EndpointConfigurationType is not needed during normal operations so you can remove that. NServiceBus.Host.exe will host the app. Was that what you where asking? /Andreas

http://andreasohlund.net

http://twitter.com/andreasohlund

Date: Thu, 9 Jun 2011 11:51:20 -0700 From: [email protected] To: [email protected] Subject: Re: [NServiceBus] Remove the NServiceBus.Host.exe.config manipulation (#51)

I Removed the NServiceBus.exe.config and added the EndpointConfigurationType to app.config But still I am unclear about the application which will actually host the EndPoint

Reply to this email directly or view it on GitHub: https://github.com/NServiceBus/NServiceBus/issues/51#comment_1336342

andreasohlund avatar Jun 09 '11 19:06 andreasohlund

As I mentioned in the other issue the Host is good , just remove to content folder and push

andreasohlund avatar Jun 10 '11 04:06 andreasohlund

I saw one issue with the ap.config.transform -> remove the appsettings part, we don't need that for normal operations since NSB scans for IConfigureThisEndpoint

Joseph---

This is not relevant as of now I removed the Content folder itself (no config or sample classes its just NserviceBus.Host.exe from lib)

andreasohlund avatar Jun 10 '11 04:06 andreasohlund

I have removed the Content folder but unable to upload the package It is due to the package id was registered under my user id (I removed it may be it will take some more time to get actually removed) by EOD today I may be able to upload

Jpattom avatar Jun 10 '11 04:06 Jpattom

If that won't work, upload with your user to have it temporarily solved http://andreasohlund.net

http://twitter.com/andreasohlund

Date: Thu, 9 Jun 2011 21:44:34 -0700 From: [email protected] To: [email protected] Subject: Re: [NServiceBus] Remove the NServiceBus.Host.exe.config manipulation (#51)

I have removed the Content folder but unable to upload the package It is due to the package id was registered under my user id (I removed it may be it will take some more time to get actually removed) by EOD today I may be able to upload

Reply to this email directly or view it on GitHub: https://github.com/NServiceBus/NServiceBus/issues/51#comment_1339789

andreasohlund avatar Jun 10 '11 05:06 andreasohlund

Turns out that another user has created his own host package , I will contact him and ask him to remove it /Andreas

http://andreasohlund.net

http://twitter.com/andreasohlund

Date: Thu, 9 Jun 2011 21:44:34 -0700 From: [email protected] To: [email protected] Subject: Re: [NServiceBus] Remove the NServiceBus.Host.exe.config manipulation (#51)

I have removed the Content folder but unable to upload the package It is due to the package id was registered under my user id (I removed it may be it will take some more time to get actually removed) by EOD today I may be able to upload

Reply to this email directly or view it on GitHub: https://github.com/NServiceBus/NServiceBus/issues/51#comment_1339789

andreasohlund avatar Jun 10 '11 06:06 andreasohlund