Coder Social home page Coder Social logo

Stride doesn't start about stride HOT 7 OPEN

mgbdevp avatar mgbdevp commented on August 16, 2024
Stride doesn't start

from stride.

Comments (7)

IXLLEGACYIXL avatar IXLLEGACYIXL commented on August 16, 2024 2

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.

IXLLEGACYIXL avatar IXLLEGACYIXL commented on August 16, 2024 1
  1. run dotnet --list-sdks => needs to contain net8
  2. restart your pc

from stride.

Jklawreszuk avatar Jklawreszuk commented on August 16, 2024 1

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.

MeharDT avatar MeharDT commented on August 16, 2024

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.

MeharDT avatar MeharDT commented on August 16, 2024

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.

MSBuildInstance = MSBuildLocator.QueryVisualStudioInstances().FirstOrDefault(x => isNETCore

from stride.

Jklawreszuk avatar Jklawreszuk commented on August 16, 2024

@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.

MeharDT avatar MeharDT commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.