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

Compile error #4827

Closed
1 task done
zxcvqwerasdf opened this issue Jun 9, 2024 · 2 comments
Closed
1 task done

Compile error #4827

zxcvqwerasdf opened this issue Jun 9, 2024 · 2 comments

Comments

@zxcvqwerasdf
Copy link

Is there an existing issue for this?

  • I have searched both open/closed issues, no issue already exists.

CefSharp Version

124.3.80

Operating System

Windows 10

Architecture

x64

.Net Version

.net 6

Implementation

OffScreen

Reproduction Steps

Trying to compile

Expected behavior

Success compile

Actual behavior

1>LINK : fatal error LNK1104: cannot open file 'obj.netcore\x64\Release\CefSharp.Core.Runtime.netcore.sourcelink.json'
1>Done building project "CefSharp.Core.Runtime.netcore.vcxproj" -- FAILED.

Regression?

No response

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

Yes using WPF/OffScreen command line args

Other information

No response

@zxcvqwerasdf
Copy link
Author

Full output:

1>------ Build started: Project: CefSharp.Core.Runtime.netcore, Configuration: Release x64 ------
1>C:\Users\Matsumoto\Desktop\CefSharp-124.3.80\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets(24,5): warning : Unable to locate repository with working directory that contains directory 'C:\Users\Matsumoto\Desktop\CefSharp-124.3.80\CefSharp.Core.Runtime'.
1>C:\Users\Matsumoto\Desktop\CefSharp-124.3.80\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets(52,5): warning : Source control information is not available - the generated source link is empty.
1>   Creating library bin.netcore\x64\Release\CefSharp.Core.Runtime.lib and object bin.netcore\x64\Release\CefSharp.Core.Runtime.exp
1>LINK : /LTCG specified but no code generation required; remove /LTCG from the link command line to improve linker performance
1>LINK : fatal error LNK1104: cannot open file 'obj.netcore\x64\Release\CefSharp.Core.Runtime.netcore.sourcelink.json'
1>Done building project "CefSharp.Core.Runtime.netcore.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
========== Build completed at 20:34 and took 01,488 seconds ==========

@zxcvqwerasdf
Copy link
Author

Delete all sourcelink related settings in .targets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant