GithubHelp home page GithubHelp logo

Comments (6)

ChristianAEDev avatar ChristianAEDev commented on September 17, 2024 1

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.

josephspurrier avatar josephspurrier commented on September 17, 2024

Could you provide more information on how you are building your application?

from goversioninfo.

rawsh avatar rawsh commented on September 17, 2024

Same as the readme,

go generate
go build

from goversioninfo.

ChristianAEDev avatar ChristianAEDev commented on September 17, 2024

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.

rawsh avatar rawsh commented on September 17, 2024

@ChristianAEDev @josephspurrier #19 (comment) fixes it for me too. Now I just need to figure out how to sign the damn exe.

from goversioninfo.

josephspurrier avatar josephspurrier commented on September 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.