James_E

James_E

Visual Studio Enterprise 2022 - how to create a Mix project?

I’m using Microsoft Visual Studio Enterprise 2022 (2) Version 17.5.3, and trying to create a Mix project in it. (In case it matters, I’m using Mix 1.14.3 compiled with Erlang/OTP 25.)

I don’t care whether I use cmake, nmake, msbuild, whatever – I only want to configure my codebase such that VS 2022 on my machine (and the machines of any future collaborators) will call mix for the key operations, to be able to press Ctrl_F5 to call mix run, etc., without hacky workarounds like “just rebind your hotkeys to run globally hard-coded commands”.

I’m new to progamming on Windows, and also new to Elixir. I have intermediate experience with Python programming and packaging on Linux. I tried reading this article, but got a bit lost since I’m not clear on how much of what they’re saying is specific to C-like toolchains or depends on tight couplings between the editor and the codebase that simply aren’t possible with languages the editor wasn’t hard-coded to support.

So, what kind of project metadata file can I create to correctly indicate a Mix project to Visual Studio Enterprise 2022, at least just to support basic tasks like compiling and running?

First Post!

James_E

James_E

It looks like I only had a trial license for the Enterprise edition. :see_no_evil:

However, even after downgrading, the problem remains exactly as-described—i.e. (as I initially suspected) this problem is not specific to the Enterprise edition. Could the edit to the title please be reverted?

Where Next?

Popular in Questions Top

vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
New
Werner
Hi, I’m using Ubuntu 18.04 and after updating to OTP-24.0 yesterday i have this warning when I run “mix local.hex”: 14:57:30.512 [warn] ...
New
sacepums
Hey guys. I'm new to elixir and im really stocked about it. But I ran into a bit of problem - I need to convert a date sting, for examp...
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? https://hexdocs.pm/ecto/Ecto.Repo.h...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New

Other popular topics Top

JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New

We're in Beta

About us Mission Statement