Comments (3)
@ghost1372 If you multi-target your application and the first framework listed is net472, Visual Studio should allow you to use the designer. Be aware that the designer is not yet officially supported. This trick is just something that should allow you to work in the designer if you need. It may break at any time or not work properly for all scenarios and XAML content.
By multi-target, I mean add the following PropertyGroup to each csproj (or some common props file in the build):
<PropertyGroup>
<TargetFrameworks>net472;netcoreapp3.0</TargetFrameworks>
</PropertyGroup>
You will have to have some conditionals based on TargetFramework that pull in the correct references for the net472 side. For netcoreapp3.0, the project SDK set to "Microsoft.NET.Sdk.WindowsDesktop" and the UseWPF property set to true will bring in the required binaries.
Of course, you can also have a single source tree that belongs to both a desktop and a core project. Then, simply open the XAML on the desktop project side when you need to use the designer. However, this can get unwieldy if you have multiple projects contributing to a single application.
from installer.
from installer.
tnx worked fine @livarcocc @rladuca
from installer.
Related Issues (20)
- Nuget.config with multiple sources causes installation failures
- 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
- The Runtime version of “ASP.NET Core Runtime” and “.NET Windows Desktop Runtime” in .NET 9.0 Preview 5 SDK are 9.0.0-preview.6.xxx.
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.