-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Control library project references doesn't work in single-project apps #6028
Labels
bug
Something isn't working
Crash
whenever user reports a crash or app freeze
product-winui3
WinUI 3 issues
team-Markup
Issue for the Markup team
Comments
dotMorten
changed the title
Control libs references doesn't work in single-project apps
Control library project references doesn't work in single-project apps
Oct 1, 2021
@marb2000 as FYI |
StephenLPeters
added
area-NugetPackage
Issue with the nuget package developer experience (e.g. build error, missing files)
team-Markup
Issue for the Markup team
labels
Oct 20, 2021
@evelynwu-msft Thoughts? |
I think this is a known issue to be fixed, right, @codendone and @MikeHillberg? |
evelynwu-msft
added
bug
Something isn't working
Crash
whenever user reports a crash or app freeze
product-winui3
WinUI 3 issues
and removed
area-NugetPackage
Issue with the nuget package developer experience (e.g. build error, missing files)
labels
Oct 18, 2022
@dotMorten I updated your repro project to WinAppSDK 1.3 (since 1.0 Preview 1 is pretty old and there have been a lot of changes since then) and the app ran without issue. Feel free to reopen this if the crash is still occurring for you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
Crash
whenever user reports a crash or app freeze
product-winui3
WinUI 3 issues
team-Markup
Issue for the Markup team
Describe the bug
If you create a class library with WinUI controls and reference them with a project reference, the app runs fine with WAP project, but crashes at startup when using a single-project app.
Stack:
Steps to reproduce the bug
The same app in a WAP project does not crash but renders the custom control just fine. Also if you package the library into a nuget package and reference that, it does work fine. So it's an issue caused by a mix of project references and single-project builds.
Expected behavior
App runs same way as with WAP
Screenshots
Version Info
Win11
NuGet package version:
1.0.0-preview1
Additional context
This makes it impossible to use a unit test framework to run tests against control libraries.
The text was updated successfully, but these errors were encountered: