Can't GenerateProjectFiles.bat

when i right click on my uproject i don’t get the
“This is now done by right clicking on the .uproject file and selecting Generate Visual Studio Files.”
as stated in the update note

here’s a pic, please excuse the german windows

build #1808360
have VS2012 express with updates installed

Hi George, we do apologize for the headache. We’ve only been able to reproduce this issue once, and it might be caused by having 2 different beta versions installed side-by-side at one time. The program association was then unregistered when one of the betas was uninstalled.

We’re currently working on a final fix, but the following work-around should work…

First, please verify that the uproject file is associated with “UE4” and is set to always use it by right clicking → open with. If this is all correct (which it probably is), then try the following…

  • On a fresh computer (no betas installed), install beta3 in the default Program Files location
  • Install beta4 to a different location (can be in a subfolder within Program Files)
  • Uninstall beta3
  • Right click your uproject file → open with → choose UE4 and check “always use the selected program…”

This worked in our single repro case and hopefully for you too. As for the headaches with code projects. We understand the frustration and are trying to check in all painful code changes early on to get it out of the way. While there are always engine changes that require updates in personal code projects, these should be greatly reduced over time.

sorry still no joy, the only option i now have is to use build CL1761932 to create blank projects for all my test/main projects then migrate the content to these blanks and hope the content stays linked together.

to be honest i think you should look at other options to generate to code files, relying purely on a right click menu seems to be very limited when you consider the amount of junk that other programmes put there. Please remember that most Rocket/UDK users don’t have pure dev computers

The intent is to allow programmers easy access to the sln regeneration option as it’s used quite frequently. We’re very open to suggestions that would allow users flexibility and usability.

As for your original problem - do you remember if any beta (previous or current) was saved to a specific folder other than the root Program Files directory? It might be that the fix above only works when using that original location. Our only repro case has since been fixed so we can’t verify that that’s the case.

i understand your trying to make things easier for us, i just don’t understand why i don’t get the right click option, maybe because i’m using VS 2012 Express !!!

i always install Rocket to D:\Rocket due to the fact of problems with UDK and the Windows UAC in the past by other users.

i’ve tried editing the bat file to point to the unrealbuildtool which ran fine, i’ve copied the new UE4.natvis over then i do a re-build in VS and this is the errors i get

Error	1	error LNK1104: cannot open file 'atls.lib'	C:\Users\Geodav\Documents\Rocket Projects\UT40kGame\Intermediate\ProjectFiles\Targets\LINK	UT40kGame (Build and Run\UT40kGame)
Error	2	error : Failed to produce item: C:\Users\Geodav\Documents\Rocket Projects\UT40kGame\Binaries\Win64\UT40kGame.exe	C:\Users\Geodav\Documents\Rocket Projects\UT40kGame\Intermediate\ProjectFiles\Targets\ERROR	UT40kGame (Build and Run\UT40kGame)
Error	3	error MSB3073: The command ""D:\Rocket\Engine\Binaries\DotNET\UnrealBuildTool.exe" UT40kGame Win64 Development "C:\Users\Geodav\Documents\Rocket Projects\UT40kGame\UT40kGame.uproject" -rocket -clean
"D:\Rocket\Engine\Binaries\DotNET\UnrealBuildTool.exe" UT40kGame Win64 Development "C:\Users\Geodav\Documents\Rocket Projects\UT40kGame\UT40kGame.uproject" -rocket" exited with code 1.	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets	43	5	UT40kGame (Build and Run\UT40kGame)

this is the output it shows
1>------ Skipped Rebuild All: Project: UT40kGame (UT40kGame\UT40kGame), Configuration: BuiltWithUnrealBuildTool Win32 ------
1>Project not selected to build for this solution configuration
2>------ Rebuild All started: Project: UT40kGame (Build and Run\UT40kGame), Configuration: Development x64 ------
2> Parsing headers for UT40kGame
2> Code generation finished for UT40kGame and took 11,634
2> rc.exe PCLaunch.rc
2> Module.UT40kGame.cpp
2> UELinkerFixups.cpp
2> link.exe UT40kGame.exe
2> RocketLib.lib(framing.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
2>LINK : fatal error LNK1104: cannot open file ‘atls.lib’
2> -------- End Detailed Actions Stats -----------------------------------------------------------
2>ERROR : UBT error : Failed to produce item: C:\Users\Geodav\Documents\Rocket Projects\UT40kGame\Binaries\Win64\UT40kGame.exe
2> Cumulative action seconds (4 processors): 0,00 building projects, 16,77 compiling, 0,00 creating app bundles, 0,00 generating debug info, 14,73 linking, 0,00 other
2> UBT execution time: 55,52 seconds
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets(43,5): error MSB3073: The command ““D:\Rocket\Engine\Binaries\DotNET\UnrealBuildTool.exe” UT40kGame Win64 Development “C:\Users\Geodav\Documents\Rocket Projects\UT40kGame\UT40kGame.uproject” -rocket -clean
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets(43,5): error MSB3073: “D:\Rocket\Engine\Binaries\DotNET\UnrealBuildTool.exe” UT40kGame Win64 Development “C:\Users\Geodav\Documents\Rocket Projects\UT40kGame\UT40kGame.uproject” -rocket” exited with code 1.
========== Rebuild All: 0 succeeded, 1 failed, 1 skipped ==========

Just to mention that I meeting a similar error about the “atls.lib” file missing. I can’t compile my project (which was created with the new beta).

Hi all, ScottS looked into the missing alts.lib error. Please see the following post:
https://rocket.unrealengine.com/questions/4664/cant-compile-c-missing-altslib.html

As for the missing right click menu, we’d like to check if you have a few registry keys set.

  • Launch regedit.exe (do a windows search to find)
  • Navigate to HKEY_CLASSES_ROOT\.uproject and make sure (default) is set to Rocket.ProjectFile
  • Navigate to HKEY_CLASSES_ROOT\Rocket.ProjectFile\shell\rungenproj\command and make sure (default) is set to "D:\Rocket\Engine\Build\BatchFiles\RocketGenerateProjectFiles.bat" "%1"

.uproject i think i’ve set right was on default
Rocket.ProjectFile was set correctly

still no right click option so maybe i set the .uproject thing wrong.

i removed the project from the build&run in the solution explorer and now it just skips it completely and the module doesn’t get updated, i’ll give that command line a go

ok my bad got the right click working now but still can’t compile :frowning:

tried that from the other post no joy, ho well back to the migrate tool

btw the project just had the basic code created via the project manager, so not much lost, i’m more concerned that after 2 months of work people would lose access to their projects unless they hold the old beta installers. i do this as i’ve learned the hard way but some may not

Hey George,

If you haven’t already, try uninstalling Rocket then reinstalling Rocket Beta 4.

Best Regards,

Ryan

didn’t think it would do any good but i tried it no difference.
i even un-installed winrar to free up some room on the right click menu still nothing.
i’ll be honest with you guys this is starting to annoy me big time, with every new build i have problems just accessing my projects due to this problem with the code