Comments (7)
I believe all of the feedback has been addressed at this point. Let me know if I'm missing something and we can reopen.
from installer.
Everything's working well in the builds I've tested.
from installer.
cc/fyi @nguerrera
from installer.
Thanks for this feedback.
The SDK doesn't contain a glob for Page items, nor does it nest them using DependentUpon.
We would like page items to be globbed. There are some challenges around it, but that is the goal.
Building in visual studio sometimes takes a couple of tries. in particular the first clean rebuild seems to fail. This seems related to the generated xaml project.
I haven't seen this yet, it might be worth opening a separate issue with repro steps.
When importing the props and targets, netfx must not use Microsoft.NET.Sdk.Wpf, because it already has winfx.targets coming from Microsoft.NET.Sdk. However, corefx needs the WPF targets imported after the core sdk targets. this means we can't use Project Sdk= but must instead decompose the sdk into hand-written imports.
This should sort itself out once we have build working on core.
dotnet build cannot be used yet
Folks are working on it.
in particular, failures to load xaml will be reported at runtime as a ArgumentNullException failing to format an error.
This is fixed in recent WPF builds. I'll try to get it inserted.
The lack of a Properties.cs in .net core projects - for the most part a good thing - means that there's no obvious place to put the ThemeInfo attribute required for control xaml discovery.
This one seems minor. You can just create a ThemeInfo.cs or even Properties.cs without the other assembly info attributes in it.
from installer.
Good to hear that much of this stuff is already known. I'll create a repro for the rebuild-fails thing as well as for any issues i encounter when porting some existing libraries and applications to the alpha. On a couple of specific points:
You can just create a ThemeInfo.cs or even Properties.cs without the other assembly info attributes in it.
Yes, this is what I did in the linked repository. The new dotnet wpf
template doesn't do that, though, which means if people try to build custom control libraries without having fully understood the requirements they might be surprised that what worked on framework seemingly doesn't work on core.
This should sort itself out once we have build working on core.
It would be great if Microsoft.NET.Sdk.Wpf just worked when multitargeting - with the way it works now you could achieve this by making its targets conditionally import winfx depending on whether it's building for full framework. But, the whole scenario is slightly weird: sharing code between desktop-wpf and core-wpf will be necessary for businesses to transition, which means multitargeting, which means using the new project system... which hasn't been supported previously.
In short, to get adoption for WPF on .NET Core it will require some nontrivial build process changes for WPF on .NET Framework! This probably doesn't have to be a first class scenario, because library authors are more likely to know what they're doing than app authors, but it does have to be possible (as it currently is, though I get the feeling the tooling is going to change a lot).
from installer.
Agree that multi-targeting is important.
When library authors moved to netstandard, most of them switched to multi-targeting to avoid braking changes to existing consumers. If companies and control / lib authors now also want to enable consumption from .net core, multi-targeting is also going to be an important scenario.
from installer.
@gulbanana Have you tried multi-targeting with Preview 1 or more recent bits. It should work now to dotnet new wpf
and change TargetFramework to TargetFrameworks=net46;netcoreapp3.0.
from installer.
Related Issues (20)
- Upgrade the SDK after creating and running projects, the SDK was installed SxS not upgraded. HOT 4
- .NET 8.0 aarch64 not available on Fedora 39 nor Ubuntu 22.04 LTS HOT 4
- Wrong VS version on .NET 8.0.100 SDK installer HOT 1
- Add verbose option to build.sh (to apply to all parts of the dotnet-sdk src (ie fsharp,runtime,etc))
- Build Linux musl releases with -static-libgcc and -static-libstdc++ HOT 4
- Investigate reports of .NET SDKs not working after install on macOS HOT 1
- [NETSDKE2E] On Debian11 only, SDK dotnet-sdk-9.0.100-alpha.1.24070.3.deb installing failed with error: archive 'aspnetcore-runtime/aspnetcore-targeting-pack-9.0.0-alpha.1.24068.16-x64.deb' uses unknown compression for member 'control.tar.zst' ling faile HOT 9
- Installer unable to build v7.0.406/v6.0.419: missing NuGet packages HOT 1
- dotnet-install.sh fails with "The requested URL returned error: 404 Not Found" HOT 2
- Inclusion of freebsd RIDs causes restore error on vertical builds
- [NETSDKE2E]Some files are not identical in .exe installer and in .zip package for NET 9.0.100-preview.2.24123.5 SDK . HOT 1
- Install dotnet sdk-9.0.100-previews.3.244154.10-osx-x64 and update Microsoft AspNetCore Authentication JwtBearer to 9.0.100-preview.3.24154.12, Microsoft Extensions DependencyModel to 9.0.100-preview.3.24154.10, with the following error HOT 1
- Potential off-by-one in versions for runtime packs/app hosts/etc for .NET 7 vs .NET 6? HOT 3
- Why hasn't the Preview 4 compiled installation package been released yet? HOT 1
- Failed to install windowsdesktop-runtime-9.0.0-preview4 with error "0x80070001 - Incorrect function" HOT 5
- Small typo in Dotnet 8.300 SDK on German Windows showing 2 instead of "
- How to integrate dotnet/installer into SDK and download the latest unpublished preview version, such as SDK release 9.0.100-preview6.xxxx for macOS's pkg file?
- Can't install .NET6 runtime on Ubuntu 22.04 HOT 5
- Matching SHA/SHA512 file downloads for 'patch-agnostic ... runtime downloads' HOT 4
- [8.0] Installer CI failing to Publish Using Darc HOT 4
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 installer.