How to let JetBrains Rider to open solution located on shared files? - windows

I'm using Parallels Desktop on Mac, having a Windows 10 virtual machine on it, but I need to code on Windows to do some .Net related projects.
In order not to put too much load on VM, I want to create a git repo on Mac and open it on VM.
I'm currently using JetBrains Rider on Windows, but the problem is I cannot open the solution which located in Mac. But I can achieve this using Visual studio 2017. (but its too laggy, so I prefer not to use it)
Is there a way to achieve this?

#jason-xiao Currently Rider doesn't support open solution from UNC path. But you can attach UNC path as a network drive in your parallels VM then open solution from a network drive in Rider.

Related

Can I install Visual Studio without Admin rights?

I use a machine where I don't have administrator rights. I've been able to run programs without admin rights by extracting the program's .zip file to a directory I have created on my desktop. However, I can't find such a .zip file for Visual Studio.
Is there a way to install Visual Studio Community Edition without administrator rights?
Practically no. Visual Studio (Express and above, excluding VS Code) consists of multiple components that must be installed as admin, and will be required for the app you're debugging to be available as system-wide component. It might be possible to use ThinApp or its equivalent, but ThinApp can't even work with VS 2010 and it was by far the best of its class.
A (resource intensive) alternative to get VS on any PC will be packaging a VM with VS installed, either creating one yourself or get a ready-made ones. VirtuaBox is available as portable fork if you can't even get Hyper-V tools installed. But this still require kernel drivers installation, which means at least one-time admin access. Depending on your internet connection & budget, it might be more practical to setup a VPS with VS installed, then remote there.
Basically, youre going to need to download an iso of windows, then download QEMU, and run it as invoker by doing that batch file thing (https://techcult.com/how-to-install-software-without-admin-rights/). Set it to anywhere, and then figure out how to boot it to QEMU cause I have absolutely no idea how (ive only done it with Kali Linux). and just install VC on there. Sorry about being so vague.
There is no way to install or use Visual Studio on Windows without admin rights. You can either use a different program to write your code in and then compile using a different compiler. Or use qemu (since it does not require admin rights) to run a windows virtual machine.

Androdi Studio: dev environments on different machines use different sdk path

Due to my current situation, I am using dropbox to house all of my Android Studio projects. I'm a solo developer, therefor multiple people writing one file isn't an issue. I can't afford a private GitHub repo atm, and don't want to 'release' the code I work on at the moment.
However, I use my desktop (windows 7) and my laptop (ubuntu 16.04) for dev. For these reasons, I used dropbox.
When I last open a project in one dev environment, and then open it again in the other, the sdk path changes (obviously). On windows it is /users/ME/etc, and on ubuntu it's something different. When I open the project, Android Studio automatically detects the correct sdk path, and says it will modify the local resource.
If I was using GitHub I could just add ./idea to my ignore file, and pushing and pulling would be a breeze.
Is there a way I can solve this minor annoyance using my current setup?
Solution 1: Use Bitbucket instead Github. Bitbucket allows you to have private Git repositories for free.
Solution 2: Put your Android SDK on a NAS (Network Attached Disk) and provide in "Settings" that unique network SDK path to both Android Studio's enviroments (Ubuntu and Windows).
Solution 3: Put your Android SDK on a USB stick or USB disk and plug and provide in "Settings" that unique SDK path to both Android Studio's enviroments (Ubuntu and Windows).

Installing Visual Studio on another drive

I will be getting another pc where drive C: will be SSD and the rest of the drives HDD. The SSD size is significantly smaller so I don't want it to get full from just codes and Visual Studio stuff.
I came across this guide:
http://www.placona.co.uk/1196/dotnet/installing-visual-studio-on-a-different-drive/
but at the bottom, it says that it's not a permanent solution because updates will still get installed in drive C:
I haven't tried this yet but:
does the latest version of visual studio allow you to install on another drive?
would it be better if I create a VM (on another drive) then install Visual Studio there? any downside on developing while in a VM?

Building app from shared folder in Visual Studio Express 2012

I'm trying to build an app from a shared folder in Visual Studio Express 2012.
While building an app from a local folder works just fine, the shared one doesn't. These are the errors thrown when building:
Error 1 Error : DEP0700 : Registration of the app in the layout folder "\VBOXSVR\Repos\App1\App1\bin\Debug\AppX" failed. App1
Error 2 error 0x80073D55: Recovering DeploymentRequest from file C:\ProgramData\Microsoft\Windows\AppRepository\7b7fb2d4-65eb-45d3-808c-3e42a6eacbb4_S-1-5-21-1933965384-392669828-504697624-1001_1.rslc failed. App1
Instead of using a shared folder in Virtual Box, I've tried to setup a Samba share, which I've mounted as a network drive. Also, I used caspol to make the drive trusted using this technique: http://blog.kowalczyk.info/article/Network-drives-net-security-and-virtualbox.html
My host OS is Max OSX and my guest OS is Windows 8.
I look forward to hearing your suggestions. Thank you!
It's funny how you often find the solution right after you ask the question ;-)
Here's the solution to anyone else interested: http://connect.microsoft.com/VisualStudio/feedback/details/106132/building-fails-when-build-directory-is-on-a-network-drive

How to get vmware to run a program within MAC OS X via script or alias

On my Mac OS X computer, I am trying to setup a script that will open a particular program ( Visual Studio ) that resides within VMWare.
More specifically, when I run the script, I want Visual Studio application to open a specific file that would passed in as a parameter to the script. This file would be shared and accessible to VS.
Any ideas?
Complex solution - There are scripting interfaces to VMware (at least the server versions)
Simple solution - have the visual studio in your Windows (in the VM) startup folder, and have it set to open the last solution. If you need to change the solution you can have it point to a link on the Mac filesystem and change where the link points before starting VM.
You might also want to ask on serverfault

Resources