Skip to content
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

Issue with launching sample code (StandAlone server) #33

Closed
Yopt opened this issue Jun 14, 2017 · 4 comments
Closed

Issue with launching sample code (StandAlone server) #33

Yopt opened this issue Jun 14, 2017 · 4 comments
Assignees
Labels

Comments

@Yopt
Copy link

Yopt commented Jun 14, 2017

Dear WireMock team,

there is an issue with launching sample code:
Unhandled Exception: System.TypeLoadException: Could not load type 'WireMock.Settings.FluentMockServerSettings' from assembly 'WireMock.Net, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null'.
at WireMock.Net.StandAlone.StandAloneApp.Start(String[] args)
at WireMock.Net.StandAlone.Program.Main(String[] args)

using System;
namespace WireMock.Net.StandAlone
{
    public class Program
    {
        static void Main(params string[] args)
        {
            StandAloneApp.Start(args);

            Console.WriteLine("Press any key to stop the server");
            Console.ReadKey();
        }
    }
}
@WireMock-Net WireMock-Net deleted a comment from Yopt Jun 14, 2017
@StefH StefH self-assigned this Jun 14, 2017
@StefH StefH added the bug label Jun 14, 2017
@StefH
Copy link
Collaborator

StefH commented Jun 14, 2017

Thanks for reporting. I'll take a look.

@StefH
Copy link
Collaborator

StefH commented Jun 14, 2017

Upgrade WireMock.Net to:
https://www.nuget.org/packages/WireMock.Net/1.0.2.1

@Yopt
Copy link
Author

Yopt commented Jun 15, 2017

@StefH now it`s ok, thank you

@Yopt Yopt closed this as completed Jun 15, 2017
@StefH
Copy link
Collaborator

StefH commented Jun 15, 2017

I've also uploaded a new StandAlone NuGet which does reference this fixed WireMock.Net dependency.

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

No branches or pull requests

2 participants