GithubHelp home page GithubHelp logo

Comments (14)

AdamYoblick avatar AdamYoblick commented on May 22, 2024

I think we want to add this to Microsoft.Private.Winforms.csproj, since that's the special project that does the package creation. :)

from winforms.

dotMorten avatar dotMorten commented on May 22, 2024

@AdamYoblick yeah that was my first thought too, but that didn't work. The private one doesn't need it, but won't pack unless the two other ones have it.

from winforms.

AdamYoblick avatar AdamYoblick commented on May 22, 2024

Interesting, that means that the way -pack is working in the arcade sdk is different from the way visual studio packs. Perhaps the arcade sdk is setting some defaults that VS doesn't? Will have to investigate.

from winforms.

zsd4yr avatar zsd4yr commented on May 22, 2024

^ we should probably surface that we are currently only supporting command line until someone can get the bandwidth to support VS as well?

from winforms.

dotMorten avatar dotMorten commented on May 22, 2024

@zsd4yr In the interest of people quickly being able to modify winforms and pack it up for testing, what about the little work around I suggested for now, where we just add a property to each project to make it work? I'd be happy to submit the PR

from winforms.

AdamYoblick avatar AdamYoblick commented on May 22, 2024

I think we need to talk about this as a team. I don't like the idea of adding a package property to each project to get this working, since there's a package csproj specifically for that.

I think a better solution would be, if we absolutely have to, to add the package properties to Directory.Build.Props.

Short term I think thats ok, but long term we need to see what why VS is packing differently than the command line.

from winforms.

dotMorten avatar dotMorten commented on May 22, 2024

I think the short term solution to put it in Directory.Build.Props is a good one. I was working on a blogpost how to tweak, build and use a local build, and being able to just rightclick-pack simplifies that story some.
Especially considering that build.cmd doesn't actually seem to be generating any nuget packages like the pack option does (unless I'm missing something?)

from winforms.

AdamYoblick avatar AdamYoblick commented on May 22, 2024

Just pass -pack to build.cmd and you will get your package :)

from winforms.

AdamYoblick avatar AdamYoblick commented on May 22, 2024

(am writing the docs on this currently but they are not committed yet)

from winforms.

dotMorten avatar dotMorten commented on May 22, 2024

Also it fails from command-line with the exact same issue:
image

from winforms.

AdamYoblick avatar AdamYoblick commented on May 22, 2024

That's odd, I'm not seeing that when I run .\build -test -pack -sign with latest from master, and our CI build runs -pack every time.

...
Successfully created package 'E:\src\repos\github\winforms\artifacts\packages\Debug\Shipping\Microsoft.Private.Winforms.1.0.0-dev.nupkg'.
SignToolTask starting.
DryRun: True
Signing mode: Real
MicroBuild signing logs will be in (Signing*.binlog): E:\src\repos\github\winforms\artifacts\log\Debug
MicroBuild signing configuration will be in (Round*.proj): E:\src\repos\github\winforms\artifacts\tmp\Debug
Signing Round 0: 15 files to sign.
Signing Round 1: 1 files to sign.
Build artifacts signed and validated.
SignToolTask execution finished.

Build succeeded.
0 Warning(s)
0 Error(s)

from winforms.

dotMorten avatar dotMorten commented on May 22, 2024

I tried it from a completely new clone. I'm also seeing it happening in the WPF repo. I'm on VS15.9.0 and very latest coresdk

from winforms.

dotMorten avatar dotMorten commented on May 22, 2024

Odd... Not reproducing it on a second PC also on 15.9.0. Even works from within VS. I'm going to chalk it up as something went bad on this PC. Sorry about that. Closing.

from winforms.

AdamYoblick avatar AdamYoblick commented on May 22, 2024

Not a problem at all, happy to hear :)

from winforms.

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.