visual studio 2017 - UE4: Cannot create c++ project -



as mentioned i'm using unreal engine 4 (v4.15.1).
now, when want create new c++ project (basic code) begins generate code fails compile it. i'm using visual studio 2017 supported (ue4 staff confirmed that).

running c:/program files/epic games/ue_4.15/engine/binaries/dotnet/unrealbuildtool.exe test development win64 -project="d:/projects/unrealprojects/test/test.uproject" -editorrecompile -progress -nohotreloadfromide error: system.notsupportedexception: das angegebene pfadformat wird nicht unterst?tzt. //translates 'the given path format not supported' bei system.security.permissions.fileiopermission.emulatefileiopermissionchecks(string fullpath) bei system.security.permissions.fileiopermission.quickdemand(fileiopermissionaccess access, string fullpath, boolean checkforduplicates, boolean needfullpath) bei system.io.fileinfo.init(string filename, boolean checkhost) bei unrealbuildtool.unrealbuildtool.loadubtmakefile(filereference makefilepath, filereference projectfile, string& reasonnotloaded) bei unrealbuildtool.unrealbuildtool.runubt(string[] arguments, filereference projectfile) 

now when click on 'open in visual studio' opens visual studio , imports ue4 libarys doesn't else.
when tried build new c++ project again, works without problems (vs asks whether should upgrade project 2017 or not).
installed c++ 2015 toolchain, incredibuild, , windown 8.1 sdk.
when create new blueprint project , add c++ class there, fails compile.

running c:/program files/epic games/ue_4.15/engine/binaries/dotnet/unrealbuildtool.exe  -projectfiles -project="d:/projects/unrealprojects/test/test.uproject" -game -rocket -progress (...) logvsaccessor:warning: couldn't access visual studio recompiling test... launching unrealbuildtool... [c:/program files/epic games/ue_4.15/engine/binaries/dotnet/unrealbuildtool.exe test -module test win64 development -editorrecompile -canskiplink "d:/projects/unrealprojects/test/test.uproject" (...)  error: couldn't find target rules file target '-canskiplink' in rules assembly 'ue4rules, version=0.0.0.0, culture=neutral, publickeytoken=null'. location: c:\program files\epic games\ue_4.15\engine\intermediate\build\buildrules\ue4rules.dll] 

thank in advance!

try making empty blueprint project , adding c++ class via editor's file menu, opening solution in vs , compiling. work?

edit: after googling (ue4 "-canskiplink"), try making new project without name test. ubt build mechanism ue4, , since previous build of code project failed, there may old ubt files hanging around; when made new bp project, ubt didn't see different project , assumed still compiling code project. think. try new bp project different name.

source: https://answers.unrealengine.com/questions/571511/couldnt-find-target-rules-file-for-target-canskipl.html


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -