Facepunch / sbox-issues

162 stars 11 forks source link

.sln file not generating on staging build #4758

Open brooje opened 5 months ago

brooje commented 5 months ago

Describe the bug

Whenever I create a new project on the staging beta, a .sln file is not created. On the bottom of the editor, it shows the following warning; Exception when generating projectname.sln (Value cannot be null. (Parameter 'bytes')) A .sln file will not be created, and Visual Studio 2022 states that it cannot be found when trying to open the solution.

To Reproduce

Enter the Staging beta on steam. Try to create a new project through the welcome screen.

Expected behavior

The expected result should be that a .sln file is created with no errors or warnings..

Media/Files

image

Additional context

I'm running on Windows 10.

DrewBritt commented 5 months ago

https://github.com/Facepunch/sbox-issues/issues/4754#issuecomment-1937863909

garrynewman commented 5 months ago

We could really do with handling this error better.