I created a new Asp Net Core application. I would like to publish it to linux and mac. I am doing this development on a Mac using Visual Studio 2017 for Mac Professional. When I right click on my project there is a Publish item in the popup menu. Under that menu item there is only one option: Publish to Azure. Recently, Visual Studio for Mac v7.6 has been released. The focus in the new version is improved reliability in all the aspects of the product, while many changes and fixes have been added with a To publish a function, simply right-click on the project name and select Publish > Publish to Azure. I don't see a way to add new publish items anywhere. I checked the build menu and configuration menu. I checked the project options. Where can I add new publish items for this menu? Do I have to go to the command line and manually publish ever time for linux and mac? Hi tpitman, Welcome to the MSDN forum and thank you for your feedback. >>Under that menu item there is only one option: Publish to Azure. Refer to your description, I found it seems it is by design in the Visual Studio for Mac version, please have a look at that other community member reported to the VS Product Team before.: Thank you for your feedback! Azure is the option currently available. If you'd like to submit a suggestion for improvement, please do so at After research, I found one existing user voice like this: and it matches your requirement, you can vote it to make the VS Product Team to notice this suggestion. If not, you can also share your ideas in there. Sorry for this inconvenience. Best regards, Sara MSDN Community Support Please remember to click 'Mark as Answer' the responses that resolved your issue, and to click 'Unmark as Answer' if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]. Day 3 - Running a.NET Core app on a Mac 3 minute read Disclaimer: I am not on the.NET Core Team. I used the tools available publicly and have no insights into the future of.NET Core. It looks very bright though.:) The working source code for this project can be found. Intro A complete list of post in this series is included below: • • • • • • • • • • In this post, we’re going to look at running the app from the command line and then the Mac. Running the App in the Windows Command Prompt While you can obviously run the app inside of Visual Studio with the F5 command. You should also know that you can run the app inside of the console. Before we begin, make sure you have the app found. ![]() ![]() After opening the app or downloading it, open the folder containing the project in the command prompt. You can run your application here by simply typing. 06:50 PM 1,417 NetCoreConsoleApp.deps.json 02:52 PM 6,144 NetCoreConsoleApp.dll 02:52 PM 13,824 NetCoreConsoleApp.pdb 06:50 PM 125 NetCoreConsoleApp.runtimeconfig.json 10:06 PM 468,480 Newtonsoft.Json.dll 10:14 PM 29,632 System.Runtime.Serialization.Primitives.dll 6 File(s) 519,622 bytes 2 Dir(s) 74,699,058,176 bytes free Take note that the dlls listed below are related to the package reference that we added in the. • Newtonsoft.Json.dll • System.Runtime.Serialization.Primitives.dll This only leaves the NetCoreConsoleApp.dll which is the Console application that we can run on a Mac (or any other platform that supports.NET Core). Running the app on a Mac Finally! It is about time you might say. Before you can run the app on your Mac, you’re going to need to head back over to the and install OpenSSL and then the SDK (or runtime) if you remember the difference from. To run this on your Mac, you’ll need to copy the ‘publish’ folder to your Mac. Then open Terminal and you can run the app by just typing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |