-
Notifications
You must be signed in to change notification settings - Fork 2k
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
System.MissingMethodException: Method not found: 'System.AppDomainSetup System.AppDomain.get_SetupInformation() #3393
Comments
Are you trying to run 1.5.0/1.5.1 on .NET Core? |
sure |
What version of the net core production environment? |
we have a 2.0 preview which is netcore compatible. But I wouldn't say it is production ready. Our upcoming official 2.0 will be. Are you trying to run Orleans app on net core? |
which version of Orleans are u using? |
Orleans 1.5.1 |
are u trying to run it on Net Core? if yes, then that explains the exception, since 1.5 is not net core compatible |
Orleans.Runtime.Configuration.ConfigUtilities ----[class] |
If you are running on .NET Core, then your option is to try the pre-release version of Orleans 2.0 TP3 available in this feed: https://dotnet.myget.org/gallery/orleans-prerelease |
thankyou |
[2017-09-12 08:44:36.510 GMT 2 INFO 100404 Silo 127.0.0.1:22222] Silo starting with GC settings: ServerGC=False GCLatencyMode=Interactive
[2017-09-12 08:44:37.216 GMT 2 WARNING 100405 Silo 127.0.0.1:22222] Note: Silo not running with ServerGC turned on or with GCLatencyMode.Batch enabled - recommend checking app config : -- and --
[2017-09-12 08:44:37.221 GMT 2 WARNING 100405 Silo 127.0.0.1:22222] Note: ServerGC only kicks in on multi-core systems (settings enabling ServerGC have no effect on single-core machines).
[2017-09-12 08:44:37.226 GMT 2 INFO 100403 Silo 127.0.0.1:22222] -------------- Initializing Primary silo on host chive-PC MachineName CHIVE-PC at 127.0.0.1:22222, gen 242901875 --------------
[2017-09-12 08:44:37.309 GMT 2 ERROR 100105 OrleansSiloHost 127.0.0.1:22222] !!!!!!!!!! ERROR starting Orleans silo name=chive-PC Exception=
Exc level 0: System.MissingMethodException: Method not found: 'System.AppDomainSetup System.AppDomain.get_SetupInformation()'.
at Orleans.Runtime.Configuration.ConfigUtilities.RuntimeVersionInfo()
at Orleans.Runtime.Configuration.ClusterConfiguration.ToString(String siloName)
at Orleans.Runtime.Silo..ctor(SiloInitializationParameters initializationParams)
at Orleans.Runtime.Silo..ctor(String name, SiloType siloType, ClusterConfiguration config)
at Orleans.Runtime.Host.SiloHost.InitializeOrleansSilo()
Exc level 0: System.MissingMethodException: Method not found: 'System.AppDomainSetup System.AppDomain.get_SetupInformation()'.
at Orleans.Runtime.Configuration.ConfigUtilities.RuntimeVersionInfo()
at Orleans.Runtime.Configuration.ClusterConfiguration.ToString(String siloName)
at Orleans.Runtime.Silo..ctor(SiloInitializationParameters initializationParams)
at Orleans.Runtime.Silo..ctor(String name, SiloType siloType, ClusterConfiguration config)
follow config
Exe netcoreapp2.0 Always PreserveNewestcode:
public static int Main(string[] args)
{
int exitCode = StartSilo(args);
private static int StartSilo(string[] args)
{
var config = ClusterConfiguration.LocalhostPrimarySilo();
config.LoadFromFile("OrleansConfiguration.xml");
//config.AddMemoryStorageProvider();
hostWrapper = new OrleansHostWrapper(config, args);
}
The text was updated successfully, but these errors were encountered: