Comments (7)
Visual Studio 2022 is needed to use Stride, I think you can get away with just Build Tools 2022 if you don't want to install VS proper.
install of net8 and restart of pc is enough , VS2022 isnt required
from stride.
- run
dotnet --list-sdks
=> needs to contain net8 - restart your pc
from stride.
snippet:
public static IEnumerable<VisualStudioInstance> GetInstances(string workingDirectory)
{
foreach (string dotNetBasePath in DotNetSdkLocationHelper.GetDotNetBasePaths(workingDirectory))
{
VisualStudioInstance instance = DotNetSdkLocationHelper.GetInstance(dotNetBasePath);
if (instance != null)
yield return instance;
}
try{
PackageSessionPublicHelper.FindAndSetMSBuildVersion();
Console.Write("Should not throw");//ok
}
//Note: I tested it on Fedora 39
from stride.
Visual Studio 2022 is needed to use Stride, I think you can get away with just Build Tools 2022 if you don't want to install VS proper.
from stride.
install of net8 and restart of pc is enough , VS2022 isnt required
They do have the SDK installed, it could be deprecated legacy code but Stride checks for MSBuild before showing the above error so I think VS or Build Tools is still required.
from stride.
@MeharDT The method name can be confusing but in practice this method is looking for NET SDK paths, so no, VS is not required for developing games with Stride
from stride.
snippet:
public static IEnumerable<VisualStudioInstance> GetInstances(string workingDirectory) { foreach (string dotNetBasePath in DotNetSdkLocationHelper.GetDotNetBasePaths(workingDirectory)) { VisualStudioInstance instance = DotNetSdkLocationHelper.GetInstance(dotNetBasePath); if (instance != null) yield return instance; }try{ PackageSessionPublicHelper.FindAndSetMSBuildVersion(); Console.Write("Should not throw");//ok } //Note: I tested it on Fedora 39
Fair enough, we can probably simplify the method if that's the case. I suspect much of it is probably deprecated legacy code.
@mgbdevp did a restart solve your issue?
from stride.
Related Issues (20)
- Empty classes break the editor instantiation dropdown HOT 2
- Effect Compiler/User Settings missing in Project property grid in the editor
- Android 13+ Bluetooth permission error
- Android 14+ RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED error HOT 2
- Editor bug import asset warning bug within the game project HOT 4
- Pack target crashes
- Error when assets in different projects with the same relative path
- Will using C# attributes to optimize code submissions be accepted? HOT 9
- Grayscale textures are broken in 4.2.0.2188 HOT 9
- When importing multiple assets, copy all assets to resources folder, rather than checking each asset on import.
- A piece of code, I want to know his inner workings
- Shader Key Files not being generated due to System.IO.IOException: Pipe is broken
- Stride Prefab Selecting from array not working HOT 3
- UI page with multiple buttons cause error HOT 1
- Issues with transforms/object selection/camera movement HOT 1
- Test Failures in Stride.Samples.Tests related to Missing Packages
- *.glb asset is imported with broken mesh
- Monitor handle missing with OpenGL
- Cant resize window in OpenGL
- Fullscreen is broken (sometimes?)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stride.