I work with unity and I build a solution for Visual Studio, then I open this solution in visual studio and add a Setup Project (Create a Windows installer project to which files can be added)
When I compile the project I get the .exe and de UnityPlayer.dll, but I need other files are generated
D:\Documentos\Projects\VisualStudioSolution\build\bin\x64\Debug\MyGame.exe is the path to the exe.
When I compile the project I get the .exe and de UnityPlayer.dll, but I need other files are generated
D:\Documentos\Projects\VisualStudioSolution\build\bin\x64\Debug\MyGame.exe is the path to the exe.
You can try to use command line in vs build event.
if not exist MyGame_Data mkdir MyGame_Data
Best regards,
Sam
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
None
0 Points
1 Post
How to create a correct Setup Project
Mar 26, 2020 05:33 AM|RaulAndrade|LINK
Hi,
I work with unity and I build a solution for Visual Studio, then I open this solution in visual studio and add a Setup Project (Create a Windows installer project to which files can be added)
When I compile the project I get the .exe and de UnityPlayer.dll, but I need other files are generated
D:\Documentos\Projects\VisualStudioSolution\build\bin\x64\Debug\MyGame.exe is the path to the exe.
and i need the folder MyGame_Data:
D:\Documentos\Projects\VisualStudioSolution\build\bin\MyGame_Data
How can I add this?
Contributor
3370 Points
1409 Posts
Re: How to create a correct Setup Project
Mar 27, 2020 02:38 AM|samwu|LINK
Hi RaulAndrade,
You can try to use command line in vs build event.
Best regards,
Sam