Skip to content

How to build using VS 2022 #40

@dogyun-k

Description

@dogyun-k

Hello,

VS 2019 is now out of support. So I can't get VS 2019. ref

But cloudbase-init-installer seems to support VS2019 only.

Can I build project using VS 2022? or Is there any other way to take action.

I modified a little bit referring to this PR (#35) and still can't build with below logs.

4>BeforeBuild:
         C:\Program Files (x86)\WiX Toolset v3.14\bin\Heat.exe dir C:\Python_CloudbaseInit -cg PythonComponentGroup -dr INSTALLDIR -ke -scom -sreg -var var.PythonSourcePath -gg -out Python_tmp.wxs
         Cannot load either file or assembly 'file:///C:\Program Files (x86)\WiX Toolset v3.14\bin\Heat.exe' or any of the files or assemblies that are subordinate to it. An attempt was made to load the program in an invalid format.
            위치: System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder,
         Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
            위치: System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinde
         r, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
            위치: System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean s
         uppressSecurityChecks, StackCrawlMark& stackMark)
            위치: System.Reflection.Assembly.LoadFrom(String assemblyFile)
            위치: Microsoft.Tools.WindowsInstallerXml.Build.Tasks.WixToolTask.ExecuteToolThread(Object parameters

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions