Comments (6)
Try-and-error resolved the issue for me. My new manifest looks as follows. The difference being that I pulled the assemblyIdentity
out of the dependency surrounding it.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
type="win32"
name="github.com.christianaedev.reapy"
version="0.1.0.0"
/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="asInvoker"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
from goversioninfo.
Could you provide more information on how you are building your application?
from goversioninfo.
Same as the readme,
go generate
go build
from goversioninfo.
I have the same issue.
@josephspurrier please tell me if you need more specific information.
Here is my manifest:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="github.com.christianaedev.reapy"
version="0.1.0.0"
/>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="asInvoker"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
and the error output:
=================
Begin Activation Context Generation.
Input Parameter:
Flags = 0
ProcessorArchitecture = AMD64
CultureFallBacks = en-US;en
ManifestPath = C:\Users\Chris\go\src\github.com.christianaedev\reapy\reapy.exe
AssemblyDirectory = C:\Users\Chris\go\src\github.com.christianaedev\reapy\
Application Config File =
-----------------
INFO: Parsing Manifest File C:\Users\Chris\go\src\github.com.christianaedev\reapy\reapy.exe.
INFO: Manifest Definition Identity is (null).
INFO: Reference: github.com.christianaedev.reapy,type="win32",version="0.1.0.0"
INFO: Resolving reference github.com.christianaedev.reapy,type="win32",version="0.1.0.0".
INFO: Resolving reference for ProcessorArchitecture github.com.christianaedev.reapy,type="win32",version="0.1.0.0".
INFO: Resolving reference for culture Neutral.
INFO: Applying Binding Policy.
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Users\Chris\go\src\github.com.christianaedev\reapy\github.com.christianaedev.reapy.DLL.
INFO: Attempt to probe manifest at C:\Users\Chris\go\src\github.com.christianaedev\reapy\github.com.christianaedev.reapy.MANIFEST.
INFO: Attempt to probe manifest at C:\Users\Chris\go\src\github.com.christianaedev\reapy\github.com.christianaedev.reapy\github.com.christianaedev.reapy.DLL.
INFO: Attempt to probe manifest at C:\Users\Chris\go\src\github.com.christianaedev\reapy\github.com.christianaedev.reapy\github.com.christianaedev.reapy.MANIFEST.
INFO: Did not find manifest for culture Neutral.
INFO: End assembly probing.
ERROR: Cannot resolve reference github.com.christianaedev.reapy,type="win32",version="0.1.0.0".
ERROR: Activation Context generation failed.
End Activation Context Generation.
from goversioninfo.
@ChristianAEDev @josephspurrier #19 (comment) fixes it for me too. Now I just need to figure out how to sign the damn exe.
from goversioninfo.
Thanks for the change, I merged it in. Let me know if you figure out how to sign the exe and I'll add it to the readme for others.
from goversioninfo.
Related Issues (20)
- How to request admin rights? HOT 5
- rsrc merge failure: corrupt .rsrc section HOT 11
- undefined: pe.IMAGE_FILE_MACHINE_ARMNT HOT 4
- 32 bit build request HOT 1
- "goversioninfo": executable file not found in $PATH HOT 5
- Program terminates without errors when using the resource.syso
- Is it possible to speed up the runtime of goversioninfo? HOT 2
- JSON observations HOT 1
- Add Support for ARM builds HOT 3
- make versioninfo.json optional HOT 3
- Cannot specify new icon HOT 5
- dependencies not found (anymore) HOT 2
- Is there any similar library in linux HOT 2
- update go 1.18 - no goversion found HOT 9
- Windows arm64 support HOT 1
- Setting the IDI_APPLICATION icon? HOT 1
- set -file-version from shell
- file-version argument do nothing if other fields has null values? HOT 4
- Unable to set the copyrights symbol "©"
- How to use with Golang 1.22 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goversioninfo.