Giter VIP home page Giter VIP logo

Comments (7)

dpaulino avatar dpaulino commented on August 19, 2024

I tried creating a yaml file, but it's failing. Here's the file: https://gist.github.com/dpaulino/2247ebb10f0bccadbdfb314bc0770957

And here's the error: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\DesktopBridge\Microsoft.DesktopBridge.targets(518,5): Error : Could not find a recipe file for the referenced UWP application at ''. Please build the project.

Would be great to hear from someone at Microsoft about this asap!

from msix-docs.

dpaulino avatar dpaulino commented on August 19, 2024

Any recommendations?

from msix-docs.

pducolin avatar pducolin commented on August 19, 2024

I think we have the same issue MicrosoftDocs/windows-dev-docs#2090

from msix-docs.

pducolin avatar pducolin commented on August 19, 2024

Here's Powershell commands I tried:

  • msbuild .<solution_name>.sln /t:Clean,Build /p:Configuration=Release /p:Platform=x86 /p:DefineConstants=PROD /p:AppxBundle=Never

  • msbuild .<solution_name>.sln /t:Clean,Build /p:Configuration=Release /p:Platform=x64 /p:DefineConstants=PROD /p:AppxBundle=Never

  • msbuild .<solution_name>.sln /t:Clean,Build /p:Configuration=Release /p:Platform=x64 /p:DefineConstants=PROD

from msix-docs.

Huios avatar Huios commented on August 19, 2024

@dpaulino & @pducolin

We have a CI/CD pipeline sample for MSIX here - https://github.com/microsoft/devops-for-windows-apps

You can also have a look at the //Build talk walking through the sample here - https://mybuild.techcommunity.microsoft.com/sessions/77012

Hope this helps.

Tanaka (MSFT)

from msix-docs.

pducolin avatar pducolin commented on August 19, 2024

Hi @Huios , thank you for your link. I could fix the issue by deploying and building only x64 solution, but on the CI I get few errors for error APPX1101: Payload contains two or more files with the same destination path from one UWP component project. The project is referenced by one of the two apps contained in the package project. Duplication seems due to the package project getting output from both referenced project output and contained app's output. This happens only on our CI - using Docker. Locally I can build from command line using msbuild

from msix-docs.

tbolon avatar tbolon commented on August 19, 2024

@Huios This CI/CD pipeline sample should be highlighted in the doc, or listed as "Create a desktop app package from command-line".

from msix-docs.

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.