-
-
Notifications
You must be signed in to change notification settings - Fork 920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stride doesn't start #2329
Comments
|
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 |
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.
|
@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 |
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? |
here is the screenshot:
![image](https://private-user-images.githubusercontent.com/113066556/340007061-709607aa-9c75-4e26-9e32-5b385b0cc23f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1MjQ1NzcsIm5iZiI6MTcyMDUyNDI3NywicGF0aCI6Ii8xMTMwNjY1NTYvMzQwMDA3MDYxLTcwOTYwN2FhLTljNzUtNGUyNi05ZTMyLTViMzg1YjBjYzIzZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwOVQxMTI0MzdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zNWFmMGQzZThlMTMzM2I5MWRhNDQwNDhiOTE2ZTY5ODZiNTRjOTBmOWI3NDYzMzcyZTU2ZWM3NzExMWE0OWFkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.a1Zsj7Hx4dbEe7dQtvvM5yEKXAcinUbrzFdw-QkR7n8)
note: i have installed .NET SDK 8.0 and Visual C++ 2015-2019 Redistributable 14.22, didn't installed Visual Studio, do i need Visual Studio for use Stride?
The text was updated successfully, but these errors were encountered: