Skip to content
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

[UE] Bug: UE5.5无法生成VSProject file #1939

Open
3 tasks done
fengzehua opened this issue Dec 6, 2024 · 2 comments
Open
3 tasks done

[UE] Bug: UE5.5无法生成VSProject file #1939

fengzehua opened this issue Dec 6, 2024 · 2 comments
Assignees
Labels
bug Something isn't working Unreal

Comments

@fengzehua
Copy link

前置阅读 | Pre-reading

Puer的版本 | Puer Version

master 24.12.06

UE的版本 | UE Version

5.5

发生在哪个平台 | Platform

Editor(win)

错误信息 | Error Message

Unable to parse F:\HMS\HMS_02\Plugins\Puerts\Source\CSharpParamDefaultValueMetas\CSharpParamDefaultValueMetas.ubtplugin.csproj: EpicGames.Core.CsProjectParseException: Error parsing F:\HMS\HMS_02\Plugins\Puerts\Source\CSharpParamDefaultValueMetas\CSharpParamDefaultValueMetas.ubtplugin.csproj: Unable to parse token '$([System.IO.File]::ReadAllText("$(EngineDir)\Build\Build.version"))'

---> System.Exception: Unable to parse token '$([System.IO.File]::ReadAllText("$(EngineDir)\Build\Build.version"))'

at EpicGames.Core.CsProjectInfo.ExpandProperties(String text, Dictionary`2 properties) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\CsProjectInfo.cs:line 1041

at EpicGames.Core.CsProjectInfo.ParsePropertyGroup(XmlElement parentElement, CsProjectInfo projectInfo) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\CsProjectInfo.cs:line 515

at EpicGames.Core.CsProjectInfo.ParseNode(XmlNode node, CsProjectInfo projectInfo) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\CsProjectInfo.cs:line 366

at EpicGames.Core.CsProjectInfo.TryRead(FileReference file, Dictionary`2 properties, CsProjectInfo& outProjectInfo) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\CsProjectInfo.cs:line 429

--- End of inner exception stack trace ---

at EpicGames.Core.CsProjectInfo.TryRead(FileReference file, Dictionary`2 properties, CsProjectInfo& outProjectInfo) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\CsProjectInfo.cs:line 433

at UnrealBuildTool.VCSharpProjectFile.GetProjectInfo(UnrealTargetConfiguration InConfiguration) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\VisualStudio\VCProject.cs:line 2656

at UnrealBuildTool.VCSharpProjectFile.IsDotNETCoreProject() in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\VisualStudio\VCProject.cs:line 2669

at UnrealBuildTool.VCSharpProjectFile..ctor(FileReference InitFilePath, ILogger Logger, DirectoryReference BaseDir) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\VisualStudio\VCProject.cs:line 2558
Total execution time: 3.95 seconds
Existing C# project F:\HMS\HMS_02\Plugins\Puerts\Source\CSharpParamDefaultValueMetas\CSharpParamDefaultValueMetas.ubtplugin.csproj must contain a Debug configuration

问题重现 | Bug reproduce

UE5.5无法生成VSProject file

@fengzehua fengzehua added bug Something isn't working Unreal labels Dec 6, 2024
@chexiongsheng
Copy link
Collaborator

更新这个commit:51e2d08

1 similar comment
@chexiongsheng
Copy link
Collaborator

更新这个commit:51e2d08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Unreal
Projects
None yet
Development

No branches or pull requests

2 participants