I am developing .net applications on a mac using parallels where I have a windows VM and all my .net tooling.
now that visual studio 2017 can run on mac, would i be able to eliminate my method and run visual studio direct on my mac and seamlessly be able to move my code over to the mac version and compile and develop asp.net web applications?
I am only worried about web applications.
Related
I have a macbook M1PRO, and I need to debug .net2.0 and .net 3.5 codes in its Windows11 virtual machine, but I can't set up a code runtime environment。
I have installed .net framework 3.5 in the "enabling or disabling windows features" in the control panel, but its existence is still not recognized in visual studio.
enter image description here
enter image description here
If I don't use a simulated x64 virtual machine or another x64 computer, I just want to run all programs on one computer, how can I solve it?
If you create a x64 VM, then you have to install windows 11 (not arm based version).
then install visual studio for windows. (again, the non arm version).
At that point, you can develop with .net framework 2.0-4.8.
You can't create, run, use, enjoy, develop .net framework asp.net applications unless you running a windows VM, and using the windows version of VS.
You can ONLY run (and develop) .net core applications on arm based, or other computers, and NOT .net framework applications.
given that you looking to develop (or work on) a x64 .net framework, and quite a older version?
Then you have to create a x64 (not arm) based VM, and install the x64 bit version of windows (again, NOT the arm based version of windows). You then install Visual Studio for windows.
The above will thus allow you to develop and work on .net framework applications, such a as asp.net .net framework based application.
Since I am planning to buy a new MacBook Pro (2017) and currently working on a Windows 10-device on a ASP.NET MVC (Not ASP.NET Core MVC) project for my internship, I was wondering if it is possible to continue developing the same project in Visual Studio for Mac.
To put it in other words: Is it possible to develop ASP.NET MVC applications in Visual Studio for Mac?
I tried to Google this, but I could only find ASP.NET Core MVC projects being discussed for VS for Mac. The current project is NOT a Core project, but just an ASP.NET project.
I really don't want to install Windows either on my MacBook Pro or on an external drive.
As you've correctly surmised, it's not possible to build ASP.NET MVC projects on the Mac that aren't based on .NET Core or Mono. So if your project is currently targetting ASP.NET on .NET Framework 4.x, the you'll either have to stay on Windows:
Use Bootcamp to run Windows on your Mac
Use a Virtual Machine to run Windows inside Mac
Use Parallels Desktop or VMWare Fusion to run windows applications inside your Mac
Or you can convert your application over to Mono or .NET Core, depending on your dependencies that may be relatively easy, or very hard or anywhere in between.
You could also decide to use Visual Studio Team Services to build your code on a Windows Hosted agent and edit the sources on yoru mac, you'd have to forego the ability to compile or run your code locally.
You can also decide to "rent" a virtual machine in Azure (maybe your have MSDN credits you could use for this purpose?) and remote desktop to that machine to work on your project.
I have developed an asp.net web application in Visual Studio 2008
with dotnet framework 2.
I hosted this application.
I tried to run this application on client machine(through browser)
which has windows 8, but my application failed to run.
Things i did to resolve the above issue:
On my client machine i installed dotnet framework 2.0, my application started
working.
But as this is not a genuine soltion as i cant install the framework on all the client machines.
Now, again I uninstalled the dotnet framework 2.0 from the same machine, the application
was still working fine(running through the browser)
If assume that some depandant files are not uninstalled by the Operating system itself.
Then i upgraded my application to framework 4.5. Still i found that application is not working
on windows 8.
So is there still some dependancy on framework 2.0?
do i need to add some additional dlls when i host the application so that it runs on
windows 8 without any dependancy on the system configuration?
Do i need to make any specific changes in the web.config?
Also note that, on the same client machine which as windows 8, i installed Visual Studio 2013,
have source code there, and when i run the same application through visual studio runtime,
my application runs just fine.
I am very new to asp.net core 1.0. I want my services to built on windows platform and host/run on linux or mac. What are the possible ways to do the same ?
Can I work on a project stored in Visual Studio on Line using Eclipse on OSX?
as far as I know. Visual Studio online is a browser based environment, so if your question is if you can use it to develop .NET on mac - as an environment - I think it would work. But you won't be developing MAC apps on that.
do you with to develop MAC OS applications using .NET? if so, have you tried Mono Project (http://www.mono-project.com/)?
btw, I think mono is now Xamarin (http://xamarin.com/)