I tried some stuff with anchor today but I kept running into issues. I couldnt find a solution for this besides using wsl:
PS E:\Programming\solana\mysolanaapp> anchor build
Failed to obtain package metadata: `cargo metadata` exited with an error: error: failed to load manifest for workspace member `\\?\E:\Programming\solana\mysolanaapp\programs\*`
Caused by:
failed to read `\\?\E:\Programming\solana\mysolanaapp\programs\*\Cargo.toml`
It happens when I run anchor build or anchor test. Is there any way to fix this or should I just use wsl? I am currently using Windows 10 and the newest versions of anchor, rust and solana cli (just installed them yesterday)
Here is my cargo.toml:
[package]
name = "mysolanaapp"
version = "0.1.0"
description = "Created with Anchor"
edition = "2021"
[lib]
crate-type = ["cdylib", "lib"]
name = "mysolanaapp"
[features]
no-entrypoint = []
no-idl = []
no-log-ix-name = []
cpi = ["no-entrypoint"]
default = []
[dependencies]
anchor-lang = "^0.24.2"
Everything else in the code is just the default anchor creates. The name of my app is mysolanaapp so no spaces.