Comments (14)
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.
@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.
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.
^ 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.
@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.
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.
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.
Just pass -pack to build.cmd and you will get your package :)
from winforms.
(am writing the docs on this currently but they are not committed yet)
from winforms.
Also it fails from command-line with the exact same issue:
from winforms.
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.
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.
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.
Not a problem at all, happy to hear :)
from winforms.
Related Issues (20)
- Unstable unit test: System.Windows.Forms.UITests.ButtonTests.Button_Hotkey_Fires_OnClickAsync
- Unstable unit test: System.Windows.Forms.UITests.ButtonTests.Button_CancelButton_EscapeClicksCancelButtonAsync
- Unstable unit test: System.Windows.Forms.UITests.ButtonTests.Button_Press_Enter_Fires_OnClickAsync
- Unstable unit test: System.Windows.Forms.UITests.ListViewTests.ListView_Group_NavigateKeyboard_SucceedsAsync
- Unstable unit test: System.Windows.Forms.UITests.NumericUpDownTests.NumericUpDownAccessibleObject_Focused_ReturnsCorrectValueAsync
- WinForms fails to build with a nightly SDK HOT 2
- Massive GDI (region) leak. Help needed. HOT 9
- Unresponsiveness issue during Real-Time Updates in Winforms DataGridView HOT 4
- [ARM64]The Form1.cs[Design] page cannot load successfully after installed the latest .NET 9.0 Preview4 or Preview5 HOT 3
- GDI/BitBlt features for .NET Core? HOT 1
- Add GetData<T> Method to Clipboard HOT 2
- The selected control should have a solid border in the DemoConsole application HOT 1
- Single instance app doesn't work when same app is in different folders HOT 3
- Investigate BinaryFormatter Impact On DataSets HOT 1
- Restrict Certain OLE Data Coming in From Different Processes
- Investigate JSON Serialization/Deserialization in OLE
- Allow Binary Format Binder Specification
- Shrink/ losslessly compress `ICO` resource files to reduce size of apps published with SingleFile/AOT HOT 3
- Unstable unit test: System.Windows.Forms.Tests.ToolStripTests.ToolStrip_WndProc_InvokeMouseActivateWithHandle_Success
- Anchors of user control don't work when scaling on high DPI (#6381) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winforms.