![how to run windows application on mac osx with mono how to run windows application on mac osx with mono](https://i.imgur.com/mzhqimJ.png)
- HOW TO RUN WINDOWS APPLICATION ON MAC OSX WITH MONO HOW TO
- HOW TO RUN WINDOWS APPLICATION ON MAC OSX WITH MONO INSTALL
- HOW TO RUN WINDOWS APPLICATION ON MAC OSX WITH MONO UPDATE
Start your application and note the port used on localhost.Add a new sample WebApi controller named TestController.cs.
![how to run windows application on mac osx with mono how to run windows application on mac osx with mono](https://docs.unity3d.com/2021.2/Documentation/uploads/Main/macos-target-architecture.png)
Let's add a new WebApi controller to ensure that we can invoke the RESTful service. Now your application should run and the Home view should render.
![how to run windows application on mac osx with mono how to run windows application on mac osx with mono](https://i.ytimg.com/vi/QWolrLRJ-hc/mqdefault.jpg)
HOW TO RUN WINDOWS APPLICATION ON MAC OSX WITH MONO UPDATE
To fix this error we need to update the versions referenced in the Views > Web.config file as follows: The located assembly's manifest definition does not match the assembly reference. Parser Error Message: An error occurred creating the configuration section handler for /host: Could not load file or assembly ', Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. If you try to run your application now, you will see this error: WebApiConfig.Register(GlobalConfiguration.Configuration) We need to update the code: //GlobalConfiguration.Configure(WebApiConfig.Register) We need to update the code in App_Start > WebApiConfig.cs.Ĭonfig.SuppressDefaultHostAuthentication() Ĭ(new HostAuthenticationFilter(OAuthDefaults.AuthenticationType))
![how to run windows application on mac osx with mono how to run windows application on mac osx with mono](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2021/05/graphical-user-interface-text-description-automa.png)
I got an error that stated I needed to re-install Newtonsoft.Json.Replace any references with targetFramework="net40" Open nfig and search the file for targetFramework="net45".Select option A to overwrite _ViewStart.cshtml.
HOW TO RUN WINDOWS APPLICATION ON MAC OSX WITH MONO INSTALL
HOW TO RUN WINDOWS APPLICATION ON MAC OSX WITH MONO HOW TO
This is the first of a three part series to detail how to use Mono to host ASP.NET applications on Linux and Mac OSX. Mono is making this possible and their latest 3.12.0 release is a great indicator of the possibilities that Mono is bringing to. NET programs on Mac and Linux environments. We could easily host one of these solutions on a Windows environment, but we wanted to try hosting on Linux just for fun.įor the past few months we have been anxiously anticipating the day when you can run. NET so we chose to implement a Web Api ASP.NET MVC project for our RESTful HTTP service. We are in the process of prototyping a new product that will require a REST service. At Bloomspire we are constantly brainstorming on what we can bring to the marketplace to improve business efficiency.