Giter VIP home page Giter VIP logo

devops-for-windows-apps's Introduction

DevOps for Windows Desktop Apps

This repo contains a sample application to showcase best practices when doing DevOps to deploy/update Windows Desktop applications using MSIX. We used this content at //Build 2019 within the session DevOps for applications running on Windows

Azure Dev Ops Pipelines are available at: https://dev.azure.com/devops-for-client-apps/MyWPFApp

CI Build

Build Status

CD - QA (WebApp)

CD

CD - PROD (Blob)

PROD

CD - PROD (Store)

Store

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

devops-for-windows-apps's People

Contributors

microsoft-github-policy-service[bot] avatar microsoftopensource avatar msftgits avatar rido-min avatar ridomin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

devops-for-windows-apps's Issues

Microsoft.NET.Sdk\Sdk\Sdk.NuGet.targets is not found

Hello, local bulid is ok, but I can't build project in Azure Pipelines:

Error MSB4019: The imported project "C:\hostedtoolcache\windows\dotnet\sdk\3.0.103\Sdks\Microsoft.NET.Sdk\Sdk\Sdk.NuGet.targets" was not found. Confirm that the expression in the Import declaration "C:\hostedtoolcache\windows\dotnet\sdk\3.0.103\Sdks\Microsoft.NET.Sdk\Sdk\Sdk.NuGet.targets" is correct, and that the file exists on disk.

Create App Packages->Configure update settings->"Installer Location" ?????

Don't know if this the correct place to post this. I'm on

windows 10 HOME
Version 1903
OS build 18632.778

Using Visual Studio Pro 2019
Version 4.8.03752

image

From screenshot above the Create button is desensitized because I have to enter an Installer Location???? Where is this field documented? What does it mean? Why can I not create the pkg without specifying a location? And WHY isn't there a context sensitive help link describing a required field? This is my first UWP pkg and it's been a frustrating experience.

This app is going to be desktop specific. I thought all pkgs got installed in c:\Program Files????

Choosing a certificate in Visual Studio with the MSIX app manifest

I'm following along in the video, but I'm having trouble seeing an option in Visual Studio that the presenter in the video uses at the 28:00 mark in the video. I'm using Visual Studio Enterprise 2019 version 16.1.1 with .NET Framework 4.7.03190. My problem is when I open the appxmanifest display > click the Packaging tab > click Choose Certificate > Select a Certificate > I do not see the More choices selection option as seen in the video. I've been looking through documentation but cannot see how to enable this option. I'd like to be able to select a self-signed certificate. Please advise.

Screen capture from video:
image

Screen capture from my Visual Studio:
image

Issue with EXCEPTION System.FormatException

Account Id:
Application version: 1.1.13.0
Auth user Id:
Browser version:
City: Seattle
Client IP address: 0.0.0.0
Cloud role instance: ridoblack.redmond.corp.microsoft.com
Cloud role name:
CLR version: 4.8.3752.0
Country or region: United States
Device model: Surface Laptop 2
Device type: PC
Environment: CD
Event time: 5/7/2019, 4:26:22 PM
Exception type: System.FormatException
Failed method: MS.Internal.Parsers.ParseBrush
Network type: Wireless80211
Operating system: Windows 10.0.18362
Operation Id:
Operation name:
Parent Id:
Problem Id: System.FormatException at MS.Internal.Parsers.ParseBrush
Sample Rate: 100
SDK version: dotnet:2.10.0-24102
Session Id: c3654ce0-30d5-48d6-b387-dad2fe7a14c1
Source of synthetic traffic:
State or province: Washington
Telemetry type: exception
Thread culture: en-US
Time zone: Pacific Standard Time
UI culture: en-US
User Id: UBu9zak1rxpRhmKm/sgP8YT0vVprAWTywcaht7HyZm4=
WPF version: 4.8.3752.0

View similar exceptions in this time range<\a>

ngbv always assigning version 0.0.0

I have a clone of this in my project. I believe that it used to correctly carry through the major and minor numbers from my package. Now, it seems that ngbv always assign version 0.0.0.

Was there an underlying change in the ngbv tool or the build system that would cause this? I don't think I've changed any of the build scripts for a couple months.

Creating packages with custom .appinstaller file, the settings do not take effect

I've setup a Winforms project with .NET Framework 4.7.2 and using Visual Studio 16.1.2. I've also got a CI build setup the same as you did here. When I deploy locally through Visual Studio or when I generate package artifacts through the CI build, it does not use the custom .appinstaller template file that I added to the project which includes the 2018 schema, ShowPrompt="true", and UpdateBlocksActivation="true". It's generating a new .appinstaller file with the older schema without the custom settings. Is there some configuration to tell it to use the .appinstaller provided? Or is this another preview feature?

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.