Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

Topshelf 4.0 was released #3

Open
zendever opened this issue May 9, 2016 · 12 comments
Open

Topshelf 4.0 was released #3

zendever opened this issue May 9, 2016 · 12 comments

Comments

@zendever
Copy link

zendever commented May 9, 2016

Support for < 4.5.2 was removed, so need a new build that supports latest Topshelf. Pull Request coming, except that I couldn't sign the package when testing.

@JardarM
Copy link

JardarM commented Jan 6, 2017

Any plans to fix this?

@Thanood
Copy link
Owner

Thanood commented Jan 6, 2017

Sorry, totally forgot about this. I've had problems targetting multiple framework versions last time.
I'll try to create a new version next week (busy atm)..

@JardarM
Copy link

JardarM commented Jan 6, 2017

Perfect. I had no problem building from source, so I got it working at least. But it would be nice to reference the nuget packet instead.

@Thanood
Copy link
Owner

Thanood commented Jan 7, 2017

I'm not sure if I should bump the major version.
There's clearly no additional features or breaking changes but as the OP says support for .Net < 4.5.2 was removed so this would at least be an indicator for users of .Net < 4.5.2

Any thoughts?

@JardarM
Copy link

JardarM commented Jan 7, 2017 via email

@Thanood
Copy link
Owner

Thanood commented Jan 7, 2017

That would indeed make sense, especially if other TopShelf.*log* libraries do the same.
Good idea, thanks! 👍

@Thanood
Copy link
Owner

Thanood commented Jan 13, 2017

Updated the NuGet package. Version number is now tied to TopShelf major version.

@JardarM
Copy link

JardarM commented Jan 13, 2017

Hi

Did you test it with Topshelf v 4.0.3?

I get the following error on the line:
x.UseCommonLogging

Severity Code Description Project File Line Suppression State Error CS0012 The type 'HostConfigurator' is defined in an assembly that is not referenced. You must add a reference to assembly 'Topshelf, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'. Nortek.SeaServer.Decoder.Console C:\Dev\Code\NDSGit\source\Nortek\SeaServer\Decoder\Console\Program.cs 17 Active

@Thanood
Copy link
Owner

Thanood commented Jan 13, 2017

Actually I did test it with Topshelf v4.0.3.72..
I've used the TownCrier example from the docs (https://topshelf.readthedocs.io/en/latest/configuration/quickstart.html).

Maybe something is different if I pull from NuGet, I'll test again.

@Thanood
Copy link
Owner

Thanood commented Jan 13, 2017

Sorry, I forgot half about that stuff already and set the Topshelf reference to "specific version". 😕
Updated to a new version. It should work now.

@JardarM
Copy link

JardarM commented Jan 13, 2017 via email

@Thanood
Copy link
Owner

Thanood commented Jan 13, 2017

I hope it works when Topshelf v4.0.4 is released. 😃
Never experienced that problem with the 3.x versions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants